+ 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/sunclock-3.57nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sunclock-3.57nb1/work.log ===> Building for sunclock-3.57nb1 --- all --- --- sunclock.o --- --- astro.o --- --- widgets.o --- --- all --- cd editkit ; xmkmf ; make emx DESTDIR=/home/pbulk/build/time/sunclock/work/.destdir BINDIR=/opt/pkg/bin MANDIR=/home/pbulk/build/time/sunclock/work/.destdir/opt/pkg/share/sunclock/editkit SHAREDIR=/home/pbulk/build/time/sunclock/work/.destdir/opt/pkg/share/sunclock/editkit DOCDIR=/opt/pkg/share/sunclock/doc --- sunclock.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -DZLIB -DSHAREDIR=\"/opt/pkg/share/sunclock\" -DEMXBINDIR=\"/opt/pkg/bin\" -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DUSE_PUTENV -I/opt/pkg/include -DUSE_PUTENV -I/opt/pkg/include -c sunclock.c --- astro.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -DZLIB -DSHAREDIR=\"/opt/pkg/share/sunclock\" -DEMXBINDIR=\"/opt/pkg/bin\" -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DUSE_PUTENV -I/opt/pkg/include -DUSE_PUTENV -I/opt/pkg/include -c astro.c --- all --- mv -f Makefile Makefile.bak --- widgets.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -DZLIB -DSHAREDIR=\"/opt/pkg/share/sunclock\" -DEMXBINDIR=\"/opt/pkg/bin\" -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DUSE_PUTENV -I/opt/pkg/include -DUSE_PUTENV -I/opt/pkg/include -c widgets.c --- all --- imake -DUseInstalled -I/opt/pkg/lib/X11/config warning: could not parse version number in output of: cc -V 2>&1 warning: could not parse version number in output of: /opt/SUNWspro/bin/cc -V 2>&1 warning: could not parse version number in output of: CC -V 2>&1 warning: could not parse version number in output of: /opt/SUNWspro/bin/CC -V 2>&1 imake: executing: /opt/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -DSVR4 -D__amd64 -debuglog .imake.cpplog -DUseInstalled -I/opt/pkg/lib/X11/config -DHasGcc2=YES -DHasGcc2ForCplusplus=YES .imake.start.c .imake.start.c:8:9: Warning: non-identical redefinition of HasGcc2 :12:1: Previous definition was here --- sunclock.o --- sunclock.c: In function 'dms2decim': sunclock.c:894:9: error: implicit declaration of function 'index' [-Wimplicit-function-declaration] 894 | if (index(string, '°')) { | ^~~~~ sunclock.c:894:9: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] sunclock.c: In function 'searchCityLocation': sunclock.c:935:10: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 935 | if (index(params, '|')) { | ^~~~~ sunclock.c: In function 'drawLabels': sunclock.c:3153:16: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 3153 | ptr = index(text,'\n'); | ^~~~~ --- widgets.o --- widgets.c: In function 'drawButton': widgets.c:728:49: error: implicit declaration of function 'index' [-Wimplicit-function-declaration] 728 | if (win==Menu && do_dock && (s[0]==c[0]) && index(WeakChars,c[0])) | ^~~~~ widgets.c:728:49: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] widgets.c: In function 'helpHint': widgets.c:785:13: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 785 | if (index("CDS", key)) | ^~~~~ widgets.c:787:13: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 787 | if (index("ABGJ'", key)) { | ^~~~~ *** [widgets.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/time/sunclock/work/sunclock-3.57 --- sunclock.o --- *** [sunclock.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/time/sunclock/work/sunclock-3.57 --- all --- *** [all] Error code 6 bmake: stopped making "all" in /home/pbulk/build/time/sunclock/work/sunclock-3.57 bmake: 3 errors bmake: stopped making "all" in /home/pbulk/build/time/sunclock/work/sunclock-3.57 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/time/sunclock *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/time/sunclock