pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49563: ABI used by dovecot2 and its plugins must match



>Number:         49563
>Category:       pkg
>Synopsis:       ABI used by dovecot2 and its plugins must match
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 13 13:00:00 +0000 2015
>Originator:     Petar Bogdanovic
>Release:        NetBSD 6.0.6_PATCH
>Organization:
-
>Environment:
pkgsrc-2014Q4
>Description:
	Using older plugins with newer dovecot2-builds will yield this:

	   doveconf: Error: Module is for different ABI version 2.2.ABIv13(2.2.13) (we have 2.2.ABIv15(2.2.15)):
	      /usr/pkg/lib/dovecot/settings/libmanagesieve_login_settings.so
	   doveconf: Error: Module is for different ABI version 2.2.ABIv13(2.2.13) (we have 2.2.ABIv15(2.2.15)):
	      /usr/pkg/lib/dovecot/settings/libmanagesieve_settings.so
>How-To-Repeat:
	-
>Fix:
	Something like this:

diff -u -r1.7 buildlink3.mk
--- buildlink3.mk       12 Feb 2014 23:18:07 -0000      1.7
+++ buildlink3.mk       13 Jan 2015 12:49:36 -0000
@@ -5,8 +5,10 @@
 .if !defined(DOVECOT_BUILDLINK3_MK)
 DOVECOT_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.dovecot+=                dovecot>=2.2.0
-BUILDLINK_ABI_DEPENDS.dovecot+=                dovecot>=2.2.10nb1
+# The ABI used by dovecot2 and its plugins must match.  Therefore, keep
+# BUILDLINK_ABI_DEPENDS (=BUILDLINK_API_DEPENDS) in sync with DISTNAME.
+#
+BUILDLINK_API_DEPENDS.dovecot+=                dovecot>=2.2.15
 BUILDLINK_PKGSRCDIR.dovecot?=          ../../mail/dovecot2
 
 pkgbase:=      dovecot



Home | Main Index | Thread Index | Old Index