* Package: mail-mta/postfix-3.6.1 * Repository: gentoo * Maintainer: eras@gentoo.org williamh@gentoo.org * USE: abi_x86_64 amd64 berkdb eai elibc_glibc kernel_linux pam ssl userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking postfix-3.6.1.tar.gz to /var/tmp/portage/mail-mta/postfix-3.6.1/work >>> Source unpacked in /var/tmp/portage/mail-mta/postfix-3.6.1/work >>> Preparing source in /var/tmp/portage/mail-mta/postfix-3.6.1/work/postfix-3.6.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/mail-mta/postfix-3.6.1/work/postfix-3.6.1 ... make -j16 makefiles shared=yes dynamicmaps=no pie=yes shlib_directory=/usr/lib64/postfix/MAIL_VERSION DEBUG= CC=x86_64-pc-linux-gnu-gcc 'OPT=-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches' 'CCARGS=-DHAS_PCRE -DUSE_TLS -DNO_NIS' 'AUXLIBS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lpam -lssl -lcrypto' AUXLIBS_CDB= AUXLIBS_LDAP= AUXLIBS_LMDB= AUXLIBS_MYSQL= '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 set +e; if cmp makedefs.tmp conf/makedefs.out; then rm makedefs.tmp; \ else mv makedefs.tmp conf/makedefs.out; fi >/dev/null 2>/dev/null set -e; for i in src/util src/global src/dns src/tls src/xsasl src/master src/milter src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr src/postmulti src/postscreen src/dnsblog src/tlsproxy src/posttls-finger src/postlogd; do \ (set -e; echo "[$i]"; cd $i; rm -f Makefile; \ make -f Makefile.in Makefile MAKELEVEL=) || exit 1; \ done [src/util] cat ../../conf/makedefs.out Makefile.in >Makefile [src/global] cat ../../conf/makedefs.out Makefile.in >Makefile [src/dns] cat ../../conf/makedefs.out Makefile.in >Makefile [src/tls] cat ../../conf/makedefs.out Makefile.in >Makefile [src/xsasl] cat ../../conf/makedefs.out Makefile.in >Makefile [src/master] cat ../../conf/makedefs.out Makefile.in >Makefile [src/milter] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postfix] cat ../../conf/makedefs.out Makefile.in >Makefile [src/fsstone] cat ../../conf/makedefs.out Makefile.in >Makefile [src/smtpstone] cat ../../conf/makedefs.out Makefile.in >Makefile [src/sendmail] cat ../../conf/makedefs.out Makefile.in >Makefile [src/error] cat ../../conf/makedefs.out Makefile.in >Makefile [src/pickup] cat ../../conf/makedefs.out Makefile.in >Makefile [src/cleanup] cat ../../conf/makedefs.out Makefile.in >Makefile [src/smtpd] cat ../../conf/makedefs.out Makefile.in >Makefile [src/local] cat ../../conf/makedefs.out Makefile.in >Makefile [src/trivial-rewrite] cat ../../conf/makedefs.out Makefile.in >Makefile [src/qmgr] cat ../../conf/makedefs.out Makefile.in >Makefile [src/oqmgr] cat ../../conf/makedefs.out Makefile.in >Makefile [src/smtp] cat ../../conf/makedefs.out Makefile.in >Makefile [src/bounce] cat ../../conf/makedefs.out Makefile.in >Makefile [src/pipe] cat ../../conf/makedefs.out Makefile.in >Makefile [src/showq] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postalias] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postcat] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postconf] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postdrop] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postkick] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postlock] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postlog] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postmap] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postqueue] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postsuper] cat ../../conf/makedefs.out Makefile.in >Makefile [src/qmqpd] cat ../../conf/makedefs.out Makefile.in >Makefile [src/spawn] cat ../../conf/makedefs.out Makefile.in >Makefile [src/flush] cat ../../conf/makedefs.out Makefile.in >Makefile [src/verify] cat ../../conf/makedefs.out Makefile.in >Makefile [src/virtual] cat ../../conf/makedefs.out Makefile.in >Makefile [src/proxymap] cat ../../conf/makedefs.out Makefile.in >Makefile [src/anvil] cat ../../conf/makedefs.out Makefile.in >Makefile [src/scache] cat ../../conf/makedefs.out Makefile.in >Makefile [src/discard] cat ../../conf/makedefs.out Makefile.in >Makefile [src/tlsmgr] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postmulti] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postscreen] cat ../../conf/makedefs.out Makefile.in >Makefile [src/dnsblog] cat ../../conf/makedefs.out Makefile.in >Makefile [src/tlsproxy] cat ../../conf/makedefs.out Makefile.in >Makefile [src/posttls-finger] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postlogd] cat ../../conf/makedefs.out Makefile.in >Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/mail-mta/postfix-3.6.1/work/postfix-3.6.1 ... make -j16 rm -f meta/main.cf.proto && ln -f conf/main.cf meta/main.cf.proto rm -f meta/master.cf.proto && ln -f conf/master.cf meta/master.cf.proto rm -f meta/postfix-files grep -v SHLIB_ENV conf/makedefs.out > meta/makedefs.out rm -f libexec/post-install && ln -f conf/post-install libexec/post-install (if [ "/usr/lib64/postfix/3.6.1" = "no" -o "/usr/lib64/postfix/3.6.1" = "" ]; then \ sed -e '/^\$shlib_directory/d' \ -e '/dynamicmaps.cf/d' conf/postfix-files; \ elif [ "" = ":" -o "" = "" ]; then \ sed -e '/dynamicmaps.cf/d' \ -e '/^\$shlib_directory\/\${LIB_PREFIX}/d' \ conf/postfix-files | sed -e "s;\${LIB_PREFIX};postfix-;" -e "s;\${LIB_SUFFIX};.so;"; \ else \ sed -e "s;\${LIB_PREFIX};postfix-;" -e "s;\${LIB_SUFFIX};.so;" conf/postfix-files | awk -F: ' \ BEGIN { \ count = split("'"pcre dev_urandom"'", names, " "); \ for (n = 1; n <= count; n++) \ have["$shlib_directory/postfix-" names[n] \ ".so"] = 1; } \ /^[$]shlib_directory.postfix-/ { \ if (have[$1]) print; next } \ { print } \ '; \ fi) | case "" in \ *) cat;; \ esac > meta/postfix-files rm -f libexec/postfix-script && ln -f conf/postfix-script libexec/postfix-script rm -f libexec/postfix-wrapper && ln -f conf/postfix-wrapper libexec/postfix-wrapper rm -f libexec/postmulti-script && ln -f conf/postmulti-script libexec/postmulti-script rm -f libexec/postfix-tls-script && ln -f conf/postfix-tls-script libexec/postfix-tls-script set -e; for i in src/util src/global src/dns src/tls src/xsasl src/master src/milter src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr src/postmulti src/postscreen src/dnsblog src/tlsproxy src/posttls-finger src/postlogd; do \ (set -e; echo "[$i]"; cd $i; make 'WARN=-Wmissing-prototypes -Wformat -Wno-comment -fno-common' update MAKELEVEL=) || exit 1; \ done [src/util] x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c alldig.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c allprint.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c argv.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c argv_split.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c attr_clnt.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c attr_print0.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c attr_print64.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c attr_print_plain.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c attr_scan0.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c attr_scan64.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c attr_scan_plain.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c auto_clnt.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c base64_code.c x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c basename.c In file included from attr_clnt.c:97: /usr/include/unistd.h:363:13: error: conflicting types for ‘closefrom’; have ‘void(int)’ 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ In file included from attr_clnt.c:96: ./sys_defs.h:1512:12: note: previous declaration of ‘closefrom’ with type ‘int(int)’ 1512 | extern int closefrom(int); | ^~~~~~~~~ In file included from ./vstream.h:22, from attr_print64.c:100: /usr/include/unistd.h:363:13: error: conflicting types for ‘closefrom’; have ‘void(int)’ 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ In file included from attr_print64.c:92: ./sys_defs.h:1512:12: note: previous declaration of ‘closefrom’ with type ‘int(int)’ 1512 | extern int closefrom(int); | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c binhash.c In file included from ./vstream.h:22, from attr_print0.c:100: /usr/include/unistd.h:363:13: error: conflicting types for ‘closefrom’; have ‘void(int)’ 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ In file included from attr_print0.c:92: ./sys_defs.h:1512:12: note: previous declaration of ‘closefrom’ with type ‘int(int)’ 1512 | extern int closefrom(int); | ^~~~~~~~~ In file included from ./vstream.h:22, from attr_scan0.c:176: /usr/include/unistd.h:363:13: error: conflicting types for ‘closefrom’; have ‘void(int)’ 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ In file included from attr_scan0.c:167: ./sys_defs.h:1512:12: note: previous declaration of ‘closefrom’ with type ‘int(int)’ 1512 | extern int closefrom(int); | ^~~~~~~~~ In file included from ./vstream.h:22, from attr_print_plain.c:100: /usr/include/unistd.h:363:13: error: conflicting types for ‘closefrom’; have ‘void(int)’ 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ In file included from attr_print_plain.c:92: ./sys_defs.h:1512:12: note: previous declaration of ‘closefrom’ with type ‘int(int)’ 1512 | extern int closefrom(int); | ^~~~~~~~~ In file included from ./vstream.h:22, from auto_clnt.c:128: /usr/include/unistd.h:363:13: error: conflicting types for ‘closefrom’; have ‘void(int)’ 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ In file included from auto_clnt.c:121: ./sys_defs.h:1512:12: note: previous declaration of ‘closefrom’ with type ‘int(int)’ 1512 | extern int closefrom(int); | ^~~~~~~~~ In file included from ./vstream.h:22, from attr_scan64.c:178: /usr/include/unistd.h:363:13: error: conflicting types for ‘closefrom’; have ‘void(int)’ 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ In file included from attr_scan64.c:169: ./sys_defs.h:1512:12: note: previous declaration of ‘closefrom’ with type ‘int(int)’ 1512 | extern int closefrom(int); | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE -DUSE_TLS -DNO_NIS -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -I. -DLINUX5 -c chroot_uid.c make: *** [Makefile:202: attr_clnt.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:202: attr_print64.o] Error 1 In file included from ./vstream.h:22, from attr_scan_plain.c:176: /usr/include/unistd.h:363:13: error: conflicting types for ‘closefrom’; have ‘void(int)’ 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ In file included from attr_scan_plain.c:167: ./sys_defs.h:1512:12: note: previous declaration of ‘closefrom’ with type ‘int(int)’ 1512 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:202: auto_clnt.o] Error 1 make: *** [Makefile:202: attr_print_plain.o] Error 1 make: *** [Makefile:202: attr_scan0.o] Error 1 make: *** [Makefile:202: attr_scan64.o] Error 1 make: *** [Makefile:202: attr_print0.o] Error 1 make: *** [Makefile:202: attr_scan_plain.o] Error 1 In file included from chroot_uid.c:33: /usr/include/unistd.h:363:13: error: conflicting types for ‘closefrom’; have ‘void(int)’ 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ In file included from chroot_uid.c:31: ./sys_defs.h:1512:12: note: previous declaration of ‘closefrom’ with type ‘int(int)’ 1512 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:202: chroot_uid.o] Error 1 make: *** [Makefile:102: update] Error 1 * ERROR: mail-mta/postfix-3.6.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=mail-mta/postfix-3.6.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-mta/postfix-3.6.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/mail-mta/postfix-3.6.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-mta/postfix-3.6.1/temp/environment'. * Working directory: '/var/tmp/portage/mail-mta/postfix-3.6.1/work/postfix-3.6.1' * S: '/var/tmp/portage/mail-mta/postfix-3.6.1/work/postfix-3.6.1'