+ 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/photopc-3.07/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/photopc-3.07/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for photopc-3.07 --- all --- /opt/pkg/bin/bmake all-am --- eph_read.o --- --- eph_iob.o --- --- eph_err.o --- --- eph_cmd.o --- --- eph_read.o --- gcc -DHAVE_CONFIG_H -I. -I./dos -I./win32 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT eph_read.o -MD -MP -MF .deps/eph_read.Tpo -c -o eph_read.o eph_read.c --- eph_iob.o --- gcc -DHAVE_CONFIG_H -I. -I./dos -I./win32 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT eph_iob.o -MD -MP -MF .deps/eph_iob.Tpo -c -o eph_iob.o eph_iob.c --- eph_err.o --- gcc -DHAVE_CONFIG_H -I. -I./dos -I./win32 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT eph_err.o -MD -MP -MF .deps/eph_err.Tpo -c -o eph_err.o eph_err.c --- eph_cmd.o --- gcc -DHAVE_CONFIG_H -I. -I./dos -I./win32 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT eph_cmd.o -MD -MP -MF .deps/eph_cmd.Tpo -c -o eph_cmd.o eph_cmd.c --- eph_iob.o --- eph_iob.c:2:14: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char *rcsid="$Id: eph_iob.c,v 2.7 1999/12/11 14:10:15 crosser Exp $"; | ^~~~~ --- eph_cmd.o --- eph_cmd.c: In function 'eph_setispeed': eph_cmd.c:125:43: warning: pointer targets in passing argument 2 of 'eph_writeicmd' differ in signedness [-Wpointer-sign] 125 | if ((rc=eph_writeicmd(iob,buf,6))) return rc; | ^~~ | | | unsigned char * eph_cmd.c:106:34: note: expected 'char *' but argument is of type 'unsigned char *' 106 | eph_writeicmd(eph_iob *iob,char *data,size_t length) | ~~~~~~^~~~ eph_cmd.c: In function 'eph_setint': eph_cmd.c:150:34: warning: pointer targets in passing argument 2 of 'eph_writecmd' differ in signedness [-Wpointer-sign] 150 | if ((rc=eph_writecmd(iob,buf,6))) return rc; | ^~~ | | | unsigned char * eph_cmd.c:100:33: note: expected 'char *' but argument is of type 'unsigned char *' 100 | eph_writecmd(eph_iob *iob,char *data,size_t length) | ~~~~~~^~~~ eph_cmd.c: In function 'eph_setnullint': eph_cmd.c:171:34: warning: pointer targets in passing argument 2 of 'eph_writecmd' differ in signedness [-Wpointer-sign] 171 | if ((rc=eph_writecmd(iob,buf,2))) return rc; | ^~~ | | | unsigned char * eph_cmd.c:100:33: note: expected 'char *' but argument is of type 'unsigned char *' 100 | eph_writecmd(eph_iob *iob,char *data,size_t length) | ~~~~~~^~~~ eph_cmd.c: In function 'eph_getint': eph_cmd.c:195:34: warning: pointer targets in passing argument 2 of 'eph_writecmd' differ in signedness [-Wpointer-sign] 195 | if ((rc=eph_writecmd(iob,buf,2))) return rc; | ^~~ | | | unsigned char * eph_cmd.c:100:33: note: expected 'char *' but argument is of type 'unsigned char *' 100 | eph_writecmd(eph_iob *iob,char *data,size_t length) | ~~~~~~^~~~ eph_cmd.c:197:33: warning: pointer targets in passing argument 3 of 'eph_readpkt' differ in signedness [-Wpointer-sign] 197 | rc=eph_readpkt(iob,&pkt,buf,&size,BIGDATATIMEOUT); | ^~~ | | | unsigned char * In file included from eph_cmd.c:93: eph_priv.h:148:55: note: expected 'char *' but argument is of type 'unsigned char *' 148 | int eph_readpkt(eph_iob *iob,eph_pkthdr *pkthdr,char *buf,size_t *length,long timeout_usec); | ~~~~~~^~~ eph_cmd.c: In function 'eph_action': eph_cmd.c:232:9: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 232 | memcpy(buf+2,val,length); | ^~~~~~ eph_cmd.c:94:1: note: include '' or provide a declaration of 'memcpy' 93 | #include "eph_priv.h" +++ |+#include 94 | eph_cmd.c:232:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 232 | memcpy(buf+2,val,length); | ^~~~~~ eph_cmd.c:232:9: note: include '' or provide a declaration of 'memcpy' eph_cmd.c:235:34: warning: pointer targets in passing argument 2 of 'eph_writecmd' differ in signedness [-Wpointer-sign] 235 | if ((rc=eph_writecmd(iob,buf,length+2))) return rc; | ^~~ | | | unsigned char * eph_cmd.c:100:33: note: expected 'char *' but argument is of type 'unsigned char *' 100 | eph_writecmd(eph_iob *iob,char *data,size_t length) | ~~~~~~^~~~ eph_cmd.c: In function 'eph_setvar': eph_cmd.c:263:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 263 | getpoint=val; | ^ eph_cmd.c:285:17: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 285 | memcpy(putpoint,getpoint,maywrite); | ^~~~~~ eph_cmd.c:285:17: note: include '' or provide a declaration of 'memcpy' eph_cmd.c:292:56: warning: pointer targets in passing argument 4 of 'eph_writepkt' differ in signedness [-Wpointer-sign] 292 | if ((rc=eph_writepkt(iob,pkttyp,pktseq,buf,pktsize))) | ^~~ | | | unsigned char * eph_priv.h:145:53: note: expected 'char *' but argument is of type 'unsigned char *' 145 | int eph_writepkt(eph_iob *iob,int typ,int seq,char *data,size_t length); | ~~~~~~^~~~ eph_cmd.c: In function 'eph_getvar': eph_cmd.c:341:34: warning: pointer targets in passing argument 2 of 'eph_writecmd' differ in signedness [-Wpointer-sign] 341 | if ((rc=eph_writecmd(iob,buf,2))) return rc; | ^~~ | | | unsigned char * eph_cmd.c:100:33: note: expected 'char *' but argument is of type 'unsigned char *' 100 | eph_writecmd(eph_iob *iob,char *data,size_t length) | ~~~~~~^~~~ --- eph_read.o --- eph_read.c:2:14: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char *rcsid="$Id: eph_read.c,v 2.11 2000/07/14 06:35:39 crosser Exp $"; | ^~~~~ --- eph_err.o --- eph_err.c:2:14: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char *rcsid="$Id: eph_err.c,v 2.6 1999/08/01 21:36:54 crosser Exp $"; | ^~~~~ --- eph_read.o --- mv -f .deps/eph_read.Tpo .deps/eph_read.Po --- eph_io.o --- --- eph_err.o --- mv -f .deps/eph_err.Tpo .deps/eph_err.Po --- eph_io.o --- gcc -DHAVE_CONFIG_H -I. -I./dos -I./win32 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT eph_io.o -MD -MP -MF .deps/eph_io.Tpo -c -o eph_io.o eph_io.c --- eph_open.o --- gcc -DHAVE_CONFIG_H -I. -I./dos -I./win32 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT eph_open.o -MD -MP -MF .deps/eph_open.Tpo -c -o eph_open.o eph_open.c --- eph_io.o --- eph_io.c: In function 'eph_readpkt': eph_io.c:336:25: warning: pointer targets in passing argument 2 of 'eph_readt' differ in signedness [-Wpointer-sign] 336 | i=eph_readt(iob,buf,1,timeout_usec,&rc); | ^~~ | | | unsigned char * In file included from eph_io.c:128: eph_priv.h:133:37: note: expected 'char *' but argument is of type 'unsigned char *' 133 | size_t eph_readt(eph_iob *iob,char *buf,size_t length,long timeout_usec,int *rc); | ~~~~~~^~~ eph_io.c:357:38: warning: pointer targets in passing argument 2 of 'eph_readt' differ in signedness [-Wpointer-sign] 357 | while ((i=eph_readt(iob,buf+1+got,(unsigned)3-got,DATATIMEOUT,&rc)) > 0) { | ~~~~~^~~~ | | | unsigned char * eph_priv.h:133:37: note: expected 'char *' but argument is of type 'unsigned char *' 133 | size_t eph_readt(eph_iob *iob,char *buf,size_t length,long timeout_usec,int *rc); | ~~~~~~^~~ eph_io.c:410:36: warning: pointer targets in passing argument 2 of 'eph_readt' differ in signedness [-Wpointer-sign] 410 | while ((i=eph_readt(iob,buf+got,(unsigned)2-got,DATATIMEOUT,&rc)) > 0) { | ~~~^~~~ | | | unsigned char * eph_priv.h:133:37: note: expected 'char *' but argument is of type 'unsigned char *' 133 | size_t eph_readt(eph_iob *iob,char *buf,size_t length,long timeout_usec,int *rc); | ~~~~~~^~~ eph_io.c: In function 'eph_flushinput': eph_io.c:462:25: warning: pointer targets in passing argument 2 of 'eph_readt' differ in signedness [-Wpointer-sign] 462 | i=eph_readt(iob,&buf,1,0L,&rc); | ^~~~ | | | unsigned char * eph_priv.h:133:37: note: expected 'char *' but argument is of type 'unsigned char *' 133 | size_t eph_readt(eph_iob *iob,char *buf,size_t length,long timeout_usec,int *rc); | ~~~~~~^~~ eph_io.c: In function 'eph_waitchar': eph_io.c:484:25: warning: pointer targets in passing argument 2 of 'eph_readt' differ in signedness [-Wpointer-sign] 484 | i=eph_readt(iob,&buf,1,timeout_usec,&rc); | ^~~~ | | | unsigned char * eph_priv.h:133:37: note: expected 'char *' but argument is of type 'unsigned char *' 133 | size_t eph_readt(eph_iob *iob,char *buf,size_t length,long timeout_usec,int *rc); | ~~~~~~^~~ eph_io.c: At top level: eph_io.c:2:14: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char *rcsid="$Id: eph_io.c,v 2.20 2001/05/15 22:21:35 crosser Exp $"; | ^~~~~ --- eph_open.o --- eph_open.c:2:14: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char *rcsid="$Id: eph_open.c,v 2.25 2000/08/13 21:51:48 crosser Exp $"; | ^~~~~ mv -f .deps/eph_open.Tpo .deps/eph_open.Po --- photopc.o --- gcc -DHAVE_CONFIG_H -I. -I./dos -I./win32 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT photopc.o -MD -MP -MF .deps/photopc.Tpo -c -o photopc.o photopc.c --- eph_cmd.o --- eph_cmd.c: At top level: eph_cmd.c:2:14: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char *rcsid="$Id: eph_cmd.c,v 1.20 2001/08/28 06:28:01 crosser Exp $"; | ^~~~~ --- eph_io.o --- mv -f .deps/eph_io.Tpo .deps/eph_io.Po --- eph_iob.o --- mv -f .deps/eph_iob.Tpo .deps/eph_iob.Po --- a12scan.o --- --- fnames.o --- --- eph_cmd.o --- *** [eph_cmd.o] Error code 1 bmake[1]: stopped making "all-am" in /home/pbulk/build/graphics/photopc/work/photopc-3.07 --- fnames.o --- gcc -DHAVE_CONFIG_H -I. -I./dos -I./win32 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT fnames.o -MD -MP -MF .deps/fnames.Tpo -c -o fnames.o fnames.c --- photopc.o --- photopc.c: In function 'llistfiles': photopc.c:1619:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1619 | ress=buffer; | ^ photopc.c:1622:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1622 | p=a12search("Resolution",ress,ressize); | ^ photopc.c:1629:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1629 | p=a12search("Flash",ress,ressize); | ^ photopc.c:1636:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1636 | p=a12search("Shutter",ress,ressize); | ^ photopc.c:1643:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] --- a12scan.o --- gcc -DHAVE_CONFIG_H -I. -I./dos -I./win32 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT a12scan.o -MD -MP -MF .deps/a12scan.Tpo -c -o a12scan.o a12scan.c --- photopc.o --- 1643 | p=a12search("TimeDate",ress,ressize); | ^ photopc.c: In function 'retrfile': photopc.c:1873:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1873 | res=buffer; | ^ photopc.c:1876:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1876 | p=a12search("TimeDate",res,ressize); | ^ photopc.c:1916:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1916 | if (fname) free(fname); fname=NULL; | ^~ photopc.c:1916:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1916 | if (fname) free(fname); fname=NULL; | ^~~~~ photopc.c: At top level: photopc.c:2:14: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char *rcsid="$Id: photopc.c,v 2.87 2003/03/14 15:25:36 crosser Exp $"; | ^~~~~ --- a12scan.o --- a12scan.c: In function 'a12search': a12scan.c:114:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 114 | if (strncmp(p,key,strlen(key)) == 0) break; | ^ | | | unsigned char * In file included from /usr/include/string.h:35, from a12scan.c:70: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ a12scan.c: At top level: a12scan.c:2:14: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char *rcsid="$Id: a12scan.c,v 1.13 1999/08/01 21:36:54 crosser Exp $"; | ^~~~~ --- fnames.o --- fnames.c: In function 'makename': fnames.c:118:21: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 118 | (filenm[strlen(filenm)-1] == '\\') || | ^~~~~~ fnames.c:69:1: note: include '' or provide a declaration of 'strlen' 68 | #include "ctimez.h" +++ |+#include 69 | fnames.c:118:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 118 | (filenm[strlen(filenm)-1] == '\\') || | ^~~~~~ fnames.c:118:21: note: include '' or provide a declaration of 'strlen' fnames.c:128:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 128 | if (strlen(nameformat) == 1) { | ^~~~~~ fnames.c:128:21: note: include '' or provide a declaration of 'strlen' fnames.c:282:22: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 282 | for (p=fname+strlen(filenm);*p;p++) if (*p == '/') { | ^~~~~~ fnames.c:282:22: note: include '' or provide a declaration of 'strlen' fnames.c: At top level: fnames.c:2:14: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char *rcsid="$Id: fnames.c,v 1.7 2001/01/11 06:49:57 crosser Exp $"; | ^~~~~ *** [fnames.o] Error code 1 bmake[1]: stopped making "all-am" in /home/pbulk/build/graphics/photopc/work/photopc-3.07 --- a12scan.o --- mv -f .deps/a12scan.Tpo .deps/a12scan.Po --- photopc.o --- In function 'setbit', inlined from 'iterate' at photopc.c:2235:9, inlined from 'iterate' at photopc.c:2170:1: photopc.c:2140:17: warning: 'range.bits' may be used uninitialized [-Wmaybe-uninitialized] 2140 | memcpy(tmp,range->bits,(size_t)(range->max)/8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photopc.c: In function 'iterate': photopc.c:2177:17: note: 'range.bits' was declared here 2177 | range_t range; | ^~~~~ mv -f .deps/photopc.Tpo .deps/photopc.Po bmake[1]: 2 errors bmake[1]: stopped making "all-am" in /home/pbulk/build/graphics/photopc/work/photopc-3.07 bmake: stopped making "all" in /home/pbulk/build/graphics/photopc/work/photopc-3.07 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/photopc *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/photopc