+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/chkrootkit-0.58b/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/chkrootkit-0.58b/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for chkrootkit-0.58b => Substituting "helper" in chkrootkit => Fixing hard-coded VARBASE. *** stopping make sense *** make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/home/pbulk/build/security/chkrootkit/work/chkrootkit-0.58b' cc -pipe -O2 -o chklastlog chklastlog.c In file included from /usr/include/string.h:519, from chklastlog.c:43: In function 'memcpy', inlined from 'main' at chklastlog.c:114:9: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 14 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'main' at chklastlog.c:115:9: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 17 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -o chkwtmp chkwtmp.c In file included from /usr/include/string.h:519, from chkwtmp.c:28: In function 'memcpy', inlined from 'main' at chkwtmp.c:73:8: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 14 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -D_FILE_OFFSET_BITS=64 -o ifpromisc ifpromisc.c ifpromisc.c: In function 'read_proc_net_packet': ifpromisc.c:108:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | fgets(buf, 80, proc); | ^~~~~~~~~~~~~~~~~~~~ ifpromisc.c: In function 'walk_process': ifpromisc.c:204:13: warning: ignoring return value of 'readlink' declared with attribute 'warn_unused_result' [-Wunused-result] 204 | readlink(path, link, sizeof(link) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wl,-zrelro -Wl,-R/usr/pkg/lib -o chkproc chkproc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from chkproc.c:64: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc -Wl,-zrelro -Wl,-R/usr/pkg/lib -o chkdirs chkdirs.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/11/include/limits.h:203, from /usr/lib/gcc/x86_64-redhat-linux/11/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/11/include/limits.h:34, from chkdirs.c:31: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc -Wl,-zrelro -Wl,-R/usr/pkg/lib -o check_wtmpx check_wtmpx.c cc -static -Wl,-zrelro -Wl,-R/usr/pkg/lib -o strings-static strings.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from strings.c:12: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /bin/ld: cannot find -lc collect2: error: ld returned 1 exit status make[1]: *** [Makefile:68: strings-static] Error 1 make[1]: Leaving directory '/home/pbulk/build/security/chkrootkit/work/chkrootkit-0.58b' make: *** [Makefile:34: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/chkrootkit *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/chkrootkit