+ 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/vic-devel-2.8.1.4.0beta.4337nb21/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/vic-devel-2.8.1.4.0beta.4337nb21/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for vic-devel-2.8.1.4.0beta.4337nb21 (cd codec/tmndec; /opt/pkg/bin/bmake CC=gcc CCOPT="-O2 -g -W -Wall -Wno-return-type" -f Makefile.lib) gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c tmndec.c tmndec.c:93:13: warning: 'options' declared 'static' but never defined [-Wunused-function] 93 | static void options _ANSI_ARGS_ ((int *argcp, char **argvp[])); | ^~~~~~~ tmndec.c:775:6: warning: 'flushdisplaybuffer' defined but not used [-Wunused-function] 775 | void flushdisplaybuffer (int framenum) | ^~~~~~~~~~~~~~~~~~ tmndec.c:650:12: warning: 'getval' defined but not used [-Wunused-function] 650 | static int getval (char *argv[]) | ^~~~~~ tmndec.c:97:12: warning: 'loopflag' defined but not used [-Wunused-variable] 97 | static int loopflag; | ^~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c getpic.c getpic.c: In function 'get_B_MBs': getpic.c:1217:32: warning: variable 'pCOD' set but not used [-Wunused-but-set-variable] 1217 | int last_done = 0, pCBP = 0, pCOD = 0; | ^~~~ getpic.c:1214:16: warning: unused variable 'mvy' [-Wunused-variable] 1214 | int mvx = 0, mvy = 0, xpos, ypos, gob, i; | ^~~ getpic.c:1214:7: warning: unused variable 'mvx' [-Wunused-variable] 1214 | int mvx = 0, mvy = 0, xpos, ypos, gob, i; | ^~~ getpic.c: In function 'get_EI_EP_MBs': getpic.c:1892:32: warning: variable 'pCOD' set but not used [-Wunused-but-set-variable] 1892 | int last_done = 0, pCBP = 0, pCOD = 0; | ^~~~ getpic.c:1890:37: warning: unused variable 'mvby' [-Wunused-variable] 1890 | int mvfx = 0, mvfy = 0, mvbx = 0, mvby = 0, pmvf0, pmvf1; | ^~~~ getpic.c:1890:27: warning: unused variable 'mvbx' [-Wunused-variable] 1890 | int mvfx = 0, mvfy = 0, mvbx = 0, mvby = 0, pmvf0, pmvf1; | ^~~~ getpic.c:1889:16: warning: unused variable 'mvy' [-Wunused-variable] 1889 | int mvx = 0, mvy = 0, xpos, ypos, gob, i; | ^~~ getpic.c:1889:7: warning: unused variable 'mvx' [-Wunused-variable] 1889 | int mvx = 0, mvy = 0, xpos, ypos, gob, i; | ^~~ getpic.c: In function 'Intra_AC_DC_Decode': getpic.c:3032:68: warning: unused parameter 'MBA' [-Wunused-parameter] 3032 | void Intra_AC_DC_Decode (short *store_qcoeff, int INTRA_AC_DC, int MBA, int xpos, int ypos, int comp, int newgob) | ~~~~^~~ getpic.c: In function 'UpsampleComponent': getpic.c:3667:46: warning: variable 'enhanced_origin' set but not used [-Wunused-but-set-variable] 3667 | unsigned char *base_next, *enhanced_next, *enhanced_origin; | ^~~~~~~~~~~~~~~ getpic.c: In function 'PictureDisplay': getpic.c:3811:47: warning: variable 'display_framenum' set but not used [-Wunused-but-set-variable] 3811 | static int buffered_frame_temp_ref = 0, display_framenum = 0; | ^~~~~~~~~~~~~~~~ getpic.c:3810:18: warning: unused variable 'last_frame_disposable' [-Wunused-variable] 3810 | static int last_frame_disposable = 0, display_buffer_empty = 1; | ^~~~~~~~~~~~~~~~~~~~~ getpic.c: In function 'get_I_P_MBs': getpic.c:302:10: warning: 'store_qcoeff' may be used uninitialized [-Wmaybe-uninitialized] 302 | short *store_qcoeff; | ^~~~~~~~~~~~ getpic.c:901:23: warning: 'pmv0' may be used uninitialized [-Wmaybe-uninitialized] 901 | mvdbx = motion_decode (mvdbx, pmv0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ getpic.c:291:47: note: 'pmv0' was declared here 291 | int mvx = 0, mvy = 0, mvy_index, mvx_index, pmv0, pmv1, xpos, ypos, gob, i, k; | ^~~~ getpic.c:902:23: warning: 'pmv1' may be used uninitialized [-Wmaybe-uninitialized] 902 | mvdby = motion_decode (mvdby, pmv1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ getpic.c:291:53: note: 'pmv1' was declared here 291 | int mvx = 0, mvy = 0, mvy_index, mvx_index, pmv0, pmv1, xpos, ypos, gob, i, k; | ^~~~ getpic.c:1020:13: warning: 'pmvdbx' may be used uninitialized [-Wmaybe-uninitialized] 1020 | reconstruct (bx, by, 0, pmvdbx, pmvdby, pMODB); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getpic.c:292:29: note: 'pmvdbx' was declared here 292 | int mvdbx = 0, mvdby = 0, pmvdbx, pmvdby, gfid, YCBPB, UVCBPB, gobheader_read; | ^~~~~~ getpic.c:1020:13: warning: 'pmvdby' may be used uninitialized [-Wmaybe-uninitialized] 1020 | reconstruct (bx, by, 0, pmvdbx, pmvdby, pMODB); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getpic.c:292:37: note: 'pmvdby' was declared here 292 | int mvdbx = 0, mvdby = 0, pmvdbx, pmvdby, gfid, YCBPB, UVCBPB, gobheader_read; | ^~~~~~ getpic.c: In function 'get_reference_picture': getpic.c:3973:19: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized] 3973 | ring_qu[i]+d >= ring_qu[ring_ptr]) { | ~~~~~~~~~~^~ getpic.c:3959:11: note: 'd' was declared here 3959 | int i,d; | ^ getpic.c: In function 'getpicture': getpic.c:1900:10: warning: 'store_qcoeff' may be used uninitialized [-Wmaybe-uninitialized] 1900 | short *store_qcoeff; | ^~~~~~~~~~~~ getpic.c:1225:10: warning: 'store_qcoeff' may be used uninitialized [-Wmaybe-uninitialized] 1225 | short *store_qcoeff; | ^~~~~~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c getvlc.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c gethdr.c gethdr.c: In function 'getpicturehdr': gethdr.c:123:7: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 123 | int pos, pei, tmp; | ^~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c getblk.c getblk.c:106:8: warning: type defaults to 'int' in declaration of 'MQ_chroma_QP_table' [-Wimplicit-int] 106 | extern MQ_chroma_QP_table[]; | ^~~~~~~~~~~~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c getbits.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c store.c store.c: In function 'save_frame': store.c:491:44: warning: unused parameter 'framenum' [-Wunused-parameter] 491 | void save_frame (unsigned char *src[], int framenum, FILE *file) | ~~~~^~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c recon.c recon.c: In function 'reconstruct_true_B': recon.c:335:13: warning: variable 'mode' set but not used [-Wunused-but-set-variable] 335 | int x, y, mode; | ^~~~ recon.c: In function 'reconstruct_ei_ep': recon.c:512:13: warning: variable 'mode' set but not used [-Wunused-but-set-variable] 512 | int x, y, mode; | ^~~~ recon.c: In function 'recon_comp': recon.c:640:52: warning: unused parameter 'chroma' [-Wunused-parameter] 640 | int y, int dx, int dy, int chroma) | ~~~~^~~~~~ recon.c: In function 'recon_comp_obmc': recon.c:1155:61: warning: unused parameter 'w' [-Wunused-parameter] 1155 | int lx, int lx2, int comp, int w, int h, | ~~~~^ recon.c:1155:68: warning: unused parameter 'h' [-Wunused-parameter] 1155 | int lx, int lx2, int comp, int w, int h, | ~~~~^ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c idct.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c idctref.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c sac.c rm -f libh263.a ar rc libh263.a tmndec.o getpic.o getvlc.o gethdr.o getblk.o getbits.o store.o recon.o idct.o idctref.o sac.o ranlib libh263.a (cd codec/tmn-x; /opt/pkg/bin/bmake CC=gcc CCOPT="-O2 -g -W -Wall -Wno-return-type" ) gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c main.c main.c: In function 'sed_UpsampleComponent': main.c:1557:49: warning: variable 'enhanced_origin' set but not used [-Wunused-but-set-variable] 1557 | unsigned char *base_next, *enhanced_next, *enhanced_origin; | ^~~~~~~~~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c io.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c dct.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c coder.c coder.c: In function 'CodeOneOrTwo': coder.c:112:23: warning: variable 'QuantChangePostponed' set but not used [-Wunused-but-set-variable] 112 | int abs_mb_num = 0, QuantChangePostponed = 0; | ^~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c quant.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c mot_est.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c pred.c pred.c: In function 'Predict_B': pred.c:185:7: warning: variable 'bidir_pred' set but not used [-Wunused-but-set-variable] 185 | int bidir_pred = 0; | ^~~~~~~~~~ pred.c: At top level: pred.c:1155:43: warning: argument 6 of type 'MotionVector *[5][73][90]' {aka 'struct motionvector *[5][73][90]'} with mismatched bound [-Warray-parameter=] 1155 | MotionVector * MV[5][MBR + 1][MBC + 2], | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from pred.c:54: sim.h:594:24: note: previously declared as 'MotionVector *[7][73][90]' {aka 'struct motionvector *[7][73][90]'} 594 | MotionVector *MV[7][MBR+1][MBC+2], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ pred.c:2206:49: warning: argument 3 of type 'MotionVector *[6][73][90]' {aka 'struct motionvector *[6][73][90]'} with mismatched bound [-Warray-parameter=] 2206 | void FindPredOBMC (int x, int y, MotionVector * MV[6][MBR + 1][MBC + 2], | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ sim.h:587:47: note: previously declared as 'MotionVector *[5][73][90]' {aka 'struct motionvector *[5][73][90]'} 587 | void FindPredOBMC(int x, int y, MotionVector *MV[5][MBR+1][MBC+2], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ pred.c:2479:42: warning: argument 6 of type 'MotionVector *[6][73][90]' {aka 'struct motionvector *[6][73][90]'} with mismatched bound [-Warray-parameter=] 2479 | MotionVector * MV[6][MBR + 1][MBC + 2], int PB) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ sim.h:591:24: note: previously declared as 'MotionVector *[7][73][90]' {aka 'struct motionvector *[7][73][90]'} 591 | MotionVector *MV[7][MBR+1][MBC+2], int PB); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c snr.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c countbit.c countbit.c: In function 'CountBitsScalMB': countbit.c:294:7: warning: variable 'cbpy' set but not used [-Wunused-but-set-variable] 294 | int cbpy, cbpcm=0, length=0, code=0; //SV-XXX: init'ed to 0 to shut up gcc4 | ^~~~ countbit.c: In function 'CodeCoeff': countbit.c:1101:64: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 1101 | putbits (11, (prev_level >> 5 & 0x003F) || (prev_level << 6)); | ~~~~~~~~~~~~^~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c putbits.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c ratectrl.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c sac.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c putvlc.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c intra_pred.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c filter.c gcc -O2 -g -W -Wall -Wno-return-type -DVIC -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c malloc_debug.c rm -f libh263coder.a ar rc libh263coder.a main.o io.o dct.o coder.o quant.o mot_est.o pred.o snr.o countbit.o putbits.o ratectrl.o sac.o putvlc.o intra_pred.o filter.o malloc_debug.o ranlib libh263coder.a rm -f net/inet.o; gcc -o net/inet.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. net/inet.c net/inet.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 18 | static const char rcsid[] = | ^~~~~ rm -f net/inet6.o; gcc -o net/inet6.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. net/inet6.c net/inet6.c:23:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 23 | static const char rcsid[] = | ^~~~~ rm -f codec/cellb_tables.o; gcc -o codec/cellb_tables.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/cellb_tables.c rm -f tkStripchart.o; gcc -o tkStripchart.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. tkStripchart.c tkStripchart.c: In function 'Tk_StripchartCmd': tkStripchart.c:412:9: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 412 | interp->result = Tk_PathName(StripchartPtr->tkwin); | ^~~~~~ In file included from /home/pbulk/build/mbone/vic-devel/work/.buildlink/include/tk.h:19, from tkStripchart.c:36: /home/pbulk/build/mbone/vic-devel/work/.buildlink/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tkStripchart.c: In function 'StripchartWidgetCmd': tkStripchart.c:468:25: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 468 | sprintf(interp->result, "%g", | ^~~~~~~ /home/pbulk/build/mbone/vic-devel/work/.buildlink/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tkStripchart.c:436:14: warning: variable 'c' set but not used [-Wunused-but-set-variable] 436 | char c; | ^ tkStripchart.c: At top level: tkStripchart.c:29:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 29 | static const char rcsid[] = | ^~~~~ rm -f md5c.o; gcc -o md5c.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. md5c.c rm -f random.o; gcc -o random.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. random.c rm -f codec/h263/h263rtp.o; gcc -o codec/h263/h263rtp.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/h263rtp.c codec/h263/h263rtp.c: In function 'split_h263stream': codec/h263/h263rtp.c:214:27: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] 214 | while (lastsentbit<bitcount) { | ^ codec/h263/h263rtp.c:222:27: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] 222 | for (i=0;i<=gobs_per_frame;i++) | ^~ codec/h263/h263rtp.c:273:43: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] 273 | for (i=0;i<=gobs_per_frame;i++) | ^~ codec/h263/h263rtp.c:285:58: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] 285 | for (i=lastind;(i<=mbs_per_gob*gobs_per_frame) && (mbind[i]<lastsentbit-8+(psize<<3));i++) | ^~ codec/h263/h263rtp.c:300:43: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] 300 | (i<=mbs_per_gob*gobs_per_frame) && | ^~ codec/h263/h263rtp.c:208:73: warning: variable 'curind' set but not used [-Wunused-but-set-variable] 208 | int i,sendmodeb,plen,lastgobind,lastsentbit,curind; | ^~~~~~ codec/h263/h263rtp.c:203:15: warning: unused parameter 'ts_' [-Wunused-parameter] 203 | u_int ts_, /* timestamp [in] */ | ~~~~~~^~~ rm -f codec/h263/h263dec.o; gcc -o codec/h263/h263dec.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/h263dec.c rm -f codec/h263/bitIn.o; gcc -o codec/h263/bitIn.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/bitIn.c rm -f codec/h263/input.o; gcc -o codec/h263/input.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/input.c rm -f codec/h263/getgob.o; gcc -o codec/h263/getgob.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/getgob.c codec/h263/getgob.c: In function 'H263parseGOB': codec/h263/getgob.c:643:63: warning: variable 'pCOD' set but not used [-Wunused-but-set-variable] 643 | int startmv,stopmv,xoffset,bsize,last_done=0,pCBP=0,pCBPB=0,pCOD=0; | ^~~~ codec/h263/getgob.c:643:55: warning: variable 'pCBPB' set but not used [-Wunused-but-set-variable] 643 | int startmv,stopmv,xoffset,bsize,last_done=0,pCBP=0,pCBPB=0,pCOD=0; | ^~~~~ codec/h263/getgob.c:643:48: warning: variable 'pCBP' set but not used [-Wunused-but-set-variable] 643 | int startmv,stopmv,xoffset,bsize,last_done=0,pCBP=0,pCBPB=0,pCOD=0; | ^~~~ codec/h263/getgob.c:642:35: warning: variable 'pmvdby' set but not used [-Wunused-but-set-variable] 642 | int mvdbx=0, mvdby=0, pmvdbx=0, pmvdby=0, YCBPB, UVCBPB, gobheader_read; | ^~~~~~ codec/h263/getgob.c:642:25: warning: variable 'pmvdbx' set but not used [-Wunused-but-set-variable] 642 | int mvdbx=0, mvdby=0, pmvdbx=0, pmvdby=0, YCBPB, UVCBPB, gobheader_read; | ^~~~~~ codec/h263/getgob.c:636:11: warning: variable 'by' set but not used [-Wunused-but-set-variable] 636 | int bx, by; | ^~ codec/h263/getgob.c:636:7: warning: variable 'bx' set but not used [-Wunused-but-set-variable] 636 | int bx, by; | ^~ codec/h263/getgob.c: In function 'H263getIFrameMB': codec/h263/getgob.c:1192:5: warning: '_clearblock' accessing 1536 bytes in a region of size 768 [-Wstringop-overflow=] 1192 | _clearblock(block, comp); | ^~~~~~~~~~~~~~~~~~~~~~~~ codec/h263/getgob.c:1192:5: note: referencing argument 1 of type 'short int[12][64]' codec/h263/getgob.c:1304:13: note: in a call to function '_clearblock' 1304 | static void _clearblock(short block[12][64], int comp) | ^~~~~~~~~~~ rm -f codec/h263/reconh263.o; gcc -o codec/h263/reconh263.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/reconh263.c rm -f codec/h263/recon.o; gcc -o codec/h263/recon.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/recon.c rm -f codec/h263/getvlc.o; gcc -o codec/h263/getvlc.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/getvlc.c rm -f codec/h263/getblk.o; gcc -o codec/h263/getblk.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/getblk.c rm -f codec/h263/h263enc.o; gcc -o codec/h263/h263enc.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/h263enc.c rm -f codec/h263/motion.o; gcc -o codec/h263/motion.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/motion.c rm -f codec/h263/block.o; gcc -o codec/h263/block.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/block.c rm -f codec/h263/bitOut.o; gcc -o codec/h263/bitOut.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/bitOut.c rm -f codec/h263/h263mux.o; gcc -o codec/h263/h263mux.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/h263mux.c rm -f codec/h263/idctdec.o; gcc -o codec/h263/idctdec.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/idctdec.c rm -f codec/h263/fdct.o; gcc -o codec/h263/fdct.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/fdct.c rm -f codec/h263/code.o; gcc -o codec/h263/code.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/code.c rm -f codec/h263/gethdr.o; gcc -o codec/h263/gethdr.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/gethdr.c codec/h263/gethdr.c: In function 'GetPLUSPTYPE': codec/h263/gethdr.c:321:59: warning: variable 'rtype' set but not used [-Wunused-but-set-variable] 321 | int pcf, umv, aic, df, ss, rps, isd, aiv, mq, rpr, rru, rtype; | ^~~~~ codec/h263/gethdr.c:321:54: warning: variable 'rru' set but not used [-Wunused-but-set-variable] 321 | int pcf, umv, aic, df, ss, rps, isd, aiv, mq, rpr, rru, rtype; | ^~~ codec/h263/gethdr.c:321:49: warning: variable 'rpr' set but not used [-Wunused-but-set-variable] 321 | int pcf, umv, aic, df, ss, rps, isd, aiv, mq, rpr, rru, rtype; | ^~~ codec/h263/gethdr.c:321:45: warning: variable 'mq' set but not used [-Wunused-but-set-variable] 321 | int pcf, umv, aic, df, ss, rps, isd, aiv, mq, rpr, rru, rtype; | ^~ codec/h263/gethdr.c:321:40: warning: variable 'aiv' set but not used [-Wunused-but-set-variable] 321 | int pcf, umv, aic, df, ss, rps, isd, aiv, mq, rpr, rru, rtype; | ^~~ codec/h263/gethdr.c:321:35: warning: variable 'isd' set but not used [-Wunused-but-set-variable] 321 | int pcf, umv, aic, df, ss, rps, isd, aiv, mq, rpr, rru, rtype; | ^~~ codec/h263/gethdr.c:321:30: warning: variable 'rps' set but not used [-Wunused-but-set-variable] 321 | int pcf, umv, aic, df, ss, rps, isd, aiv, mq, rpr, rru, rtype; | ^~~ codec/h263/gethdr.c:321:26: warning: variable 'ss' set but not used [-Wunused-but-set-variable] 321 | int pcf, umv, aic, df, ss, rps, isd, aiv, mq, rpr, rru, rtype; | ^~ codec/h263/gethdr.c:321:22: warning: variable 'df' set but not used [-Wunused-but-set-variable] 321 | int pcf, umv, aic, df, ss, rps, isd, aiv, mq, rpr, rru, rtype; | ^~ codec/h263/gethdr.c:321:17: warning: variable 'aic' set but not used [-Wunused-but-set-variable] 321 | int pcf, umv, aic, df, ss, rps, isd, aiv, mq, rpr, rru, rtype; | ^~~ codec/h263/gethdr.c:321:12: warning: variable 'umv' set but not used [-Wunused-but-set-variable] 321 | int pcf, umv, aic, df, ss, rps, isd, aiv, mq, rpr, rru, rtype; | ^~~ codec/h263/gethdr.c:321:7: warning: variable 'pcf' set but not used [-Wunused-but-set-variable] 321 | int pcf, umv, aic, df, ss, rps, isd, aiv, mq, rpr, rru, rtype; | ^~~ rm -f codec/h263/idctenc.o; gcc -o codec/h263/idctenc.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/idctenc.c rm -f codec/h263/sac.o; gcc -o codec/h263/sac.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/h263/sac.c rm -f main.o; g++ -o main.o -c -O2 -g -W -Wall -Wno-return-type -DUSE_SHM -DUSE_H261AS -DARCH_X86 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/opt/pkg/include/common-mml -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Icodec/jpeg -Icodec/p64 -I. main.cpp In file included from main.cpp:73: vic_tcl.h: In member function 'char* Tcl::result() const': vic_tcl.h:55:53: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 55 | inline char* result() const { return (tcl_->result); } | ^~~~~~ In file included from vic_tcl.h:42: /home/pbulk/build/mbone/vic-devel/work/.buildlink/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ vic_tcl.h:55:53: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 55 | inline char* result() const { return (tcl_->result); } | ^~~~~~ /home/pbulk/build/mbone/vic-devel/work/.buildlink/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ vic_tcl.h:55:53: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 55 | inline char* result() const { return (tcl_->result); } | ^~~~~~ /home/pbulk/build/mbone/vic-devel/work/.buildlink/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ In file included from main.cpp:74: rtp/transmitter.h: In member function 'void Transmitter::bps(int)': rtp/transmitter.h:78:29: warning: parameter 'kbps' set but not used [-Wunused-but-set-parameter] 78 | inline void bps(int kbps) { kbps = kbps_; } | ~~~~^~~~ main.cpp: At global scope: main.cpp:107:16: error: conflicting declaration of C function 'int gethostname(char*, int)' 107 | extern "C" int gethostname(char* name, int len); | ^~~~~~~~~~~ In file included from main.cpp:42: /usr/include/unistd.h:344:12: note: previous declaration 'int gethostname(char*, size_t)' 344 | extern int gethostname(char *, size_t); | ^~~~~~~~~~~ main.cpp: In function 'int main(int, const char**)': main.cpp:481:25: error: 'sig_t' was not declared in this scope 481 | signal(SIGHUP, (sig_t)ciao); //SV-XXX: Debian | ^~~~~ main.cpp:487:31: error: expected ')' before 'ciao' 487 | signal(SIGINT, (sig_t)ciao); //SV-XXX: Debian | ~ ^~~~ | ) main.cpp:488:32: error: expected ')' before 'ciao' 488 | signal(SIGTERM, (sig_t)ciao); //SV-XXX: Debian | ~ ^~~~ | ) main.cpp:597:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 597 | usage(NULL); | ~~~~~^~~~~~ main.cpp:599:17: note: here 599 | case 'A': | ^~~~ main.cpp: At global scope: main.cpp:197:1: warning: 'void ciao(...)' defined but not used [-Wunused-function] 197 | ciao(SIGARGS) | ^~~~ *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/mbone/vic-devel/work/vic-mpeg4 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/mbone/vic-devel *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/mbone/vic-devel