+ 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/libcomprex-0.3.3nb39/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libcomprex-0.3.3nb39/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for libcomprex-0.3.3nb39 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in debian Making all in docs --- all-recursive --- Making all in api --- all-recursive --- Making all in html Making all in man Making all in intl Making all in libltdl --- ltdl.lo --- /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -c ltdl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c ltdl.c -o ltdl.o >/dev/null 2>&1 --- libltdlc.la --- /usr/bin/bash ./libtool --mode=link gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -o libltdlc.la ltdl.lo -ldl -lintl -liconv libtool: link: ar cr .libs/libltdlc.a .libs/ltdl.o libtool: link: ranlib .libs/libltdlc.a libtool: link: ( cd ".libs" && rm -f "libltdlc.la" && ln -s "../libltdlc.la" "libltdlc.la" ) Making all in modules --- all-recursive --- Making all in archive --- all-recursive --- Making all in ar --- ar.lo --- --- header.lo --- --- utils.lo --- --- ar.lo --- source='ar.c' object='ar.lo' libtool=yes depfile='.deps/ar.Plo' tmpdepfile='.deps/ar.TPlo' depmode=gcc3 /usr/bin/bash ../../../depcomp /usr/bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I/opt/pkg/include -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -Wall -c -o ar.lo `test -f 'ar.c' || echo './'`ar.c --- header.lo --- source='header.c' object='header.lo' libtool=yes depfile='.deps/header.Plo' tmpdepfile='.deps/header.TPlo' depmode=gcc3 /usr/bin/bash ../../../depcomp /usr/bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I/opt/pkg/include -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -Wall -c -o header.lo `test -f 'header.c' || echo './'`header.c --- utils.lo --- source='utils.c' object='utils.lo' libtool=yes depfile='.deps/utils.Plo' tmpdepfile='.deps/utils.TPlo' depmode=gcc3 /usr/bin/bash ../../../depcomp /usr/bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I/opt/pkg/include -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -Wall -c -o utils.lo `test -f 'utils.c' || echo './'`utils.c --- header.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT header.lo -MD -MP -MF .deps/header.TPlo.809675 -c header.c -fPIC -DPIC -o .libs/header.o --- ar.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT ar.lo -MD -MP -MF .deps/ar.TPlo.809676 -c ar.c -fPIC -DPIC -o .libs/ar.o --- utils.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT utils.lo -MD -MP -MF .deps/utils.TPlo.809677 -c utils.c -fPIC -DPIC -o .libs/utils.o --- ar.lo --- ar.c: In function '__seekFunc': ar.c:65:17: warning: variable 'file' set but not used [-Wunused-but-set-variable] 65 | CxFile *file; | ^~~~ ar.c: In function '__closeFunc': ar.c:86:17: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 86 | free(fp->moduleData); | ^~~~ ar.c:24:1: note: include '' or provide a declaration of 'free' 23 | #include "ar.h" +++ |+#include 24 | ar.c:86:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 86 | free(fp->moduleData); | ^~~~ ar.c:86:17: note: include '' or provide a declaration of 'free' ar.c: In function 'readArchive': ar.c:119:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 119 | free(nameTable); | ^~~~ ar.c:119:33: note: include '' or provide a declaration of 'free' In file included from ar.h:27, from ar.c:23: ar.c:131:55: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ar.c:131:55: note: include '' or provide a declaration of 'malloc' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ar.c:131:55: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ar.c:131:55: note: include '' or provide a declaration of 'malloc' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ../../../libcomprex/internal.h:108:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:17: note: include '' or provide a declaration of 'exit' 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:17: note: include '' or provide a declaration of 'exit' 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: error: 'EXIT_FAILURE' undeclared (first use in this function) 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: note: 'EXIT_FAILURE' is defined in header ''; this is probably fixable by adding '#include ' 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: note: each undeclared identifier is reported only once for each function it appears in 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ar.c:178:62: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 178 | MEM_CHECK(filename = (char *)malloc(len + 1)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ar.c:178:62: note: include '' or provide a declaration of 'malloc' 178 | MEM_CHECK(filename = (char *)malloc(len + 1)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ../../../libcomprex/internal.h:108:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:178:33: note: in expansion of macro 'MEM_CHECK' 178 | MEM_CHECK(filename = (char *)malloc(len + 1)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:17: note: include '' or provide a declaration of 'exit' 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:178:33: note: in expansion of macro 'MEM_CHECK' 178 | MEM_CHECK(filename = (char *)malloc(len + 1)); | ^~~~~~~~~ ar.c:186:52: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 186 | filename = (char *)malloc(16); | ^~~~~~ ar.c:186:52: note: include '' or provide a declaration of 'malloc' ar.c:203:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 203 | free(filename); | ^~~~ ar.c:203:25: note: include '' or provide a declaration of 'free' ar.c:230:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 230 | free(nameTable); | ^~~~ ar.c:230:17: note: include '' or provide a declaration of 'free' ar.c: In function 'saveArchive': ar.c:289:63: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 289 | MEM_CHECK(newSymTab = (char *)malloc(newSymTabBufSize)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ar.c:289:63: note: include '' or provide a declaration of 'malloc' 289 | MEM_CHECK(newSymTab = (char *)malloc(newSymTabBufSize)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ../../../libcomprex/internal.h:108:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:289:33: note: in expansion of macro 'MEM_CHECK' 289 | MEM_CHECK(newSymTab = (char *)malloc(newSymTabBufSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:17: note: include '' or provide a declaration of 'exit' 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:289:33: note: in expansion of macro 'MEM_CHECK' 289 | MEM_CHECK(newSymTab = (char *)malloc(newSymTabBufSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: error: 'EXIT_FAILURE' undeclared (first use in this function) 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:289:33: note: in expansion of macro 'MEM_CHECK' 289 | MEM_CHECK(newSymTab = (char *)malloc(newSymTabBufSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: note: 'EXIT_FAILURE' is defined in header ''; this is probably fixable by adding '#include ' 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:289:33: note: in expansion of macro 'MEM_CHECK' 289 | MEM_CHECK(newSymTab = (char *)malloc(newSymTabBufSize)); | ^~~~~~~~~ ar.c:297:41: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 297 | free(symtab); | ^~~~ ar.c:297:41: note: include '' or provide a declaration of 'free' ar.c:319:49: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 319 | i = snprintf(header.size, 10, "%d", symtabLen); | ~^ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld ar.c:395:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 395 | free(symtab); | ^~~~ ar.c:395:17: note: include '' or provide a declaration of 'free' ar.c: In function 'openFile': ar.c:428:46: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 428 | MEM_CHECK(fileData = (CxArFileData *)malloc(sizeof(CxArFileData))); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ar.c:428:46: note: include '' or provide a declaration of 'malloc' 428 | MEM_CHECK(fileData = (CxArFileData *)malloc(sizeof(CxArFileData))); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ../../../libcomprex/internal.h:108:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:428:9: note: in expansion of macro 'MEM_CHECK' 428 | MEM_CHECK(fileData = (CxArFileData *)malloc(sizeof(CxArFileData))); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:17: note: include '' or provide a declaration of 'exit' 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:428:9: note: in expansion of macro 'MEM_CHECK' 428 | MEM_CHECK(fileData = (CxArFileData *)malloc(sizeof(CxArFileData))); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: error: 'EXIT_FAILURE' undeclared (first use in this function) 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:428:9: note: in expansion of macro 'MEM_CHECK' 428 | MEM_CHECK(fileData = (CxArFileData *)malloc(sizeof(CxArFileData))); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: note: 'EXIT_FAILURE' is defined in header ''; this is probably fixable by adding '#include ' 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:428:9: note: in expansion of macro 'MEM_CHECK' 428 | MEM_CHECK(fileData = (CxArFileData *)malloc(sizeof(CxArFileData))); | ^~~~~~~~~ ar.c: In function 'saveArchive': ar.c:317:17: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 317 | strncpy(header.name, "//", 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar.c:322:17: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 322 | strncpy(header.fmag, AR_FMAG, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar.c:376:25: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 376 | strncpy(header.fmag, AR_FMAG, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- header.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT header.lo -MD -MP -MF .deps/header.TPlo.809675 -c header.c -o header.o >/dev/null 2>&1 --- ar.lo --- *** [ar.lo] Error code 1 bmake[4]: stopped making "all" in /home/pbulk/build/archivers/libcomprex/work/libcomprex-0.3.3/modules/archive/ar --- utils.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include -I/home/pbulk/build/archivers/libcomprex/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT utils.lo -MD -MP -MF .deps/utils.TPlo.809677 -c utils.c -o utils.o >/dev/null 2>&1 bmake[4]: 1 error bmake[4]: stopped making "all" in /home/pbulk/build/archivers/libcomprex/work/libcomprex-0.3.3/modules/archive/ar *** [all-recursive] Error code 1 bmake[3]: stopped making "all" in /home/pbulk/build/archivers/libcomprex/work/libcomprex-0.3.3/modules/archive bmake[3]: 1 error bmake[3]: stopped making "all" in /home/pbulk/build/archivers/libcomprex/work/libcomprex-0.3.3/modules/archive *** [all-recursive] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/archivers/libcomprex/work/libcomprex-0.3.3/modules bmake[2]: 1 error bmake[2]: stopped making "all" in /home/pbulk/build/archivers/libcomprex/work/libcomprex-0.3.3/modules *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /home/pbulk/build/archivers/libcomprex/work/libcomprex-0.3.3 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /home/pbulk/build/archivers/libcomprex/work/libcomprex-0.3.3 *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/archivers/libcomprex/work/libcomprex-0.3.3 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/archivers/libcomprex/work/libcomprex-0.3.3 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/libcomprex *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/libcomprex