+ 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]: Entering directory '/home/pbulk/build/security/chkrootkit/work/chkrootkit-0.58b' cc -pipe -O2 -o chklastlog chklastlog.c cc -pipe -O2 -o chkwtmp chkwtmp.c In file included from /usr/include/string.h:495, from chkwtmp.c:28: In function 'memcpy', inlined from 'main' at chkwtmp.c:73:8: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 14 [-Wstringop-overflow=] return __builtin___memcpy_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize0 (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -D_FILE_OFFSET_BITS=64 -o ifpromisc ifpromisc.c In file included from /usr/include/string.h:495, from chklastlog.c:43: In function 'memcpy', inlined from 'main' at chklastlog.c:114:9: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 14 [-Wstringop-overflow=] return __builtin___memcpy_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize0 (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'main' at chklastlog.c:115:9: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 17 [-Wstringop-overflow=] return __builtin___memcpy_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize0 (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 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] 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:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ cc -Wl,-zrelro -Wl,-R/usr/pkg/lib -o chkdirs chkdirs.c cc -Wl,-zrelro -Wl,-R/usr/pkg/lib -o check_wtmpx check_wtmpx.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/8/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/8/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/8/include/limits.h:34, from chkdirs.c:31: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ 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:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ cc -Wl,-zrelro -Wl,-R/usr/pkg/lib -o chkutmp chkutmp.c In file included from /usr/include/unistd.h:25, from chkutmp.c:34: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # 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]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/pbulk/build/security/chkrootkit/work/chkrootkit-0.58b' gmake: *** [Makefile:34: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/security/chkrootkit *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/security/chkrootkit