* Package: sys-apps/apparmor-3.1.4:0 * Repository: gentoo * Maintainer: hardened@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking apparmor-3.1.4.tar.gz to /var/tmp/portage/sys-apps/apparmor-3.1.4/work >>> Source unpacked in /var/tmp/portage/sys-apps/apparmor-3.1.4/work >>> Preparing source in /var/tmp/portage/sys-apps/apparmor-3.1.4/work/apparmor-3.1.4/parser ... * Applying apparmor-3.0.5-makefile.patch ... patching file Makefile Hunk #1 succeeded at 417 with fuzz 1 (offset 10 lines). [ ok ] * Applying apparmor-2.11.1-dynamic-link.patch ... patching file Makefile Hunk #1 succeeded at 113 with fuzz 2 (offset 26 lines). [ ok ] >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/sys-apps/apparmor-3.1.4/work/apparmor-3.1.4/parser ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/apparmor-3.1.4/work/apparmor-3.1.4/parser ... make -j4 AR=llvm-ar CC=clang 'CPP=clang-cpp -' CXX=clang++ USE_SYSTEM=1 arch manpages clang++ -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -flto-partition=none -D_GNU_SOURCE -Wall -Wall -Wsign-compare -Wmissing-field-initializers -Wformat -Wformat-security -Wunused-parameter -Wimplicit-fallthrough -std=gnu++0x -DHAVE_REALLOCARRAY=1 -DPACKAGE=\"apparmor-parser\" -DLOCALEDIR=\"/usr/share/locale\" -c -o parser_common.o parser_common.c clang++ -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -flto-partition=none -D_GNU_SOURCE -Wall -Wall -Wsign-compare -Wmissing-field-initializers -Wformat -Wformat-security -Wunused-parameter -Wimplicit-fallthrough -std=gnu++0x -DHAVE_REALLOCARRAY=1 -DPACKAGE=\"apparmor-parser\" -DLOCALEDIR=\"/usr/share/locale\" -c -o parser_include.o parser_include.c clang++ -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -flto-partition=none -D_GNU_SOURCE -Wall -Wall -Wsign-compare -Wmissing-field-initializers -Wformat -Wformat-security -Wunused-parameter -Wimplicit-fallthrough -std=gnu++0x -DHAVE_REALLOCARRAY=1 -DPACKAGE=\"apparmor-parser\" -DLOCALEDIR=\"/usr/share/locale\" -c -o parser_interface.o parser_interface.c bison -d --define=parse.error=verbose -o parser_yacc.c parser_yacc.y clang++: clang++: error: error: unknown argument: '-flto-partition=none'unknown argument: '-flto-partition=none' clang++: error: unknown argument: '-flto-partition=none' clang++clang++: : warning: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] make: *** [Makefile:263: parser_common.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:239: parser_interface.o] Error 1 make: *** [Makefile:242: parser_include.o] Error 1 * ERROR: sys-apps/apparmor-3.1.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/apparmor-3.1.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/apparmor-3.1.4::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:apparmor-3.1.4:20240410-074001.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/apparmor-3.1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/apparmor-3.1.4/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/apparmor-3.1.4/work/apparmor-3.1.4/parser' * S: '/var/tmp/portage/sys-apps/apparmor-3.1.4/work/apparmor-3.1.4/parser'