+ 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/elk-3.99.8nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/elk-3.99.8nb3/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for elk-3.99.8nb3 /opt/pkg/bin/bmake all-recursive Making all in include Making all in src /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/opt/pkg/include -DSCM_DIR="\"/opt/pkg/share/elk\"" -DLIB_DIR="\"/opt/pkg/lib/elk\"" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libelk_la-autoload.lo -MD -MP -MF .deps/libelk_la-autoload.Tpo -c -o libelk_la-autoload.lo `test -f 'autoload.c' || echo './'`autoload.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-autoload.lo -MD -MP -MF .deps/libelk_la-autoload.Tpo -c autoload.c -fPIC -DPIC -o .libs/libelk_la-autoload.o autoload.c:37:6: warning: no previous prototype for 'Init_Auto' [-Wmissing-prototypes] 37 | void Init_Auto (void) { | ^~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-autoload.lo -MD -MP -MF .deps/libelk_la-autoload.Tpo -c autoload.c -o libelk_la-autoload.o >/dev/null 2>&1 mv -f .deps/libelk_la-autoload.Tpo .deps/libelk_la-autoload.Plo /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/opt/pkg/include -DSCM_DIR="\"/opt/pkg/share/elk\"" -DLIB_DIR="\"/opt/pkg/lib/elk\"" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libelk_la-bignum.lo -MD -MP -MF .deps/libelk_la-bignum.Tpo -c -o libelk_la-bignum.lo `test -f 'bignum.c' || echo './'`bignum.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-bignum.lo -MD -MP -MF .deps/libelk_la-bignum.Tpo -c bignum.c -fPIC -DPIC -o .libs/libelk_la-bignum.o bignum.c:62:8: warning: no previous prototype for 'Copy_Bignum' [-Wmissing-prototypes] 62 | Object Copy_Bignum (Object x) { | ^~~~~~~~~~~ bignum.c:76:8: warning: no previous prototype for 'Copy_S_Bignum' [-Wmissing-prototypes] 76 | Object Copy_S_Bignum (struct S_Bignum *s) { | ^~~~~~~~~~~~~ bignum.c:110:8: warning: no previous prototype for 'Reduce_Bignum' [-Wmissing-prototypes] 110 | Object Reduce_Bignum (Object x) { | ^~~~~~~~~~~~~ bignum.c:196:6: warning: no previous prototype for 'Print_Bignum' [-Wmissing-prototypes] 196 | void Print_Bignum (Object port, Object x) { | ^~~~~~~~~~~~ In file included from ../include/kernel.h:47, from bignum.c:37: bignum.c: In function 'Print_Bignum': ../include/stkmem.h:57:26: warning: variable '_Check_Alloca_Begin' set but not used [-Wunused-but-set-variable] 57 | #define Alloca_Begin int _Check_Alloca_Begin | ^~~~~~~~~~~~~~~~~~~ bignum.c:201:5: note: in expansion of macro 'Alloca_Begin' 201 | Alloca_Begin; | ^~~~~~~~~~~~ bignum.c: In function 'Bignum_To_String': ../include/stkmem.h:57:26: warning: variable '_Check_Alloca_Begin' set but not used [-Wunused-but-set-variable] 57 | #define Alloca_Begin int _Check_Alloca_Begin | ^~~~~~~~~~~~~~~~~~~ bignum.c:243:5: note: in expansion of macro 'Alloca_Begin' 243 | Alloca_Begin; | ^~~~~~~~~~~~ bignum.c: At top level: bignum.c:290:5: warning: no previous prototype for 'Bignum_To_Integer' [-Wmissing-prototypes] 290 | int Bignum_To_Integer (Object x) { | ^~~~~~~~~~~~~~~~~ bignum.c:485:5: warning: no previous prototype for 'Bignum_Mantissa_Cmp' [-Wmissing-prototypes] 485 | int Bignum_Mantissa_Cmp (register struct S_Bignum *x, | ^~~~~~~~~~~~~~~~~~~ bignum.c:504:5: warning: no previous prototype for 'Bignum_Cmp' [-Wmissing-prototypes] 504 | int Bignum_Cmp (register struct S_Bignum *x, register struct S_Bignum *y) { | ^~~~~~~~~~ bignum.c:538:8: warning: no previous prototype for 'General_Bignum_Plus_Minus' [-Wmissing-prototypes] 538 | Object General_Bignum_Plus_Minus (Object x, Object y, int neg) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ bignum.c: In function 'Bignum_Divide': ../include/stkmem.h:57:26: warning: variable '_Check_Alloca_Begin' set but not used [-Wunused-but-set-variable] 57 | #define Alloca_Begin int _Check_Alloca_Begin | ^~~~~~~~~~~~~~~~~~~ bignum.c:739:5: note: in expansion of macro 'Alloca_Begin' 739 | Alloca_Begin; | ^~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-bignum.lo -MD -MP -MF .deps/libelk_la-bignum.Tpo -c bignum.c -o libelk_la-bignum.o >/dev/null 2>&1 mv -f .deps/libelk_la-bignum.Tpo .deps/libelk_la-bignum.Plo /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/opt/pkg/include -DSCM_DIR="\"/opt/pkg/share/elk\"" -DLIB_DIR="\"/opt/pkg/lib/elk\"" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libelk_la-bool.lo -MD -MP -MF .deps/libelk_la-bool.Tpo -c -o libelk_la-bool.lo `test -f 'bool.c' || echo './'`bool.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-bool.lo -MD -MP -MF .deps/libelk_la-bool.Tpo -c bool.c -fPIC -DPIC -o .libs/libelk_la-bool.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-bool.lo -MD -MP -MF .deps/libelk_la-bool.Tpo -c bool.c -o libelk_la-bool.o >/dev/null 2>&1 mv -f .deps/libelk_la-bool.Tpo .deps/libelk_la-bool.Plo /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/opt/pkg/include -DSCM_DIR="\"/opt/pkg/share/elk\"" -DLIB_DIR="\"/opt/pkg/lib/elk\"" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libelk_la-char.lo -MD -MP -MF .deps/libelk_la-char.Tpo -c -o libelk_la-char.lo `test -f 'char.c' || echo './'`char.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-char.lo -MD -MP -MF .deps/libelk_la-char.Tpo -c char.c -fPIC -DPIC -o .libs/libelk_la-char.o char.c:99:5: warning: no previous prototype for 'General_Chrcmp' [-Wmissing-prototypes] 99 | int General_Chrcmp (Object c1, Object c2, register int ci) { | ^~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-char.lo -MD -MP -MF .deps/libelk_la-char.Tpo -c char.c -o libelk_la-char.o >/dev/null 2>&1 mv -f .deps/libelk_la-char.Tpo .deps/libelk_la-char.Plo /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/opt/pkg/include -DSCM_DIR="\"/opt/pkg/share/elk\"" -DLIB_DIR="\"/opt/pkg/lib/elk\"" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libelk_la-cont.lo -MD -MP -MF .deps/libelk_la-cont.Tpo -c -o libelk_la-cont.lo `test -f 'cont.c' || echo './'`cont.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-cont.lo -MD -MP -MF .deps/libelk_la-cont.Tpo -c cont.c -fPIC -DPIC -o .libs/libelk_la-cont.o cont.c:105:5: warning: no previous prototype for 'Check_Stack_Grows_Down' [-Wmissing-prototypes] 105 | int Check_Stack_Grows_Down () { | ^~~~~~~~~~~~~~~~~~~~~~ cont.c:115:14: warning: no previous prototype for 'Stack_Size' [-Wmissing-prototypes] 115 | unsigned int Stack_Size () { | ^~~~~~~~~~ cont.c: In function 'Stack_Size': cont.c:117:18: warning: initialization discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | char *pfoo = &foo; | ^ cont.c: At top level: cont.c:122:6: warning: no previous prototype for 'Grow_Stack' [-Wmissing-prototypes] 122 | void Grow_Stack (struct S_Control *cp, Object val) { | ^~~~~~~~~~ cont.c: In function 'Grow_Stack': cont.c:127:13: warning: passing argument 1 of 'memset' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | memset (buf, 0, 1); | ^~~ In file included from /usr/include/string.h:35, from cont.c:33: /usr/include/iso/string_iso.h:72:21: note: expected 'void *' but argument is of type 'volatile char *' 72 | extern void *memset(void *, int, size_t); | ^~~~~~ cont.c: At top level: cont.c:324:6: warning: no previous prototype for 'Add_Wind' [-Wmissing-prototypes] 324 | void Add_Wind (register WIND *w, Object in, Object out) { | ^~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-cont.lo -MD -MP -MF .deps/libelk_la-cont.Tpo -c cont.c -o libelk_la-cont.o >/dev/null 2>&1 mv -f .deps/libelk_la-cont.Tpo .deps/libelk_la-cont.Plo /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/opt/pkg/include -DSCM_DIR="\"/opt/pkg/share/elk\"" -DLIB_DIR="\"/opt/pkg/lib/elk\"" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libelk_la-cstring.lo -MD -MP -MF .deps/libelk_la-cstring.Tpo -c -o libelk_la-cstring.lo `test -f 'cstring.c' || echo './'`cstring.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-cstring.lo -MD -MP -MF .deps/libelk_la-cstring.Tpo -c cstring.c -fPIC -DPIC -o .libs/libelk_la-cstring.o cstring.c:49:6: warning: no previous prototype for 'Init_Cstring' [-Wmissing-prototypes] 49 | void Init_Cstring() { /* Preallocate memory to avoid fragmentation */ | ^~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-cstring.lo -MD -MP -MF .deps/libelk_la-cstring.Tpo -c cstring.c -o libelk_la-cstring.o >/dev/null 2>&1 mv -f .deps/libelk_la-cstring.Tpo .deps/libelk_la-cstring.Plo /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/opt/pkg/include -DSCM_DIR="\"/opt/pkg/share/elk\"" -DLIB_DIR="\"/opt/pkg/lib/elk\"" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libelk_la-debug.lo -MD -MP -MF .deps/libelk_la-debug.Tpo -c -o libelk_la-debug.lo `test -f 'debug.c' || echo './'`debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-debug.lo -MD -MP -MF .deps/libelk_la-debug.Tpo -c debug.c -fPIC -DPIC -o .libs/libelk_la-debug.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-debug.lo -MD -MP -MF .deps/libelk_la-debug.Tpo -c debug.c -o libelk_la-debug.o >/dev/null 2>&1 mv -f .deps/libelk_la-debug.Tpo .deps/libelk_la-debug.Plo /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/opt/pkg/include -DSCM_DIR="\"/opt/pkg/share/elk\"" -DLIB_DIR="\"/opt/pkg/lib/elk\"" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libelk_la-dump.lo -MD -MP -MF .deps/libelk_la-dump.Tpo -c -o libelk_la-dump.lo `test -f 'dump.c' || echo './'`dump.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/pbulk/build/lang/elk/work/.buildlink/include -DSCM_DIR=\"/opt/pkg/share/elk\" -DLIB_DIR=\"/opt/pkg/lib/elk\" -I/usr/include/libelf -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libelk_la-dump.lo -MD -MP -MF .deps/libelk_la-dump.Tpo -c dump.c -fPIC -DPIC -o .libs/libelk_la-dump.o dump.c:57:6: warning: no previous prototype for 'Init_Dump' [-Wmissing-prototypes] 57 | void Init_Dump () { | ^~~~~~~~~ In file included from dump.c:113: dump-elf.c: In function 'P_Dump': dump-elf.c:47:13: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 47 | if (strcmp (sectstr+osecthdr[_i].sh_name, (name)) == 0) break;\ | ^~~~~~ dump-elf.c:141:5: note: in expansion of macro 'FIND_SECTHDR' 141 | FIND_SECTHDR (".bss", obssndx); | ^~~~~~~~~~~~ dump-elf.c:40:1: note: include '' or provide a declaration of 'strcmp' 39 | #include +++ |+#include 40 | dump-elf.c:93:9: warning: variable 'mdebugndx' set but not used [-Wunused-but-set-variable] 93 | int mdebugndx; | ^~~~~~~~~ *** Error code 1 Stop. bmake[2]: stopped making "all" in /home/pbulk/build/lang/elk/work/elk-3.99.8/src *** Error code 1 Stop. bmake[1]: stopped making "all-recursive" in /home/pbulk/build/lang/elk/work/elk-3.99.8 *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/lang/elk/work/elk-3.99.8 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/elk *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/elk