* Package: dev-util/min-cscope-16.1.0-r1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking min-cscope-16.1.0.tar.gz to /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work >>> Source unpacked in /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work >>> Preparing source in /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope" * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope_build" * Applying min-cscope-16.1.0-tinfo.patch ... [ ok ] * Hardcoded definition(s) removed in CMakeLists.txt: * SET(CMAKE_VERBOSE_MAKEFILE ON) * SET(CMAKE_BUILD_TYPE Release) >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope ... * Please use append-cppflags for preprocessor flags * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope" * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope_build" cmake -C /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope_build/gentoo_toolchain.cmake /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope loading initial cache file /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope_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 -- The CXX 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/dev-util/min-cscope-16.1.0-r1/temp/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 Build type is set to RelWithDebInfo -- Looking for qsort_r -- Looking for qsort_r - found -- Looking for qsort_s -- Looking for qsort_s - not found -- Looking for include file ncurses.h -- Looking for include file ncurses.h - found -- Looking for include file curses.h -- Looking for include file curses.h - found -- Looking for wsyncup in /usr/lib64/libcurses.so -- Looking for wsyncup in /usr/lib64/libcurses.so - found -- Looking for cbreak in /usr/lib64/libncurses.so -- Looking for cbreak in /usr/lib64/libncurses.so - not found -- Looking for nodelay in /usr/lib64/libncurses.so -- Looking for nodelay in /usr/lib64/libncurses.so - not found -- Found Curses: /usr/lib64/libncurses.so Building with curses-based interface -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file wait.h -- Looking for include file wait.h - found -- Looking for include file regex.h -- Looking for include file regex.h - found -- Looking for regexec -- Looking for regexec - found -- Looking for lstat -- Looking for lstat - found -- Looking for strerror -- Looking for strerror - found -- Looking for __sigsetjmp -- Looking for __sigsetjmp - found -- Looking for SIGQUIT -- Looking for SIGQUIT - found -- Looking for SIGHUP -- Looking for SIGHUP - found -- Looking for SIGHUP -- Looking for SIGHUP - found -- Looking for SIGHUP -- Looking for SIGHUP - found -- Looking for F_DUPFD -- Looking for F_DUPFD - found -- <<< Gentoo configuration >>> Build type RelWithDebInfo Install path /usr Compiler flags: C -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort C++ -pipe -march=native -fno-diagnostics-color -O2 -I/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort 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/dev-util/min-cscope-16.1.0-r1/work/min-cscope_build >>> Source configured. '/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/temp/clang14.log' -> '/var/tmp/clang/dev-util/min-cscope-16.1.0-r1/clang14.log' '/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/temp/clang15.log' -> '/var/tmp/clang/dev-util/min-cscope-16.1.0-r1/clang15.log' >>> Compiling source in /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope" * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope_build" ninja -v -j4 -l0 [1/36] /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/temp/clang -DPAGE_SIZE_ORDER=22 -I/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope_build/sort -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort -MD -MT sort/CMakeFiles/sort.dir/page.c.o -MF sort/CMakeFiles/sort.dir/page.c.o.d -o sort/CMakeFiles/sort.dir/page.c.o -c /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort/page.c FAILED: sort/CMakeFiles/sort.dir/page.c.o /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/temp/clang -DPAGE_SIZE_ORDER=22 -I/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope_build/sort -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort -MD -MT sort/CMakeFiles/sort.dir/page.c.o -MF sort/CMakeFiles/sort.dir/page.c.o.d -o sort/CMakeFiles/sort.dir/page.c.o -c /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort/page.c /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort/page.c:122:5: error: call to undeclared function 'qsort_r'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] qsort_r(base, page->nrecs, sizeof(rec_off_t), comp_recs_r, page); ^ /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort/page.c:122:5: note: did you mean 'qsort'? /usr/include/stdlib.h:851:13: note: 'qsort' declared here extern void qsort (void *__base, size_t __nmemb, size_t __size, ^ 1 error generated. [2/36] /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/temp/clang -DPAGE_SIZE_ORDER=22 -I/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope_build/sort -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort -MD -MT sort/CMakeFiles/sort.dir/cache.c.o -MF sort/CMakeFiles/sort.dir/cache.c.o.d -o sort/CMakeFiles/sort.dir/cache.c.o -c /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort/cache.c [3/36] /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/temp/clang -DPAGE_SIZE_ORDER=22 -I/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope_build/sort -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort -MD -MT sort/CMakeFiles/sort.dir/file.c.o -MF sort/CMakeFiles/sort.dir/file.c.o.d -o sort/CMakeFiles/sort.dir/file.c.o -c /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort/file.c [4/36] /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/temp/clang -DPAGE_SIZE_ORDER=22 -I/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope_build/sort -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort -MD -MT sort/CMakeFiles/sort.dir/extsort.c.o -MF sort/CMakeFiles/sort.dir/extsort.c.o.d -o sort/CMakeFiles/sort.dir/extsort.c.o -c /var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope/sort/extsort.c ninja: build stopped: subcommand failed. * ERROR: dev-util/min-cscope-16.1.0-r1::gentoo failed (compile phase): * ninja -v -j4 -l0 failed * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 2272: Called cmake_src_compile * environment, line 973: Called cmake_build * environment, line 942: Called eninja * environment, line 1393: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=dev-util/min-cscope-16.1.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/min-cscope-16.1.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:min-cscope-16.1.0-r1:20220918-084436.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope_build' * S: '/var/tmp/portage/dev-util/min-cscope-16.1.0-r1/work/min-cscope'