* Package: net-firewall/itval-1.2_p20121104-r1:0 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ITVal-20121104.tar.bz2 to /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work >>> Source unpacked in /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work >>> Preparing source in /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104" * Build directory (BUILD_DIR): "/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104" >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104" * Build directory (BUILD_DIR): "/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104" cmake -C /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/gentoo_toolchain.cmake /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104 loading initial cache file /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/gentoo_common_config.cmake CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is Clang 15.0.4 -- The CXX compiler identification is Clang 15.0.4 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/temp/clang-wrappers/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/lib/llvm/15/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found FLEX: /usr/bin/flex (found version "2.6.4") -- Found BISON: /usr/bin/bison (found version "3.8.2") -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int C++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104 >>> Source configured. '/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/temp/clang16-errors.log' -> '/var/tmp/clang/net-firewall/itval-1.2_p20121104-r1/clang16-errors.log' '/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/temp/clang16-safe.log' -> '/var/tmp/clang/net-firewall/itval-1.2_p20121104-r1/clang16-safe.log' >>> Compiling source in /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104" * Build directory (BUILD_DIR): "/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104" ninja -v -j4 -l0 [1/20] cd /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104 && /usr/bin/flex -o/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/fwlang_scanner.cc src/fwlang_scanner.ll [2/20] cd /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104 && /usr/bin/bison -d -o /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/fwlang.cc src/fwlang.yy src/fwlang.yy:1.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated] 1 | %pure-parser | ^~~~~~~~~~~~ | %define api.pure src/fwlang.yy:14.1-14: warning: deprecated directive: ‘%error-verbose’, use ‘%define parse.error verbose’ [-Wdeprecated] 14 | %error-verbose | ^~~~~~~~~~~~~~ | %define parse.error verbose src/fwlang.yy: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] [3/20] /usr/lib/llvm/15/bin/clang++ -I/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104 -I/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/ITVal -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -fno-color-diagnostics -MD -MT CMakeFiles/ITVal.dir/src/chains.cc.o -MF CMakeFiles/ITVal.dir/src/chains.cc.o.d -o CMakeFiles/ITVal.dir/src/chains.cc.o -c /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/chains.cc FAILED: CMakeFiles/ITVal.dir/src/chains.cc.o /usr/lib/llvm/15/bin/clang++ -I/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104 -I/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/ITVal -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -fno-color-diagnostics -MD -MT CMakeFiles/ITVal.dir/src/chains.cc.o -MF CMakeFiles/ITVal.dir/src/chains.cc.o.d -o CMakeFiles/ITVal.dir/src/chains.cc.o -c /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/chains.cc In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/chains.cc:40: In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/rule_parser.h:33: /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/topology.h:47:53: warning: 'fscanf' may overflow; destination buffer in argument 3 has size 256, but the corresponding specifier may require size 257 [-Wfortify-source] fscanf(iFile, "%256s %3d.%3d.%3d.%3d", name, &ip[0], &ip[1], ^ /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/chains.cc:129:46: error: ordered comparison between pointer and zero ('char *' and 'int') if (line == NULL || strstr(line, "Chain") < 0) { ~~~~~~~~~~~~~~~~~~~~~ ^ ~ /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/chains.cc:348:46: error: ordered comparison between pointer and zero ('char *' and 'int') if (line == NULL || strstr(line, "Chain") < 0) { ~~~~~~~~~~~~~~~~~~~~~ ^ ~ 1 warning and 2 errors generated. [4/20] /usr/lib/llvm/15/bin/clang++ -I/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104 -I/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/ITVal -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -fno-color-diagnostics -MD -MT CMakeFiles/ITVal.dir/src/debug.cc.o -MF CMakeFiles/ITVal.dir/src/debug.cc.o.d -o CMakeFiles/ITVal.dir/src/debug.cc.o -c /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/debug.cc In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/debug.cc:26: In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/chains.h:37: In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/rules.h:34: /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/topology.h:47:53: warning: 'fscanf' may overflow; destination buffer in argument 3 has size 256, but the corresponding specifier may require size 257 [-Wfortify-source] fscanf(iFile, "%256s %3d.%3d.%3d.%3d", name, &ip[0], &ip[1], ^ 1 warning generated. [5/20] /usr/lib/llvm/15/bin/clang++ -I/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104 -I/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/ITVal -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -fno-color-diagnostics -MD -MT CMakeFiles/ITVal.dir/src/firewall.cc.o -MF CMakeFiles/ITVal.dir/src/firewall.cc.o.d -o CMakeFiles/ITVal.dir/src/firewall.cc.o -c /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/firewall.cc In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/firewall.cc:25: In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/firewall.h:26: In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/chains.h:37: In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/rules.h:34: /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/topology.h:47:53: warning: 'fscanf' may overflow; destination buffer in argument 3 has size 256, but the corresponding specifier may require size 257 [-Wfortify-source] fscanf(iFile, "%256s %3d.%3d.%3d.%3d", name, &ip[0], &ip[1], ^ /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/firewall.cc:318:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 2 warnings generated. [6/20] /usr/lib/llvm/15/bin/clang++ -I/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104 -I/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/ITVal -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -fno-color-diagnostics -MD -MT CMakeFiles/ITVal.dir/src/fwmdd.cc.o -MF CMakeFiles/ITVal.dir/src/fwmdd.cc.o.d -o CMakeFiles/ITVal.dir/src/fwmdd.cc.o -c /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/fwmdd.cc In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/fwmdd.cc:32: In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/fwmdd.h:38: In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/nat.h:33: In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/rules.h:34: /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/topology.h:47:53: warning: 'fscanf' may overflow; destination buffer in argument 3 has size 256, but the corresponding specifier may require size 257 [-Wfortify-source] fscanf(iFile, "%256s %3d.%3d.%3d.%3d", name, &ip[0], &ip[1], ^ /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/fwmdd.cc:76:1: warning: non-void function does not return a value [-Wreturn-type] } ^ /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/fwmdd.cc:1185:42: warning: format string contains '\0' within the string body [-Wformat] sprintf(addy, "%d.%d.%d.%d\0", low[4], low[3],low[2],low[1]); ~~~~~~~~~~~~^~~ /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/fwmdd.cc:1506:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 4 warnings generated. ninja: build stopped: subcommand failed. * ERROR: net-firewall/itval-1.2_p20121104-r1::gentoo failed (compile phase): * ninja -v -j4 -l0 failed * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 2328: Called cmake_src_compile * environment, line 946: Called cmake_build * environment, line 915: Called eninja * environment, line 1377: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=net-firewall/itval-1.2_p20121104-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-firewall/itval-1.2_p20121104-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-firewall:itval-1.2_p20121104-r1:20221110-192700.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104' * S: '/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104'