* Package: app-forensics/chkrootkit-0.57:0 * Repository: gentoo * Maintainer: martin.dummer@gmx.net proxy-maint@gentoo.org * USE: abi_x86_64 amd64 cron elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking chkrootkit-0.57.tar.gz to /var/tmp/portage/app-forensics/chkrootkit-0.57/work >>> Unpacking chkrootkit-0.57-gentoo.patch.bz2 to /var/tmp/portage/app-forensics/chkrootkit-0.57/work >>> Source unpacked in /var/tmp/portage/app-forensics/chkrootkit-0.57/work >>> Preparing source in /var/tmp/portage/app-forensics/chkrootkit-0.57/work/chkrootkit-0.57 ... * Applying chkrootkit-0.57-gentoo.patch ... [ ok ] * Applying chkrootkit-0.55-fcntl_h.patch ... [ ok ] * Applying chkrootkit-0.55-limits_h.patch ... [ ok ] >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/app-forensics/chkrootkit-0.57/work/chkrootkit-0.57 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-forensics/chkrootkit-0.57/work/chkrootkit-0.57 ... make -j4 CC=clang STRIP=/bin/true sense clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_LASTLOG_H -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o chklastlog chklastlog.c clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_LASTLOG_H -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o chkwtmp chkwtmp.c clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_LASTLOG_H -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -D_FILE_OFFSET_BITS=64 -o ifpromisc ifpromisc.c clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_LASTLOG_H -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o chkproc chkproc.c chkwtmp.c:46:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 46 | void printit(counter, start, end) | ^ chkproc.c:132:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 132 | fgets(buf, MAX_BUF, stream); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~ chkproc.c:135:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 135 | fgets(buf, MAX_BUF, stream); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~ chkproc.c:198:32: warning: '/*' within block comment [-Wcomment] 198 | /* printf("pv = %d\n\r", pv); /* -- DEBUG */ | ^ chkproc.c:201:37: warning: '/*' within block comment [-Wcomment] 201 | /* printf("pscmd = %s\n\r", pscmd); /* -- DEBUG */ | ^ chkproc.c:246:32: warning: '/*' within block comment [-Wcomment] 246 | /* printf(">>PS %s<<\n", p); /* -- DEBUG */ | ^ chkproc.c:281:37: warning: '/*' within block comment [-Wcomment] 281 | /* printf("%s\n", tmp_d_name); /* -- DEBUG */ | ^ ifpromisc.c:108:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 108 | fgets(buf, 80, proc); | ^~~~~ ~~~~~~~~~~~~~ ifpromisc.c:204:13: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 204 | readlink(path, link, sizeof(link) - 1); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. 2 warnings generated. 6 warnings generated. clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_LASTLOG_H -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o chkdirs chkdirs.c clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_LASTLOG_H -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o check_wtmpx check_wtmpx.c clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_LASTLOG_H -static -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o strings-static strings.c clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_LASTLOG_H -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o chkutmp chkutmp.c chkutmp.c:90:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 90 | fgets(line, MAXREAD, ps_fp); /* skip header */ | ^~~~~ ~~~~~~~~~~~~~~~~~~~~ chkutmp.c:122:20: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 122 | fgets(line, MAXREAD, ps_fp); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. ld.lld: error: undefined symbol: __unordtf2 >>> referenced by printf_fphex.o:(__printf_fphex_buffer) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc.a >>> referenced by printf_fphex.o:(__printf_fphex_buffer) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc.a >>> referenced by printf_fp.o:(__printf_fp_buffer_1.isra.0) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc.a >>> referenced 1 more times ld.lld: error: undefined symbol: __letf2 >>> referenced by printf_fphex.o:(__printf_fphex_buffer) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc.a >>> referenced by printf_fp.o:(__printf_fp_buffer_1.isra.0) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc.a clang-17: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:73: strings-static] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: app-forensics/chkrootkit-0.57::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-forensics/chkrootkit-0.57::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-forensics/chkrootkit-0.57::gentoo'`. * The complete build log is located at '/var/log/portage/app-forensics:chkrootkit-0.57:20231211-215130.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-forensics/chkrootkit-0.57/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-forensics/chkrootkit-0.57/temp/environment'. * Working directory: '/var/tmp/portage/app-forensics/chkrootkit-0.57/work/chkrootkit-0.57' * S: '/var/tmp/portage/app-forensics/chkrootkit-0.57/work/chkrootkit-0.57'