* Package: sys-process/memwatch-0.3.3 * Repository: gentoo * Maintainer: monsieurp@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking memwatch-0.3.3.tar.gz to /var/tmp/portage/sys-process/memwatch-0.3.3/work >>> Source unpacked in /var/tmp/portage/sys-process/memwatch-0.3.3/work >>> Preparing source in /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3 ... >>> Working in BUILD_DIR: "/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build" cmake -C /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/gentoo_toolchain.cmake /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3 loading initial cache file /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/gentoo_common_config.cmake CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as project(ProjectName) near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/x86_64-gentoo-linux-musl-gcc -- Check for working C compiler: /usr/bin/x86_64-gentoo-linux-musl-gcc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/x86_64-gentoo-linux-musl-g++ -- Check for working CXX compiler: /usr/bin/x86_64-gentoo-linux-musl-g++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for wsyncup in /usr/lib/libcurses.so -- Looking for wsyncup in /usr/lib/libcurses.so - found -- Looking for cbreak in /usr/lib/libncurses.so -- Looking for cbreak in /usr/lib/libncurses.so - not found -- Found Curses: /usr/lib/libncurses.so -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -Wall -Wextra -pedantic C++ -O2 -pipe -march=native 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/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3 ... >>> Working in BUILD_DIR: "/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build" make -j1 VERBOSE=1 /usr/bin/cmake -S/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3 -B/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/CMakeFiles /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build' make -f src/CMakeFiles/memwatch.dir/build.make src/CMakeFiles/memwatch.dir/depend make[2]: Entering directory '/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build' cd /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3 /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src/CMakeFiles/memwatch.dir/DependInfo.cmake Dependee "/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src/CMakeFiles/memwatch.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src/CMakeFiles/memwatch.dir/depend.internal". Dependee "/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src/CMakeFiles/memwatch.dir/depend.internal". Scanning dependencies of target memwatch make[2]: Leaving directory '/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build' make -f src/CMakeFiles/memwatch.dir/build.make src/CMakeFiles/memwatch.dir/build make[2]: Entering directory '/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build' [ 12%] Building C object src/CMakeFiles/memwatch.dir/main.c.o cd /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src && /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/. -DNDEBUG -Wall -Wextra -pedantic -o CMakeFiles/memwatch.dir/main.c.o -c /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/main.c [ 25%] Building C object src/CMakeFiles/memwatch.dir/options.c.o cd /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src && /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/. -DNDEBUG -Wall -Wextra -pedantic -o CMakeFiles/memwatch.dir/options.c.o -c /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/options.c [ 37%] Building C object src/CMakeFiles/memwatch.dir/common.c.o cd /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src && /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/. -DNDEBUG -Wall -Wextra -pedantic -o CMakeFiles/memwatch.dir/common.c.o -c /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/common.c /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/common.c: In function ‘err_exit’: /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/common.c:171:5: warning: ‘vwprintw’ is deprecated [-Wdeprecated-declarations] 171 | vwprintw(win, fmt, args); | ^~~~~~~~ In file included from /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/./memwatch.h:8, from /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/common.c:4: /usr/include/curses.h:825:28: note: declared here 825 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *,va_list) GCC_DEPRECATED(use vw_printw); /* implemented */ | ^~~~~~~~ [ 50%] Building C object src/CMakeFiles/memwatch.dir/mem_fields.c.o cd /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src && /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/. -DNDEBUG -Wall -Wextra -pedantic -o CMakeFiles/memwatch.dir/mem_fields.c.o -c /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/mem_fields.c [ 62%] Building C object src/CMakeFiles/memwatch.dir/memory_info.c.o cd /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src && /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/. -DNDEBUG -Wall -Wextra -pedantic -o CMakeFiles/memwatch.dir/memory_info.c.o -c /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/memory_info.c [ 75%] Building C object src/CMakeFiles/memwatch.dir/process_info.c.o cd /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src && /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/. -DNDEBUG -Wall -Wextra -pedantic -o CMakeFiles/memwatch.dir/process_info.c.o -c /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c: In function ‘print_single_process’: /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c:54:15: error: ‘PATH_MAX’ undeclared (first use in this function) 54 | char path[PATH_MAX + 1] = {0}; | ^~~~~~~~ /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c:54:15: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c:54:10: warning: unused variable ‘path’ [-Wunused-variable] 54 | char path[PATH_MAX + 1] = {0}; | ^~~~ /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c: In function ‘get_process_list’: /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c:267:22: error: ‘PATH_MAX’ undeclared (first use in this function) 267 | char status_file[PATH_MAX] = {0}; | ^~~~~~~~ /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c:267:10: warning: unused variable ‘status_file’ [-Wunused-variable] 267 | char status_file[PATH_MAX] = {0}; | ^~~~~~~~~~~ /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c: In function ‘get_process_stats’: /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c:421:26: error: ‘PATH_MAX’ undeclared (first use in this function) 421 | char status_path[PATH_MAX] = {0}; | ^~~~~~~~ /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c:422:14: warning: unused variable ‘statm_path’ [-Wunused-variable] 422 | char statm_path[PATH_MAX] = {0}; | ^~~~~~~~~~ /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c:421:14: warning: unused variable ‘status_path’ [-Wunused-variable] 421 | char status_path[PATH_MAX] = {0}; | ^~~~~~~~~~~ /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c: In function ‘get_process_cmdline’: /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c:486:15: error: ‘PATH_MAX’ undeclared (first use in this function) 486 | char path[PATH_MAX] = {0}; | ^~~~~~~~ /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c:486:10: warning: unused variable ‘path’ [-Wunused-variable] 486 | char path[PATH_MAX] = {0}; | ^~~~ make[2]: *** [src/CMakeFiles/memwatch.dir/build.make:145: src/CMakeFiles/memwatch.dir/process_info.c.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build' make[1]: *** [CMakeFiles/Makefile2:139: src/CMakeFiles/memwatch.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build' make: *** [Makefile:147: all] Error 2 * ERROR: sys-process/memwatch-0.3.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-process/memwatch-0.3.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-process/memwatch-0.3.3::gentoo'`. * The complete build log is located at '/var/log/portage/sys-process:memwatch-0.3.3:20200409-215118.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-process/memwatch-0.3.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-process/memwatch-0.3.3/temp/environment'. * Working directory: '/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build' * S: '/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3'