Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 550630

Summary: mail-mta/postfix-3.0.0: fails to build on kernels >=4.0
Product: Gentoo Linux Reporter: Spooky Ghost <spookyghost>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugzie, kilburna
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Spooky Ghost 2015-05-28 09:53:03 UTC
postfix seems sensitive to the kernel version

Reproducible: Always

Steps to Reproduce:
1. Boot a kernel version >=4.0
2. emerge mail-mta/postfix
Actual Results:  
>>> Emerging (1 of 2) mail-mta/postfix-3.0.0::gentoo
 * postfix-3.0.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking postfix-3.0.0.tar.gz to /var/tmp/portage/mail-mta/postfix-3.0.0/work
>>> Source unpacked in /var/tmp/portage/mail-mta/postfix-3.0.0/work
>>> Preparing source in /var/tmp/portage/mail-mta/postfix-3.0.0/work/postfix-3.0.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/mail-mta/postfix-3.0.0/work/postfix-3.0.0 ...
 * Building with dev-db/cdb
make -j4 makefiles shared=yes dynamicmaps=no shlib_directory=/usr/lib64/postfix/MAIL_VERSION DEBUG= CC=x86_64-pc-linux-gnu-gcc 'OPT=-march=amdfam10 -O3 -pipe -Wno-comment' 'CCARGS=-DHAS_PCRE -DHAS_LDAP -DHAS_MYSQL -I/usr/include/mysql -I/usr/include/mysql/.. -DHAS_PGSQL -I/usr/include/postgresql-9.4 -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DNO_NIS -DHAS_CDB -I/usr/include/cdb -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE' 'AUXLIBS=-Wl,-O1 -Wl,--as-needed -ldl -lpam -lssl -lcrypto -lsasl2' 'AUXLIBS_CDB= /usr/lib64/cdb.a /usr/lib64/alloc.a /usr/lib64/buffer.a /usr/lib64/unix.a /usr/lib64/byte.a' 'AUXLIBS_LDAP=-lldap -llber' AUXLIBS_LMDB= 'AUXLIBS_MYSQL=-L/usr/lib64 -lmysqlclient -lpthread -lz -lm -lssl -lcrypto -ldl' 'AUXLIBS_PCRE=-L/usr/lib64 -lpcre' 'AUXLIBS_PGSQL=-L/usr/lib64/postgresql-9.4/lib64 -lpq' AUXLIBS_SQLITE=
make -f Makefile.in MAKELEVEL= Makefiles
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
ATTENTION:
ATTENTION: Unknown system type: Linux 4.0.2
ATTENTION:
Makefile.in:31: recipe for target 'Makefiles' failed
make: *** [Makefiles] Error 1
Makefile:21: recipe for target 'makefiles' failed
make: *** [makefiles] Error 2
 * ERROR: mail-mta/postfix-3.0.0::gentoo failed (configure phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=mail-mta/postfix-3.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=mail-mta/postfix-3.0.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/mail-mta:postfix-3.0.0:20150528-092605.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/mail-mta/postfix-3.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-mta/postfix-3.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-mta/postfix-3.0.0/work/postfix-3.0.0'
 * S: '/var/tmp/portage/mail-mta/postfix-3.0.0/work/postfix-3.0.0'

>>> Failed to emerge mail-mta/postfix-3.0.0, Log file:

>>>  '/var/log/portage/mail-mta:postfix-3.0.0:20150528-092605.log'


Expected Results:  
postfix merges
Comment 1 Agostino Sarubbo gentoo-dev 2015-05-28 10:21:43 UTC

*** This bug has been marked as a duplicate of bug 544610 ***
Comment 2 Kilburn Abrahams 2015-05-28 22:57:14 UTC
Still cannot compile postfix 3.0.0 with kernel 4.0.4

 * postfix-3.0.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                 [ ok ]
>>> Unpacking source...
>>> Unpacking postfix-3.0.0.tar.gz to /var/tmp/portage/mail-mta/postfix-3.0.0/work
>>> Source unpacked in /var/tmp/portage/mail-mta/postfix-3.0.0/work
>>> Preparing source in /var/tmp/portage/mail-mta/postfix-3.0.0/work/postfix-3.0.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/mail-mta/postfix-3.0.0/work/postfix-3.0.0 ...
make -j3 makefiles shared=yes dynamicmaps=no shlib_directory=/usr/lib64/postfix/MAIL_VERSION DEBUG= CC=x86_64-pc-linux-gnu-gcc 'OPT=-march=native -O2 -pipe -Wno-comment' 'CCARGS=-DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -I/usr/include/mysql/.. -DHAS_PGSQL -I/usr/include/postgresql-9.4 -DUSE_TLS -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DNO_NIS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE' 'AUXLIBS=-Wl,-O1 -Wl,--as-needed -ldl -lpam -lssl -lcrypto' AUXLIBS_CDB= AUXLIBS_LDAP= AUXLIBS_LMDB= 'AUXLIBS_MYSQL=-L/usr/lib64 -lmysqlclient -lpthread -lz -lm -lssl -lcrypto -ldl' 'AUXLIBS_PCRE=-L/usr/lib64 -lpcre' 'AUXLIBS_PGSQL=-L/usr/lib64/postgresql-9.4/lib64 -lpq' AUXLIBS_SQLITE=
make -f Makefile.in MAKELEVEL= Makefiles
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
ATTENTION:
ATTENTION: Unknown system type: Linux 4.0.4-gentoo
ATTENTION:
Makefile.in:31: recipe for target 'Makefiles' failed
make: *** [Makefiles] Error 1
Makefile:21: recipe for target 'makefiles' failed
make: *** [makefiles] Error 2
 * ERROR: mail-mta/postfix-3.0.0::gentoo failed (configure phase):
 *   emake failed