[Bug 194786] New: mail/postfix-current 2.12-20141020 compiled with -DNO_EAI under poudriere
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Nov 3 15:22:07 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194786
Bug ID: 194786
Summary: mail/postfix-current 2.12-20141020 compiled with
-DNO_EAI under poudriere
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: sahil at FreeBSD.org
Reporter: Mark.Martinec at ijs.si
Assignee: sahil at FreeBSD.org
Flags: maintainer-feedback?(sahil at FreeBSD.org)
The current version of mail/postfix-current 2.12-20141020 is supposed
to provide support for internationalized addresses (EAI) and SMTPUTF8
by default, yet in a package produced under poudriere the EAI feature
is disabled, postfix complains:
warning: smtputf8_enable is true, but EAI support is not compiled in
Looking at a build log it can be seen that EAI is explicitly disabled.
Here is just one of several 'cc' commands from the log, showing
the -DNO_EAI :
cc -I. -I../../include -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\"
-DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\"
-DDEF_META_DIR=\"/usr/local/libexec/postfix\"
-DDEF_COMMAND_DIR=\"/usr/local/sbin\"
-DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\"
-DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\"
-DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\"
-DDEF_README_DIR=\"/usr/local/share/doc/postfix\"
-DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\"
-DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\"
-DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -Wmissing-prototypes
-Wformat -Wno-comment -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH
-DUSE_CYRUS_SASL -I/usr/local/include -I/usr/local/include/sasl -DUSE_TLS
-I/usr/include -I/usr/local/include/db5 -DHAS_CDB -I/usr/local/include
-DHAS_LMDB -I/usr/local/include -DNO_EAI -DSNAPSHOT -UUSE_DYNAMIC_LIBS
-DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS -O2 -pipe -fno-omit-frame-pointer
-fstack-protector -fno-strict-a--- argv.o ---
The Postfix documentation ( http://www.postfix.org/INSTALL.html ) says:
4.6 - Overriding other compile-time features
-DNO_EAI Do not build with EAI (SMTPUTF8) support. By default,
EAI support is compiled in when the "icuuc" library and header
files are found.
So my guess is that the "icuuc" library is not seen in a poudrirere
build environment.
Compiling (by portmaster) directly in a ports tree avoids the problem,
the resulting program is built with the EAI support.
Below is a beginning of my poudriere build log:
====>> Building mail/postfix-current
build started at Mon Nov 3 14:34:21 CET 2014
port directory: /usr/ports/mail/postfix-current
building for: FreeBSD 10amd64-srv-default-job-01 10.0-RELEASE FreeBSD
10.0-RELEASE amd64
maintained by: sahil at FreeBSD.org
Makefile ident: $FreeBSD: head/mail/postfix-current/Makefile 372089
2014-11-02 21:09:26Z ohauer $
Poudriere version: 3.0.19
Host OSVERSION: 1001500
Jail OSVERSION: 1000510
---Begin Environment---
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE
UNAME_r=10.0-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/big/poudriere/data/build/10amd64-srv-default/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=postfix-current-2.12.20141020,4
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/usr/local/jenkins/workspace/FreeBSD-10-amd64-server
MASTERNAME=10amd64-srv-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.0.19
SKIPSANITY=0
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---
---Begin OPTIONS List---
===> The following configuration options are available for
postfix-current-2.12.20141020,4:
BDB=on: Berkeley DB (uses WITH_BDB_VER)
CDB=on: CDB maps lookups
DOCS=on: Build and/or install documentation
INST_BASE=off: Install into /usr and /etc/postfix
LDAP_SASL=off: OpenLDAP client-to-server SASL auth
LMDB=on: LMDB maps
MYSQL=off: MySQL maps (uses WITH_MYSQL_VER)
NIS=off: NIS maps lookups
OPENLDAP=off: OpenLDAP maps (uses WITH_OPENLDAP_VER)
PCRE=on: Perl Compatible Regular Expressions
PGSQL=off: PostgreSQL maps (uses DEFAULT_PGSQL_VER)
SASL2=on: Cyrus SASLv2 (Simple Auth. and Sec. Layer)
SPF=off: SPF support (via libspf2 1.2.x)
SQLITE=off: SQLite maps
TEST=on: SMTP/LMTP test server and generator
TLS=on: SSL and TLS support
VDA=off: VDA (Virtual Delivery Agent 32Bit)
====> Dovecot SASL authentication methods: you can only select none or one of
them
DOVECOT=off: Dovecot 1.x SASL authentication method
DOVECOT2=off: Dovecot 2.x SASL authentication method
====> Kerberos network authentication protocol type: you can only select none
or one of them
SASLKRB5=off: If your SASL req. Kerberos5, select this
SASLKMIT=off: If your SASL req. MIT Kerberos5, select this
===> Use 'make config' to modify these settings
---End OPTIONS List---
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer sahil at FreeBSD.org
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list