* Package: dev-libs/chmlib-0.40-r1:0 * Repository: gentoo * Maintainer: marecki@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc examples kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking chmlib-0.40.tar.bz2 to /var/tmp/portage/dev-libs/chmlib-0.40-r1/work >>> Source unpacked in /var/tmp/portage/dev-libs/chmlib-0.40-r1/work >>> Preparing source in /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40 ... * Applying chmlib-0.39-stdtypes.patch ... [ ok ] * Applying chmlib-0.40-headers.patch ... patching file src/chm_http.c Hunk #1 succeeded at 34 with fuzz 2. Hunk #2 succeeded at 44 (offset 1 line). [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal --system-acdir=/var/tmp/portage/dev-libs/chmlib-0.40-r1/temp/aclocal' ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running 'autoconf --force' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: chmlib-0.40/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40 ... * econf: updating chmlib-0.40/config.sub with /usr/share/gnuconfig/config.sub * econf: updating chmlib-0.40/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/chmlib-0.40-r1 --htmldir=/usr/share/doc/chmlib-0.40-r1/html --with-sysroot=/ --libdir=/usr/lib64 --enable-examples --disable-static checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking how to print strings... printf checking for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for pthread_mutex_init in -lpthread... yes checking for lseek64... yes checking for pread64... yes checking for size_t... yes checking for GNU libc compatible malloc... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. '/var/tmp/portage/dev-libs/chmlib-0.40-r1/temp/clang14.log' -> '/var/tmp/clang/dev-libs/chmlib-0.40-r1/clang14.log' '/var/tmp/portage/dev-libs/chmlib-0.40-r1/temp/clang15.log' -> '/var/tmp/clang/dev-libs/chmlib-0.40-r1/clang15.log' >>> Compiling source in /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40 ... make -j4 Making all in src make[1]: Entering directory '/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40_build/src' clang -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I. -I/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o chm_http.o /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/chm_http.c /bin/sh ../libtool --tag=CC --mode=compile clang -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I. -I/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o chm_lib.lo /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/chm_lib.c /bin/sh ../libtool --tag=CC --mode=compile clang -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I. -I/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o lzx.lo /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/lzx.c clang -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I. -I/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o enum_chmLib.o /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/enum_chmLib.c /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/chm_http.c:194:73: warning: clang -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I. -I/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o enumdir_chmLib.o /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/enumdir_chmLib.c passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ...= accept(server.socket, (struct sockaddr *)&bindAddr, &addrLen); ^~~~~~~~ /usr/include/sys/socket.h:307:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ 1 warning generated. clang -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I. -I/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o extract_chmLib.o /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/extract_chmLib.c libtool: compile: clang -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" "-DPACKAGE_STRING=\"chmlib 0.40\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I. -I/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/chm_lib.c -fPIC -DPIC -o .libs/chm_lib.o libtool: compile: clang -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" "-DPACKAGE_STRING=\"chmlib 0.40\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I. -I/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/lzx.c -fPIC -DPIC -o .libs/lzx.o clang -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I. -I/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o test_chmLib.o /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/test_chmLib.c /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/chm_lib.c:738:15: error: call to undeclared function 'pread64'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] readLen = pread64(h->fd, buf, (long)len, os); ^ /var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40/src/chm_lib.c:738:15: note: did you mean 'pread'? /usr/include/unistd.h:389:16: note: 'pread' declared here extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, ^ 1 error generated. make[1]: *** [Makefile:557: chm_lib.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40_build/src' make: *** [Makefile:387: all-recursive] Error 1 * ERROR: dev-libs/chmlib-0.40-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/chmlib-0.40-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/chmlib-0.40-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:chmlib-0.40-r1:20220917-195737.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/chmlib-0.40-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/chmlib-0.40-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40_build' * S: '/var/tmp/portage/dev-libs/chmlib-0.40-r1/work/chmlib-0.40'