Emerging postfix on a 5.x kernel results in the following error : >>> Configuring source in /var/tmp/portage/mail-mta/postfix-3.3.1-r1/work/postfix-3.3.1 ... make -j5 makefiles shared=yes dynamicmaps=no pie=yes shlib_directory=/usr/lib64/postfix/MAIL_VERSION DEBUG= CC=x86_64-pc-linux-gnu-gcc 'OPT=-march=nocona -O2 -pipe -Wno-comment' 'CCARGS=-DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DNO_NIS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE' 'AUXLIBS=-Wl,-O1 -Wl,--as-needed -ldl -lpam -lssl -lcrypto -lsasl2' AUXLIBS_CDB= AUXLIBS_LDAP= AUXLIBS_LMDB= 'AUXLIBS_MYSQL=-L/usr/lib64 -lmysqlclient -lpthread -lz -lm -lrt -latomic -lssl -lcrypto -ldl ' 'AUXLIBS_PCRE=-L/usr/lib64 -lpcre' AUXLIBS_PGSQL= 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.3-gentoo ATTENTION: make: *** [Makefile.in:31: Makefiles] Error 1 make: *** [Makefile:22: makefiles] Error 2 Steps to reproduce : - Install brand new Gentoo on Kernel 5.0.x - Emerge postfix Thanks
*** This bug has been marked as a duplicate of bug 678326 ***
It's not fixed, as current stable 3.3.1-r1 is not "patched".
(In reply to Gaetan from comment #2) > It's not fixed, as current stable 3.3.1-r1 is not "patched". kernel 5.x is not stable so when you mix stable and unstable, you can get this result. Use kernel 4.19.x if you wish to remain stable for Postfix 3.3.1-r1
True thing. Thanks for clarification.