* Package: net-misc/apt-cacher-ng-3.3.1_p2 * Repository: gentoo * Maintainer: jer@gentoo.org deb-tools@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux tcpd userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Adding group 'apt-cacher-ng' to your system ... * - Groupid: next available * Adding user 'apt-cacher-ng' to your system ... * - Userid: 913 * - Shell: /sbin/nologin * - Home: /dev/null * - Groups: apt-cacher-ng * - GECOS: added by portage for apt-cacher-ng >>> Unpacking source... >>> Unpacking apt-cacher-ng_3.3.1.orig.tar.xz to /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work >>> Unpacking apt-cacher-ng_3.3.1-2.debian.tar.xz to /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work >>> Source unpacked in /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work >>> Preparing source in /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1 ... * Applying apt-cacher-ng-3.3.1-flags.patch ... [ ok ] * Applying debian-changes ... [ ok ] * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_INSTALL_PREFIX "/usr/local" CACHE STRING "Target file space") >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1 ... >>> Working in BUILD_DIR: "/var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1_p2_build" cmake -C /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1_p2_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DHAVE_FUSE_25=no -DHAVE_LIBWRAP=yes -DUSE_GOLD=no -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1_p2_build/gentoo_toolchain.cmake /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1 loading initial cache file /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1_p2_build/gentoo_common_config.cmake -- The CXX compiler identification is GNU 9.3.0 -- The C compiler identification is GNU 9.3.0 -- 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 -- 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 -- Found PkgConfig: x86_64-gentoo-linux-musl-pkg-config (found version "0.29.2") -- Looking for include files sys/param.h, sys/mount.h -- Looking for include files sys/param.h, sys/mount.h - found -- Looking for include file sys/vfs.h -- Looking for include file sys/vfs.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of int -- Check size of int - done -- Check size of long -- Check size of long - done -- Check if the system is big endian -- Searching 16 bit integer -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test COPT_Wall -- Performing Test COPT_Wall - Success -- Performing Test COPT_Wextra -- Performing Test COPT_Wextra - Success -- Performing Test COPT_Wnounusedparameter -- Performing Test COPT_Wnounusedparameter - Success -- Performing Test COPT_fvisibilityhidden -- Performing Test COPT_fvisibilityhidden - Success -- Performing Test CXX_VIHI -- Performing Test CXX_VIHI - Success -- Performing Test LD_Wlasneeded -- Performing Test LD_Wlasneeded - Success -- Performing Test LD_WlO1 -- Performing Test LD_WlO1 - Success -- Performing Test LD_Wldiscardall -- Performing Test LD_Wldiscardall - Success -- Performing Test LD_Wlnoundefined -- Performing Test LD_Wlnoundefined - Success -- Performing Test LD_Wlbuildidsha1 -- Performing Test LD_Wlbuildidsha1 - Success -- Performing Test GC_SECTIONS -- Performing Test GC_SECTIONS - Success -- Performing Test LD_ATOMIC -- Performing Test LD_ATOMIC - Success -- Performing Test HAVE_WORDEXP -- Performing Test HAVE_WORDEXP - Success -- Performing Test HAVE_GLOB -- Performing Test HAVE_GLOB - Success -- Performing Test HAVE_FADVISE -- Performing Test HAVE_FADVISE - Success -- Performing Test HAVE_MADVISE -- Performing Test HAVE_MADVISE - Success -- Performing Test HAVE_LINUX_FALLOCATE -- Performing Test HAVE_LINUX_FALLOCATE - Success -- Performing Test HAVE_LINUX_SENDFILE -- Performing Test HAVE_LINUX_SENDFILE - Success -- Performing Test HAVE_LINUX_EVENTFD -- Performing Test HAVE_LINUX_EVENTFD - Success -- Performing Test HAVE_PREAD -- Performing Test HAVE_PREAD - Success -- Performing Test HAVE_DAEMON -- Performing Test HAVE_DAEMON - Success -- Checking for module 'libsystemd>=209' -- No package 'libsystemd' found -- Checking for module 'libsystemd-daemon' -- No package 'libsystemd-daemon' found -- Performing Test HAVE_DLOPEN -- Performing Test HAVE_DLOPEN - Success -- Found BZip2: /usr/lib/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Performing Test HAVE_LZMA -- Performing Test HAVE_LZMA - Success -- Checking for module 'libevent' -- Found libevent, version 2.1.11-stable -- Checking for module 'libevent_pthreads' -- Found libevent_pthreads, version 2.1.11-stable -- Checking for module 'openssl>=1.0.2' -- Found openssl, version 1.1.1f Build settings: Compiler flags (common): -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -fdata-sections -ffunction-sections Compiler flags (C++ only): -fvisibility-inlines-hidden Compiler flags (environment): -O2 -pipe -march=native Linker flags: -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--as-needed -Wl,-O1 -Wl,--discard-all -Wl,--no-undefined -Wl,--build-id=sha1 -Wl,--gc-sections LTO use: OFF -- Checking for module 'fuse' -- Found fuse, version 2.9.9 - FUSE not found or not compatible, not building acngfs Installation settings: PACKAGE: apt-cacher-ng VERSION: 3.3.1 CMAKE_INSTALL_PREFIX: /usr CMAKE_INSTALL_FULL_SYSCONFDIR: /etc LIBDIR: /usr/lib/apt-cacher-ng AVAHIDIR: /etc/avahi/services -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -pipe -march=native C++ -O2 -pipe -march=native Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--as-needed -Wl,-O1 -Wl,--discard-all -Wl,--no-undefined -Wl,--build-id=sha1 -Wl,--gc-sections Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--gc-sections -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1_p2_build >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1 ... >>> Working in BUILD_DIR: "/var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1_p2_build" ninja -v -j1 -l0 [1/37] /usr/bin/x86_64-gentoo-linux-musl-g++ -I. -I/var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1 -I/var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include -DNDEBUG -O2 -pipe -march=native -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -fdata-sections -ffunction-sections -fvisibility-inlines-hidden -DMINIBUILD -std=gnu++14 -MD -MT client/CMakeFiles/in.acng.dir/client.cc.o -MF client/CMakeFiles/in.acng.dir/client.cc.o.d -o client/CMakeFiles/in.acng.dir/client.cc.o -c /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/client.cc FAILED: client/CMakeFiles/in.acng.dir/client.cc.o /usr/bin/x86_64-gentoo-linux-musl-g++ -I. -I/var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1 -I/var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include -DNDEBUG -O2 -pipe -march=native -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -fdata-sections -ffunction-sections -fvisibility-inlines-hidden -DMINIBUILD -std=gnu++14 -MD -MT client/CMakeFiles/in.acng.dir/client.cc.o -MF client/CMakeFiles/in.acng.dir/client.cc.o.d -o client/CMakeFiles/in.acng.dir/client.cc.o -c /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/client.cc In file included from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/acfg.h:6, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/debug.h:5, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/../source/acbuf.cc:3, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/client.cc:4: /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/meta.h:532:17: error: field ‘tv’ has incomplete type ‘acng::timeval’ 532 | struct timeval tv = {0,23}; | ^~ /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/meta.h:532:9: note: forward declaration of ‘struct acng::timeval’ 532 | struct timeval tv = {0,23}; | ^~~~~~~ /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/meta.h:535:38: error: ‘suseconds_t’ has not been declared 535 | struct timeval* For(time_t tExpSec, suseconds_t tExpUsec = 23) | ^~~~~~~~~~~ /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/meta.h:548:41: error: ‘suseconds_t’ has not been declared 548 | struct timeval* Until(time_t tExpWhen, suseconds_t tExpUsec = 23) | ^~~~~~~~~~~ /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/meta.h:555:44: error: ‘suseconds_t’ has not been declared 555 | struct timeval* SetUntil(time_t tExpWhen, suseconds_t tExpUsec = 23) | ^~~~~~~~~~~ /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/meta.h:565:44: error: ‘suseconds_t’ has not been declared 565 | struct timeval* Remaining(time_t tExpSec, suseconds_t tExpUsec = 23) | ^~~~~~~~~~~ In file included from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/../source/acbuf.cc:10, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/client.cc:4: /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/sockio.h: In function ‘bool acng::check_read_state(int)’: /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/sockio.h:69:17: error: variable ‘acng::timeval tv’ has initializer but incomplete type 69 | struct timeval tv = { 0, 0}; | ^~ In file included from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/client.cc:4: /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/../source/acbuf.cc: In member function ‘bool acng::tSS::send(int, acng::mstring*)’: /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/../source/acbuf.cc:104:82: error: cannot convert ‘acng::timeval*’ to ‘timeval*’ 104 | auto r=::select(nConFd + 1, nullptr, &wfds, nullptr, CTimeVal().ForNetTimeout()); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ | | | acng::timeval* In file included from /usr/include/sys/types.h:71, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/fileio.h:14, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/../source/acbuf.cc:8, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/client.cc:4: /usr/include/sys/select.h:31:78: note: initializing argument 5 of ‘int select(int, fd_set*, fd_set*, fd_set*, timeval*)’ 31 | int select (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, struct timeval *__restrict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/acfg.h:6, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/debug.h:5, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/../source/acbuf.cc:3, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/client.cc:4: /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/meta.h:532:9: note: class type ‘acng::timeval’ is incomplete 532 | struct timeval tv = {0,23}; | ^~~~~~~ In file included from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/client.cc:4: /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/../source/acbuf.cc: In member function ‘bool acng::tSS::recv(int, acng::mstring*)’: /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/../source/acbuf.cc:132:81: error: cannot convert ‘acng::timeval*’ to ‘timeval*’ 132 | auto r = ::select(nConFd + 1, &rfds, nullptr, nullptr, CTimeVal().ForNetTimeout()); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ | | | acng::timeval* In file included from /usr/include/sys/types.h:71, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/fileio.h:14, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/../source/acbuf.cc:8, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/client.cc:4: /usr/include/sys/select.h:31:78: note: initializing argument 5 of ‘int select(int, fd_set*, fd_set*, fd_set*, timeval*)’ 31 | int select (int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, struct timeval *__restrict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/acfg.h:6, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/debug.h:5, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/../source/acbuf.cc:3, from /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/client/client.cc:4: /var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1/include/meta.h:532:9: note: class type ‘acng::timeval’ is incomplete 532 | struct timeval tv = {0,23}; | ^~~~~~~ ninja: build stopped: subcommand failed. * ERROR: net-misc/apt-cacher-ng-3.3.1_p2::gentoo failed (compile phase): * ninja -v -j1 -l0 failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2628: Called cmake-utils_src_compile * environment, line 802: Called cmake-utils_src_make * environment, line 983: Called _cmake_ninja_src_make * environment, line 524: Called eninja * environment, line 1600: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=net-misc/apt-cacher-ng-3.3.1_p2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/apt-cacher-ng-3.3.1_p2::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:apt-cacher-ng-3.3.1_p2:20200407-101948.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1_p2_build' * S: '/var/tmp/portage/net-misc/apt-cacher-ng-3.3.1_p2/work/apt-cacher-ng-3.3.1'