* Package: www-servers/pound-3.0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking Pound-3.0.tgz to /var/tmp/portage/www-servers/pound-3.0/work >>> Source unpacked in /var/tmp/portage/www-servers/pound-3.0/work >>> Preparing source in /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0" * Build directory (BUILD_DIR): "/var/tmp/portage/www-servers/pound-3.0/work/pound-3.0_build" >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0" * Build directory (BUILD_DIR): "/var/tmp/portage/www-servers/pound-3.0/work/pound-3.0_build" cmake -C /var/tmp/portage/www-servers/pound-3.0/work/pound-3.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/www-servers/pound-3.0/work/pound-3.0_build/gentoo_toolchain.cmake /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0 loading initial cache file /var/tmp/portage/www-servers/pound-3.0/work/pound-3.0_build/gentoo_common_config.cmake -- The C compiler identification is GNU 11.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-gentoo-linux-musl-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- 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 -- Looking for 35 include files stdio.h, ..., mbedtls/error.h -- Looking for 35 include files stdio.h, ..., mbedtls/error.h - found -- Looking for include file pcreposix.h -- Looking for include file pcreposix.h - found -- Looking for include file pcre/pcreposix.h -- Looking for include file pcre/pcreposix.h - not found -- Looking for include file regex.h -- Looking for include file regex.h - found -- Looking for include file stdarg.h -- Looking for include file stdarg.h - found -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -pipe -march=native -fno-diagnostics-color -O2 -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 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/www-servers/pound-3.0/work/pound-3.0_build >>> Source configured. >>> Compiling source in /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0" * Build directory (BUILD_DIR): "/var/tmp/portage/www-servers/pound-3.0/work/pound-3.0_build" ninja -v -j4 -l0 [1/8] /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/include -pipe -march=native -fno-diagnostics-color -O2 -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -MD -MT CMakeFiles/pound.dir/src/util.c.o -MF CMakeFiles/pound.dir/src/util.c.o.d -o CMakeFiles/pound.dir/src/util.c.o -c /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/util.c [2/8] /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/include -pipe -march=native -fno-diagnostics-color -O2 -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -MD -MT CMakeFiles/pound.dir/src/pound.c.o -MF CMakeFiles/pound.dir/src/pound.c.o.d -o CMakeFiles/pound.dir/src/pound.c.o -c /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/pound.c [3/8] /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/include -pipe -march=native -fno-diagnostics-color -O2 -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -MD -MT CMakeFiles/pound.dir/src/http.c.o -MF CMakeFiles/pound.dir/src/http.c.o.d -o CMakeFiles/pound.dir/src/http.c.o -c /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/http.c [4/8] /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/include -pipe -march=native -fno-diagnostics-color -O2 -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -MD -MT CMakeFiles/pound.dir/src/hpack.c.o -MF CMakeFiles/pound.dir/src/hpack.c.o.d -o CMakeFiles/pound.dir/src/hpack.c.o -c /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/hpack.c /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/hpack.c: In function 'hpack_huffman_decode_str': /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/hpack.c:925:20: warning: implicit declaration of function 'recallocarray'; did you mean 'reallocarray'? [-Wimplicit-function-declaration] 925 | if ((str = recallocarray(data, data_len, data_len + 1, 1)) == NULL) { | ^~~~~~~~~~~~~ | reallocarray /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/hpack.c:925:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 925 | if ((str = recallocarray(data, data_len, data_len + 1, 1)) == NULL) { | ^ /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/hpack.c:926:17: warning: implicit declaration of function 'freezero' [-Wimplicit-function-declaration] 926 | freezero(data, data_len); | ^~~~~~~~ /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/hpack.c: In function 'hbuf_realloc': /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/hpack.c:1061:18: warning: assignment to 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1061 | if ((ptr = recallocarray(buf->data, buf->size, newsize, 1)) == NULL) | ^ /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/hpack.c: In function 'hbuf_release': /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/hpack.c:1098:27: warning: assignment to 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1098 | if ((data = recallocarray(buf->data, | ^ [5/8] /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/include -pipe -march=native -fno-diagnostics-color -O2 -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -MD -MT CMakeFiles/pound.dir/src/backend.c.o -MF CMakeFiles/pound.dir/src/backend.c.o.d -o CMakeFiles/pound.dir/src/backend.c.o -c /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/backend.c [6/8] /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/include -pipe -march=native -fno-diagnostics-color -O2 -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -MD -MT CMakeFiles/pound.dir/src/config.c.o -MF CMakeFiles/pound.dir/src/config.c.o.d -o CMakeFiles/pound.dir/src/config.c.o -c /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/config.c [7/8] /usr/bin/x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/include -pipe -march=native -fno-diagnostics-color -O2 -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -MD -MT CMakeFiles/pound.dir/src/http2.c.o -MF CMakeFiles/pound.dir/src/http2.c.o.d -o CMakeFiles/pound.dir/src/http2.c.o -c /var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0/src/http2.c [8/8] : && /usr/bin/x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/pound.dir/src/backend.c.o CMakeFiles/pound.dir/src/config.c.o CMakeFiles/pound.dir/src/hpack.c.o CMakeFiles/pound.dir/src/http.c.o CMakeFiles/pound.dir/src/http2.c.o CMakeFiles/pound.dir/src/pound.c.o CMakeFiles/pound.dir/src/util.c.o -o pound -lyaml -lnanomsg -lpthread -ltcmalloc -lmbedcrypto -lmbedx509 -lmbedtls -lpcreposix && : FAILED: pound : && /usr/bin/x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/pound.dir/src/backend.c.o CMakeFiles/pound.dir/src/config.c.o CMakeFiles/pound.dir/src/hpack.c.o CMakeFiles/pound.dir/src/http.c.o CMakeFiles/pound.dir/src/http2.c.o CMakeFiles/pound.dir/src/pound.c.o CMakeFiles/pound.dir/src/util.c.o -o pound -lyaml -lnanomsg -lpthread -ltcmalloc -lmbedcrypto -lmbedx509 -lmbedtls -lpcreposix && : /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: CMakeFiles/pound.dir/src/hpack.c.o: in function `hbuf_writebuf': hpack.c:(.text+0x256): undefined reference to `recallocarray' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: CMakeFiles/pound.dir/src/hpack.c.o: in function `hbuf_release': hpack.c:(.text+0x2c5): undefined reference to `recallocarray' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: hpack.c:(.text+0x2fc): undefined reference to `freezero' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: CMakeFiles/pound.dir/src/hpack.c.o: in function `hpack_encode_int': hpack.c:(.text+0xb95): undefined reference to `recallocarray' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: CMakeFiles/pound.dir/src/hpack.c.o: in function `hpack_huffman_decode': hpack.c:(.text+0x11fe): undefined reference to `recallocarray' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: hpack.c:(.text+0x126a): undefined reference to `freezero' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: CMakeFiles/pound.dir/src/hpack.c.o: in function `hpack_huffman_decode_str': hpack.c:(.text+0x12ca): undefined reference to `recallocarray' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: hpack.c:(.text+0x131c): undefined reference to `freezero' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: hpack.c:(.text+0x134b): undefined reference to `freezero' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: CMakeFiles/pound.dir/src/hpack.c.o: in function `hpack_decode': hpack.c:(.text+0x1676): undefined reference to `freezero' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: hpack.c:(.text+0x1724): undefined reference to `freezero' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: CMakeFiles/pound.dir/src/hpack.c.o: in function `hpack_huffman_encode': hpack.c:(.text+0x1a76): undefined reference to `freezero' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: CMakeFiles/pound.dir/src/hpack.c.o:hpack.c:(.text+0x1e86): more undefined references to `freezero' follow collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. * ERROR: www-servers/pound-3.0::gentoo failed (compile phase): * ninja -v -j4 -l0 failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 2084: Called cmake_src_compile * environment, line 802: Called cmake_build * environment, line 771: Called eninja * environment, line 1254: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=www-servers/pound-3.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-servers/pound-3.0::gentoo'`. * The complete build log is located at '/var/log/portage/www-servers:pound-3.0:20211219-214128.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-servers/pound-3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-servers/pound-3.0/temp/environment'. * Working directory: '/var/tmp/portage/www-servers/pound-3.0/work/pound-3.0_build' * S: '/var/tmp/portage/www-servers/pound-3.0/work/Pound-3.0'