* Package: sci-calculators/hcalc-1.2-r1:0 * Repository: gentoo * Maintainer: sci@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking hcalc-1.2.tar.xz to /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work >>> Source unpacked in /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work >>> Preparing source in /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2" * Build directory (BUILD_DIR): "/var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2_build" * Applying hcalc-1.2-fno-common.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2" * Build directory (BUILD_DIR): "/var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2_build" cmake -C /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2_build/gentoo_toolchain.cmake /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2 loading initial cache file /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2_build/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.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /var/tmp/portage/sci-calculators/hcalc-1.2-r1/temp/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- <<< 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 -I/usr/include C++ 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/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2_build >>> Source configured. '/var/tmp/portage/sci-calculators/hcalc-1.2-r1/temp/clang14.log' -> '/var/tmp/clang/sci-calculators/hcalc-1.2-r1/clang14.log' '/var/tmp/portage/sci-calculators/hcalc-1.2-r1/temp/clang15.log' -> '/var/tmp/clang/sci-calculators/hcalc-1.2-r1/clang15.log' >>> Compiling source in /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2" * Build directory (BUILD_DIR): "/var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2_build" ninja -v -j4 -l0 [1/6] /var/tmp/portage/sci-calculators/hcalc-1.2-r1/temp/clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -MD -MT CMakeFiles/hcalc.dir/draw.c.o -MF CMakeFiles/hcalc.dir/draw.c.o.d -o CMakeFiles/hcalc.dir/draw.c.o -c /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/draw.c FAILED: CMakeFiles/hcalc.dir/draw.c.o /var/tmp/portage/sci-calculators/hcalc-1.2-r1/temp/clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -MD -MT CMakeFiles/hcalc.dir/draw.c.o -MF CMakeFiles/hcalc.dir/draw.c.o.d -o CMakeFiles/hcalc.dir/draw.c.o -c /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/draw.c /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/draw.c:64:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] set_bits(int b) ^ int /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/draw.c:69:1: warning: non-void function does not return a value [-Wreturn-type] } ^ /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/draw.c:71:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] set_string(char *s) ^ int /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/draw.c:85:1: warning: non-void function does not return a value [-Wreturn-type] } ^ /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/draw.c:134:45: warning: passing 'char[40]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] XA_STRING, 8, PropModeReplace, tmp, strlen(tmp)); ^~~ /usr/include/X11/Xlib.h:2085:38: note: passing argument to parameter here _Xconst unsigned char* /* data */, ^ 3 warnings and 2 errors generated. [2/6] /var/tmp/portage/sci-calculators/hcalc-1.2-r1/temp/clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -MD -MT CMakeFiles/hcalc.dir/input.c.o -MF CMakeFiles/hcalc.dir/input.c.o.d -o CMakeFiles/hcalc.dir/input.c.o -c /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/input.c FAILED: CMakeFiles/hcalc.dir/input.c.o /var/tmp/portage/sci-calculators/hcalc-1.2-r1/temp/clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -MD -MT CMakeFiles/hcalc.dir/input.c.o -MF CMakeFiles/hcalc.dir/input.c.o.d -o CMakeFiles/hcalc.dir/input.c.o -c /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/input.c /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/input.c:72:5: error: call to undeclared function 'set_bits'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] set_bits(q); ^ /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/input.c:147:5: error: call to undeclared function 'set_string'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] set_string(tmp); ^ /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/input.c:221:5: error: call to undeclared function 'set_string'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] set_string(""); ^ 3 errors generated. [3/6] /var/tmp/portage/sci-calculators/hcalc-1.2-r1/temp/clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -MD -MT CMakeFiles/hcalc.dir/hcalc.c.o -MF CMakeFiles/hcalc.dir/hcalc.c.o.d -o CMakeFiles/hcalc.dir/hcalc.c.o -c /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/hcalc.c FAILED: CMakeFiles/hcalc.dir/hcalc.c.o /var/tmp/portage/sci-calculators/hcalc-1.2-r1/temp/clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -MD -MT CMakeFiles/hcalc.dir/hcalc.c.o -MF CMakeFiles/hcalc.dir/hcalc.c.o.d -o CMakeFiles/hcalc.dir/hcalc.c.o -c /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/hcalc.c /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/hcalc.c:13:3: error: call to undeclared function 'setup_x'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] setup_x(argc, argv); ^ /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/hcalc.c:14:3: error: call to undeclared function 'load_pixmaps'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] load_pixmaps(); ^ /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/hcalc.c:15:3: error: call to undeclared function 'process_input'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] process_input(); ^ 3 errors generated. [4/6] /var/tmp/portage/sci-calculators/hcalc-1.2-r1/temp/clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -MD -MT CMakeFiles/hcalc.dir/images.c.o -MF CMakeFiles/hcalc.dir/images.c.o.d -o CMakeFiles/hcalc.dir/images.c.o -c /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/images.c ninja: build stopped: subcommand failed. * ERROR: sci-calculators/hcalc-1.2-r1::gentoo failed (compile phase): * ninja -v -j4 -l0 failed * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 2331: Called cmake_src_compile * environment, line 983: Called cmake_build * environment, line 952: Called eninja * environment, line 1414: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=sci-calculators/hcalc-1.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-calculators/hcalc-1.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sci-calculators:hcalc-1.2-r1:20220917-153710.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-calculators/hcalc-1.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-calculators/hcalc-1.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2_build' * S: '/var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2'