These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild N ] sys-apps/policycoreutils-2.7::gentoo USE="pam -audit -dbus" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-apps/policycoreutils-2.7::gentoo * policycoreutils-2.7.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] * policycoreutils-extra-1.36.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking policycoreutils-2.7.tar.gz to /var/tmp/portage/sys-apps/policycoreutils-2.7/work >>> Unpacking policycoreutils-extra-1.36.tar.bz2 to /var/tmp/portage/sys-apps/policycoreutils-2.7/work >>> Source unpacked in /var/tmp/portage/sys-apps/policycoreutils-2.7/work >>> Preparing source in /var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-2.7 ... * Applying policycoreutils-2.7-0001-newrole-not-suid.patch ... [ ok ] * Will copy sources from /var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-2.7 * python2_7: copying to /var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-2.7-python2_7 * python3_5: copying to /var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-2.7-python3_5 * Will copy sources from /var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-extra * python2_7: copying to /var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-extra-python2_7 * python3_5: copying to /var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-extra-python3_5 >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-extra ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-extra ... * python2_7: running building make -j4 -C /var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-2.7-python2_7 AUDIT_LOG_PRIVS=y AUDITH=n PAMH=y INOTIFYH=n SESANDBOX=n CC=x86_64-pc-linux-gnu-gcc PYLIBVER=python2.7 LIBDIR=$(PREFIX)/lib64 make: Entering directory '/var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-2.7-python2_7' make[1]: Entering directory '/var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-2.7-python2_7/setfiles' x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -ffunction-sections -fdata-sections -fno-plt -mindirect-branch=thunk -mfunction-return=thunk -fomit-frame-pointer -fgcse-sm -fmodulo-sched -fmodulo-sched-allow-regmoves -ftree-loop-distribution -fivopts -fopenmp -c -o setfiles.o setfiles.c x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -ffunction-sections -fdata-sections -fno-plt -mindirect-branch=thunk -mfunction-return=thunk -fomit-frame-pointer -fgcse-sm -fmodulo-sched -fmodulo-sched-allow-regmoves -ftree-loop-distribution -fivopts -fopenmp -c -o restore.o restore.c x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check -ffunction-sections -fdata-sections -fno-plt -mindirect-branch=thunk -mfunction-return=thunk -fomit-frame-pointer -fgcse-sm -fmodulo-sched -fmodulo-sched-allow-regmoves -ftree-loop-distribution -fivopts -fopenmp -c -o restorecon_xattr.o restorecon_xattr.c x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-mindirect-branch=thunk'; did you mean '-Windirect-static'? x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-mindirect-branch=thunk'; did you mean '-Windirect-static'? x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-mindirect-branch=thunk'; did you mean '-Windirect-static'? x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-mfunction-return=thunk'; did you mean '-Wfunction-elimination'? make[1]: *** [: restorecon_xattr.o] Error 1 make[1]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-mfunction-return=thunk'; did you mean '-Wfunction-elimination'? x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-mfunction-return=thunk'; did you mean '-Wfunction-elimination'? make[1]: *** [: setfiles.o] Error 1 make[1]: *** [: restore.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-2.7-python2_7/setfiles' make: *** [Makefile:4: all] Error 1 make: Leaving directory '/var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-2.7-python2_7' * ERROR: sys-apps/policycoreutils-2.7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/policycoreutils-2.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/policycoreutils-2.7::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-apps/policycoreutils-2.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/policycoreutils-2.7/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-extra' * S: '/var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-2.7' >>> Failed to emerge sys-apps/policycoreutils-2.7, Log file: >>> '/var/tmp/portage/sys-apps/policycoreutils-2.7/temp/build.log' * Messages for package sys-apps/policycoreutils-2.7: * ERROR: sys-apps/policycoreutils-2.7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/policycoreutils-2.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/policycoreutils-2.7::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-apps/policycoreutils-2.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/policycoreutils-2.7/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-extra' * S: '/var/tmp/portage/sys-apps/policycoreutils-2.7/work/policycoreutils-2.7'