I have postfix-3.3.1-r1 installed. It was installed under a previous kernel version. That initial build was successful. A recent icu upgrade is causing a rebuild of postfix. Now postfix fails to build. The kernel was upgraded during the intervening time. It appears as if some check during the configure phase is breaking on the new kernel version string. The postfix build error (full log attached as well): [code]ATTENTION: Unknown system type: Linux 5.0.5-gentoo[/code] Current package versions: [code]root@sphinkpad:~ # for pkg in icu postfix gentoo-sources; do equery list $pkg; done * Searching for icu ... [IP-] [ ] dev-libs/icu-64.1:0/64.1 * Searching for postfix ... [IP-] [ ] mail-mta/postfix-3.3.1-r1:0 * Searching for gentoo-sources ... [IP-] [ ] sys-kernel/gentoo-sources-5.0.5:5.0.5[/code]
Attachment uploading is broken (at least for me), so I will post build.log here. It's quite short. * Package: mail-mta/postfix-3.3.1-r1 * Repository: gentoo * Maintainer: eras@gentoo.org williamh@gentoo.org * USE: abi_x86_64 amd64 berkdb eai elibc_glibc kernel_linux ldap pam postgres ssl userland_GNU * FEATURES: distcc userpriv usersandbox >>> Unpacking source... >>> Unpacking postfix-3.3.1.tar.gz to /var/tmp/portage/mail-mta/postfix-3.3.1-r1/work >>> Source unpacked in /var/tmp/portage/mail-mta/postfix-3.3.1-r1/work >>> Preparing source in /var/tmp/portage/mail-mta/postfix-3.3.1-r1/work/postfix-3.3.1 ... * Applying postfix-libressl.patch ... [ ok ] * Applying postfix-libressl-runtime.patch ... [ ok ] * Applying postfix-libressl-eccurve.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/mail-mta/postfix-3.3.1-r1/work/postfix-3.3.1 ... make -j12 -l8 makefiles shared=yes dynamicmaps=no pie=yes shlib_directory=/usr/lib64/postfix/MAIL_VERSION DEBUG= CC=x86_64-pc-linux-gnu-gcc 'OPT=-march=broadwell -mtune=broadwell -mmmx -msse -msse2 -msse3 -mssse3 -mavx -mavx2 -msse4.2 -msse4.1 -O2 -pipe -Wno-comment' 'CCARGS=-DHAS_PCRE -DHAS_LDAP -DHAS_PGSQL -I/usr/include/postgresql-11 -DUSE_TLS -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=-lldap -llber' AUXLIBS_LMDB= AUXLIBS_MYSQL= 'AUXLIBS_PCRE=-L/usr/lib64 -lpcre' 'AUXLIBS_PGSQL=-L/usr/lib64/postgresql-11/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 5.0.5-gentoo ATTENTION: make: *** [Makefile.in:31: Makefiles] Error 1 make: *** [Makefile:22: makefiles] Error 2 * ERROR: mail-mta/postfix-3.3.1-r1::gentoo failed (configure phase): * emake failed * * If you need support, post the output of `emerge --info '=mail-mta/postfix-3.3.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-mta/postfix-3.3.1-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/mail-mta/postfix-3.3.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-mta/postfix-3.3.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/mail-mta/postfix-3.3.1-r1/work/postfix-3.3.1' * S: '/var/tmp/portage/mail-mta/postfix-3.3.1-r1/work/postfix-3.3.1'
Downgrading icu to stable dev-libs/icu-63.1-r1 fixed the problem.
LINUX5 support was added with mail-mta/postfix-3.3.3. You are mixing stable (mail-mta/postfix) and unstable (sys-kernel/gentoo-sources) branches. You will have to choose one or the other for both packages. Closing.