+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nulib2-2.2.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nulib2-2.2.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for nulib2-2.2.0 cd ../nufxlib-220 && /opt/pkg/bin/bmake gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Archive.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c ArchiveIO.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Bzip2.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Compress.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Crc16.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Debug.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Deferred.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Deflate.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Entry.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Expand.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c FileIO.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Funnel.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Lzc.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Lzw.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c MiscStuff.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c MiscUtils.c MiscUtils.c: In function 'Nu_ReportError': MiscUtils.c:219:9: warning: variable 'cc' set but not used [-Wunused-but-set-variable] 219 | int cc; | ^~ gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Record.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c SourceSink.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Squeeze.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Thread.c gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Value.c (sed -e "s|BUILT|`date`|" -e "s|OPTFLAGS|-pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include|" < Version.c.in > Version.c) gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -DHAVE_CONFIG_H -I/opt/pkg/include -c Version.c rm -f libnufx.a libnufx.so ar rcv libnufx.a Archive.o ArchiveIO.o Bzip2.o Compress.o Crc16.o Debug.o Deferred.o Deflate.o Entry.o Expand.o FileIO.o Funnel.o Lzc.o Lzw.o MiscStuff.o MiscUtils.o Record.o SourceSink.o Squeeze.o Thread.o Value.o Version.o ar: writing libnufx.a a - Archive.o a - ArchiveIO.o a - Bzip2.o a - Compress.o a - Crc16.o a - Debug.o a - Deferred.o a - Deflate.o a - Entry.o a - Expand.o a - FileIO.o a - Funnel.o a - Lzc.o a - Lzw.o a - MiscStuff.o a - MiscUtils.o a - Record.o a - SourceSink.o a - Squeeze.o a - Thread.o a - Value.o a - Version.o ranlib libnufx.a Building samples... gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D__unix__ -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -I. -I.. -DHAVE_CONFIG_H -I/opt/pkg/include -c Exerciser.c Exerciser.c:109:52: warning: 'kFssep' is static but used in inline function 'ExerciserState_SetArchivePath' which is not static 109 | pExerState->archiveFile = strrchr(newPath, kFssep); | ^~~~~~ gcc -o exerciser Exerciser.o -L.. -lnufx -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lz Undefined first referenced symbol in file ExerciserState_GetNuArchive Exerciser.o ExerciserState_SetNuArchive Exerciser.o ExerciserState_GetArchivePath Exerciser.o ExerciserState_SetArchivePath Exerciser.o ExerciserState_GetArchiveFile Exerciser.o ld: fatal: symbol referencing errors. No output written to exerciser collect2: error: ld returned 1 exit status *** Error code 1 Stop. bmake[2]: stopped in /home/pbulk/build/archivers/nulib2/work/nufxlib-220/samples *** Error code 1 Stop. bmake[1]: stopped in /home/pbulk/build/archivers/nulib2/work/nufxlib-220 *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/archivers/nulib2/work/nulib2-220 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/nulib2 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/nulib2