Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550564 - mail-mta/postfix-3.0.0 fails to build: Unknown system type: Linux 4.0.4
Summary: mail-mta/postfix-3.0.0 fails to build: Unknown system type: Linux 4.0.4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-27 14:38 UTC by Guido Winkelmann
Modified: 2015-05-28 08:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Winkelmann 2015-05-27 14:38:05 UTC
mail-mta/postfix-3.0.0 fails to build with the folloowing messages:

====
# emerge -v '=mail-mta/postfix-3.0.0'

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] mail-mta/postfix-3.0.0::gentoo  USE="berkdb eai ldap pam postgres sasl sqlite ssl -cdb -doc -dovecot-sasl -hardened -ldap-bind -lmdb -mbox -memcached -mysql -nis (-selinux) -vda" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) 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 /portage/work/portage/mail-mta/postfix-3.0.0/work
>>> Source unpacked in /portage/work/portage/mail-mta/postfix-3.0.0/work
>>> Preparing source in /portage/work/portage/mail-mta/postfix-3.0.0/work/postfix-3.0.0 ...
>>> Source prepared.
>>> Configuring source in /portage/work/portage/mail-mta/postfix-3.0.0/work/postfix-3.0.0 ...
make -j14 makefiles shared=yes dynamicmaps=no shlib_directory=/usr/lib64/postfix/MAIL_VERSION DEBUG= CC=x86_64-pc-linux-gnu-gcc 'OPT=-march=core-avx-i -O2 -pipe -Wno-comment' 'CCARGS=-DHAS_PCRE -DHAS_LDAP -DHAS_PGSQL -I/usr/include/postgresql-9.4 -DHAS_SQLITE -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=-lldap -llber' AUXLIBS_LMDB= AUXLIBS_MYSQL= 'AUXLIBS_PCRE=-L/usr/lib64 -lpcre' 'AUXLIBS_PGSQL=-L/usr/lib64/postgresql-9.4/lib64 -lpq' 'AUXLIBS_SQLITE=-lsqlite3 -lpthread' 
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
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 '/portage/work/portage/mail-mta/postfix-3.0.0/temp/build.log'.
 * The ebuild environment file is located at '/portage/work/portage/mail-mta/postfix-3.0.0/temp/environment'.
 * Working directory: '/portage/work/portage/mail-mta/postfix-3.0.0/work/postfix-3.0.0'
 * S: '/portage/work/portage/mail-mta/postfix-3.0.0/work/postfix-3.0.0'
====

emerge --info:
====
# emerge --info '=mail-mta/postfix-3.0.0::gentoo'
Portage 2.2.18 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 4.0.4 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.4-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.2
KiB Mem:    65918472 total,  57598536 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of repository gentoo: Wed, 27 May 2015 11:30:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

jauhien
    location: /var/lib/layman/jauhien
    masters: gentoo
    priority: 0

stuff
    location: /var/lib/layman/stuff
    masters: gentoo
    priority: 1

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 2

local
    location: /usr/local/portage
    masters: gentoo
    priority: 3

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx-i -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j14"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/portage/work"
USE="X a52 aac acl acpi adddns addns ads alsa amd64 avxdevice-mapper bash-completion berkdb bindist bluetooth bluray branding bzip2 cairo cdda cdr clang cleartyp cleartype cli cluster consolekit corefonts cracklib crypt cups curl cxx cycles dbus declarative device-mapper dpx dri dts dvd dvdr emboss encode exif faad fam ffmpeg firefox flac fontconfig fortran gbm gdbm gif git glamor gpg gpm gstreamer gtk iconv icu idn imap ipv6 jpeg jpeg2k json kde kipi lcms ldap libass libffi libkms libnotify lm_sensors lzma mad matroska mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib ncurses nls nptl nsplugin ogg okteta openexr opengl openmp opus pam pango pcre pdf phonon plasma png policykit pop postgres postscript ppds python qt3support qt4 rar rdesktop readline samba sasl sdl semantic-desktop session smtp speex spell spice sqlite sse sse2 sse3 sse4 sse4_2 ssh ssl ssse3 startup-notification subversion svg system-sqlite tcpd theora tiff tk toolame tremor truetype twolame type1 udev udisks unicode upower usb usbredir vnc vorbis vpxsubversion webkit winbind wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="author braindump flow karbon kexi krita sheets stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="dummy fbdev intel radeon nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

mail-mta/postfix-3.0.0::gentoo was built with the following:
USE="berkdb eai ldap pam postgres sasl sqlite ssl -cdb -doc -dovecot-sasl -hardened -ldap-bind -lmdb -mbox -memcached -mysql -nis (-selinux) -vda" ABI_X86="64"
CFLAGS="-march=core-avx-i -O2 -pipe -Wno-comment"
CXXFLAGS="-march=core-avx-i -O2 -pipe -Wno-comment"
====

emerge -pqv:
====
# emerge -pqv '=mail-mta/postfix-3.0.0::gentoo'
[ebuild   R   ] mail-mta/postfix-3.0.0  USE="berkdb eai ldap pam postgres sasl sqlite ssl -cdb -doc -dovecot-sasl -hardened -ldap-bind -lmdb -mbox -memcached -mysql -nis (-selinux) -vda"
====

I am running a vanilla 4.0.4 kernel from kernel.org.
Comment 1 Tomáš Mózes 2015-05-27 21:02:53 UTC
Try 3.0.1-r1, see #544610.
Comment 2 Eray Aslan gentoo-dev 2015-05-28 08:50:29 UTC
What Tomas Mozes said.  Try >=mail-mta/postfix-3.0.1-r1