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

Bug 684190

Summary: Postfix + Kernel 5.x : Unknown system type
Product: Gentoo Linux Reporter: Gaetan <gaetan>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gaetan 2019-04-23 14:56:56 UTC
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
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-04-23 15:02:16 UTC

*** This bug has been marked as a duplicate of bug 678326 ***
Comment 2 Gaetan 2019-04-23 15:03:45 UTC
It's not fixed, as current stable 3.3.1-r1 is not "patched".
Comment 3 Brian Evans (RETIRED) gentoo-dev 2019-04-23 15:13:47 UTC
(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
Comment 4 Gaetan 2019-04-23 15:15:07 UTC
True thing. Thanks for clarification.