[MacPorts] #54822: updates for dovecot2 and dovecot2-sieve

MacPorts noreply at macports.org
Tue Sep 12 22:50:02 UTC 2017


#54822: updates for dovecot2 and dovecot2-sieve
-------------------------------------+-------------------------------------
 Reporter:  grumpybozo               |      Owner:
     Type:  update                   |     Status:  new
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:
 Keywords:  dovecot sieve            |       Port:  dovecot2,
  pigeonhole update                  |  dovecot2-sieve
-------------------------------------+-------------------------------------
 Dovecot latest version is 2.2.32 and Pigeonhole (a.k.a. dovecot2-sieve) is
 0.4.20.
 I will attach a basic Portfile diff, BUT NOTE: 2.2.32 will not build due
 to a link error:


 {{{
 /bin/sh ../../libtool  --tag=CC   --mode=link /usr/bin/gcc-4.2
 -I../../src/lib -I../../src/lib-test -I../../src/lib-ssl-iostream
 -DDCRYPT_MODULE_DIR=\"/opt/local/lib/dovecot\"  -std=gnu99 -pipe -Os -arch
 i386 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
 -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime
 -Wstrict-aliasing=2   -module -avoid-version ../lib-ssl-
 iostream/libssl_iostream_openssl.la  -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch i386 -o libdcrypt_openssl.la -rpath
 /opt/local/lib/dovecot libdcrypt_openssl_la-dcrypt-openssl.lo
 -L/opt/local/lib -lssl -lcrypto

 *** Warning: Linking the shared library libdcrypt_openssl.la against the
 loadable module
 *** libssl_iostream_openssl.so is not portable!
 *** Warning: lib libssl_iostream_openssl.so is a module, not a shared
 library

 *** And there doesn't seem to be a static archive available
 *** The link will probably fail, sorry
 libtool: link: /usr/bin/gcc-4.2 -Wl,-undefined -Wl,dynamic_lookup -o
 .libs/libdcrypt_openssl.so -bundle  .libs/libdcrypt_openssl_la-dcrypt-
 openssl.o   ../lib-ssl-iostream/.libs/libssl_iostream_openssl.so
 -L/opt/local/lib -lssl -lcrypto  -Os -arch i386
 -Wl,-headerpad_max_install_names -arch i386
 ld: in ../lib-ssl-iostream/.libs/libssl_iostream_openssl.so, can't link
 with bundle (MH_BUNDLE) only dylibs (MH_DYLIB)
 collect2: ld returned 1 exit status
 make[3]: *** [libdcrypt_openssl.la] Error 1
 }}}

 So  this will require more than just a Portfile update.

--
Ticket URL: <https://trac.macports.org/ticket/54822>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list