Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2018 06:55:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233527] mail/postfix: Fails to build with libressl 2.8.2
Message-ID:  <bug-233527-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233527

            Bug ID: 233527
           Summary: mail/postfix: Fails to build with libressl 2.8.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ohauer@FreeBSD.org
          Reporter: blackmore@pichove.org
          Assignee: ohauer@FreeBSD.org
             Flags: maintainer-feedback?(ohauer@FreeBSD.org)

This is most likely the same problem that was fixed for mail/postfix-curren=
t in=20
#233517.

The build fails with:

1 warning generated.
--- smtpd_haproxy.o ---
In file included from smtpd_haproxy.c:83:
In file included from ./smtpd.h:33:
../../include/tls.h:95:9: warning: 'OPENSSL_VERSION' macro redefined
[-Wmacro-redefined]
#define OPENSSL_VERSION SSLEAY_VERSION
        ^
/usr/local/include/openssl/crypto.h:336:9: note: previous definition is here
#define OPENSSL_VERSION         0
        ^
1 warning generated.
--- smtpd ---
cc -fPIC -I. -I../../include -DDEF_CONFIG_DIR=3D\"/usr/local/etc/postfix\"
-DDEF_DAEMON_DIR=3D\"/usr/local/libexec/postfix\"
-DDEF_META_DIR=3D\"/usr/local/libexec/postfix\"
-DDEF_COMMAND_DIR=3D\"/usr/local/sbin\"
-DDEF_SENDMAIL_PATH=3D\"/usr/local/sbin/sendmail\"
-DDEF_NEWALIAS_PATH=3D\"/usr/local/bin/newaliases\"
-DDEF_MAILQ_PATH=3D\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=3D\"/usr/loca=
l/man\"
-DDEF_README_DIR=3D\"no\" -DDEF_HTML_DIR=3D\"no\"
-DDEF_QUEUE_DIR=3D\"/var/spool/postfix\" -DDEF_DATA_DIR=3D\"/var/db/postfix=
\"
-DDEF_MAIL_OWNER=3D\"postfix\" -DDEF_SGID_GROUP=3D\"maildrop\" -Wmissing-pr=
ototypes
-Wformat -Wno-comment -DUSE_SASL_AUTH -DHAS_EAI -I/usr/local/include -DHAS_=
PCRE
-I/usr/local/include -DDEF_SERVER_SASL_TYPE=3D\"dovecot\" -DUSE_TLS
-I/usr/local/include -DHAS_CDB -I/usr/local/include -DU_DISABLE_RENAMING=3D1
-I/usr/local/include -DHAS_DEV_URANDOM
-DDEF_SHLIB_DIR=3D\"/usr/local/lib/postfix\" -DUSE_DYNAMIC_LIBS
-DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment  -O2 -pipe
-fno-strict-aliasing -fstack-protector -I. -I../../include -DFREEBSD11
-Wl,-rpath,/usr/local/lib/postfix -o smtpd smtpd.o smtpd_token.o smtpd_chec=
k.o
smtpd_chat.o smtpd_state.o  smtpd_peer.o smtpd_sasl_proto.o smtpd_sasl_glue=
.o
smtpd_proxy.o  smtpd_xforward.o smtpd_dsn_fix.o smtpd_milter.o smtpd_resolv=
e.o=20
smtpd_expand.o smtpd_haproxy.o ../../lib/libpostfix-master.so=20
../../lib/libpostfix-tls.so  ../../lib/libxsasl.a  ../../lib/libmilter.a=20
../../lib/libpostfix-dns.so  ../../lib/libpostfix-global.so=20
../../lib/libpostfix-util.so -pie -L/usr/local/lib -licuuc -L/usr/local/lib
-Wl,-rpath,/usr/local/lib -fstack-protector -lssl -lcrypto -L/usr/local/lib
-licui18n -licuuc -licudata
../../lib/libpostfix-tls.so: undefined reference to `SSL_CTX_set_num_ticket=
s'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [smtpd] Error code 1

make[4]: stopped in /usr/ports/mail/postfix/work/postfix-3.3.2/src/smtpd
1 error

make[4]: stopped in /usr/ports/mail/postfix/work/postfix-3.3.2/src/smtpd
*** [update] Error code 1

make[3]: stopped in /usr/ports/mail/postfix/work/postfix-3.3.2
1 error

make[3]: stopped in /usr/ports/mail/postfix/work/postfix-3.3.2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233527-7788>