* Package: sys-libs/libhugetlbfs-2.23 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using python3.9 to build >>> Unpacking source... >>> Unpacking libhugetlbfs-2.23.tar.gz to /var/tmp/portage/sys-libs/libhugetlbfs-2.23/work >>> Source unpacked in /var/tmp/portage/sys-libs/libhugetlbfs-2.23/work >>> Preparing source in /var/tmp/portage/sys-libs/libhugetlbfs-2.23/work/libhugetlbfs-2.23 ... * Applying libhugetlbfs-2.6-fixup-testsuite.patch ... patching file tests/run_tests.py Hunk #1 succeeded at 72 with fuzz 2 (offset 16 lines). Hunk #2 succeeded at 668 with fuzz 2 (offset 140 lines). [ ok ] * Applying libhugetlbfs-2.23-uncompressed-man-pages.patch ... [ ok ] * Applying libhugetlbfs-2.23-allow-building-against-glibc-2.34.patch ... patching file Makefile patching file morecore.c patching file tests/run_tests.py Hunk #2 succeeded at 78 with fuzz 2 (offset 5 lines). Hunk #3 succeeded at 316 (offset 5 lines). Hunk #4 succeeded at 391 (offset 5 lines). Hunk #5 succeeded at 412 (offset 5 lines). Hunk #6 succeeded at 420 (offset 5 lines). Hunk #7 succeeded at 573 (offset 5 lines). Hunk #8 succeeded at 638 (offset 5 lines). Hunk #9 succeeded at 675 (offset 5 lines). Hunk #10 succeeded at 799 (offset 6 lines). Hunk #11 succeeded at 854 (offset 6 lines). [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-libs/libhugetlbfs-2.23/work/libhugetlbfs-2.23 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-libs/libhugetlbfs-2.23/work/libhugetlbfs-2.23 ... make -j4 CC=x86_64-gentoo-linux-musl-gcc libs tools ./localversion version ./libhugetlbfs_testprobes.h ./libhugetlbfs_privutils.h ./libhugetlbfs_internal.h ./libhugetlbfs_debug.h ./kernel-features.h ./hugetlbfs.h *.c *.lds Makefile version string: 2.23 x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -pipe -march=native -fno-diagnostics-color -O2 -Wall -fPIC -o obj64/elflink.o -c elflink.c x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -o obj64/sys-elf_x86_64.o -c sys-elf_x86_64.S x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -pipe -march=native -fno-diagnostics-color -O2 -Wall -fPIC -o obj64/hugeutils.o -c hugeutils.c x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -pipe -march=native -fno-diagnostics-color -O2 -Wall -fPIC -o obj64/version.o -c version.c version.c:3:19: warning: 'libhugetlbfs_version' defined but not used [-Wunused-const-variable=] 3 | static const char libhugetlbfs_version[] = "VERSION: "VERSION; | ^~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -pipe -march=native -fno-diagnostics-color -O2 -Wall -fPIC -o obj64/init.o -c init.c x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -pipe -march=native -fno-diagnostics-color -O2 -Wall -fPIC -o obj64/morecore.o -c morecore.c x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -pipe -march=native -fno-diagnostics-color -O2 -Wall -fPIC -o obj64/debug.o -c debug.c x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -pipe -march=native -fno-diagnostics-color -O2 -Wall -fPIC -o obj64/alloc.o -c alloc.c x86_64-gentoo-linux-musl-gcc -D__LIBHUGETLBFS__ -pipe -march=native -fno-diagnostics-color -O2 -Wall -fPIC -o obj64/shm.o -c shm.c shm.c:52:39: error: expected ',' or ';' before '__THROW' 52 | __attribute__((weak)) __THROW __nonnull ((2)); | ^~~~~~~ shm.c:53:51: error: expected ',' or ';' before '__THROW' 53 | extern char *dlerror (void) __attribute__((weak)) __THROW; | ^~~~~~~ make: *** [Makefile:305: obj64/shm.o] Error 1 make: *** Waiting for unfinished jobs.... alloc.c: In function 'cachecolor': alloc.c:264:42: error: '_SC_LEVEL2_CACHE_LINESIZE' undeclared (first use in this function) 264 | cacheline_size = sysconf(_SC_LEVEL2_CACHE_LINESIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ alloc.c:264:42: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:305: obj64/alloc.o] Error 1 * ERROR: sys-libs/libhugetlbfs-2.23::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-libs/libhugetlbfs-2.23::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/libhugetlbfs-2.23::gentoo'`. * The complete build log is located at '/var/log/portage/sys-libs:libhugetlbfs-2.23:20211210-101828.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/libhugetlbfs-2.23/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libhugetlbfs-2.23/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/libhugetlbfs-2.23/work/libhugetlbfs-2.23' * S: '/var/tmp/portage/sys-libs/libhugetlbfs-2.23/work/libhugetlbfs-2.23'