=> Bootstrap dependency digest>=20010302: found digest-20180917 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for xjig-2.4nb3 --- xjig.o --- --- objects.o --- --- stack.o --- --- imgbuff.o --- --- puzzle.o --- --- real.o --- --- vec2.o --- --- vec2list.o --- --- mat2.o --- --- color_mapper.o --- --- gif_image.o --- --- gifx_image.o --- --- xjig._man --- --- xjig.o --- clang++ -DUSE_MIT_SHM -DJIG_DEFAULT=\"/usr/pkg/lib/xjig/tina.gif\" -c xjig.C -o xjig.o --- objects.o --- clang++ -DUSE_MIT_SHM -c objects.C -o objects.o --- stack.o --- clang++ -DUSE_MIT_SHM -c stack.C -o stack.o --- imgbuff.o --- clang++ -DUSE_MIT_SHM -c imgbuff.C -o imgbuff.o --- real.o --- clang++ -DUSE_MIT_SHM -c real.C -o real.o --- puzzle.o --- clang++ -DUSE_MIT_SHM -c puzzle.C -o puzzle.o --- vec2.o --- clang++ -DUSE_MIT_SHM -c vec2.C -o vec2.o --- mat2.o --- clang++ -DUSE_MIT_SHM -c mat2.C -o mat2.o --- gif_image.o --- clang++ -DUSE_MIT_SHM -c gif_image.C -o gif_image.o --- gifx_image.o --- clang++ -DUSE_MIT_SHM -c gifx_image.C -o gifx_image.o --- xjig._man --- rm -f xjig._man if test -z "" ; then cd `dirname xjig` && ln -s `basename xjig.man` `basename xjig._man`; else clang-cpp -undef -traditional -D__apploaddir__=/usr/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xjig.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xjig._man; fi --- color_mapper.o --- clang++ -DUSE_MIT_SHM -c color_mapper.C -o color_mapper.o --- vec2list.o --- clang++ -DUSE_MIT_SHM -c vec2list.C -o vec2list.o --- objects.o --- In file included from objects.C:10: ./objects.H:161:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if ( help>17 && help<23 ~~~~~~~~^~~~~~~~~~ ./objects.H:161:17: note: place parentheses around the '&&' expression to silence this warning if ( help>17 && help<23 ^ ( ) --- stack.o --- In file included from stack.C:14: ./objects.H:161:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if ( help>17 && help<23 ~~~~~~~~^~~~~~~~~~ ./objects.H:161:17: note: place parentheses around the '&&' expression to silence this warning if ( help>17 && help<23 ^ ( ) --- gifx_image.o --- In file included from gifx_image.C:96: ./reset_image.H:46:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *copy = xdata; ^~~~~~~~~ ./reset_image.H:47:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const byte *org = Data(); ^~~~~~~~~ ./reset_image.H:48:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int j,i; ^~~~~~~~~ ./reset_image.H:48:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int j,i; ^~~~~~~~~ ./reset_image.H:57:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const byte *org = Data() + (y*Height()/xheight) * Width(); ^~~~~~~~~ ./reset_image.H:58:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *copy = xdata + y * xwidth; ^~~~~~~~~ ./reset_image.H:61:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int x; ^~~~~~~~~ ./reset_image.H:62:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int delta = Width()/2; ^~~~~~~~~ ./reset_image.H:74:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int x; ^~~~~~~~~ ./reset_image.H:75:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int delta = xwidth/2; ^~~~~~~~~ In file included from gifx_image.C:104: ./reset_image.H:46:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *copy = xdata; ^~~~~~~~~ ./reset_image.H:47:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const byte *org = Data(); ^~~~~~~~~ ./reset_image.H:48:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int j,i; ^~~~~~~~~ ./reset_image.H:48:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int j,i; ^~~~~~~~~ ./reset_image.H:57:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const byte *org = Data() + (y*Height()/xheight) * Width(); ^~~~~~~~~ ./reset_image.H:58:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *copy = xdata + y * xwidth; ^~~~~~~~~ ./reset_image.H:61:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int x; ^~~~~~~~~ ./reset_image.H:62:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int delta = Width()/2; ^~~~~~~~~ ./reset_image.H:74:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int x; ^~~~~~~~~ ./reset_image.H:75:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int delta = xwidth/2; ^~~~~~~~~ In file included from gifx_image.C:112: ./reset_image.H:46:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *copy = xdata; ^~~~~~~~~ ./reset_image.H:47:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const byte *org = Data(); ^~~~~~~~~ ./reset_image.H:48:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int j,i; ^~~~~~~~~ ./reset_image.H:48:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int j,i; ^~~~~~~~~ ./reset_image.H:57:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const byte *org = Data() + (y*Height()/xheight) * Width(); ^~~~~~~~~ ./reset_image.H:58:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *copy = xdata + y * xwidth; ^~~~~~~~~ ./reset_image.H:61:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int x; ^~~~~~~~~ ./reset_image.H:62:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int delta = Width()/2; ^~~~~~~~~ ./reset_image.H:74:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int x; ^~~~~~~~~ ./reset_image.H:75:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int delta = xwidth/2; ^~~~~~~~~ --- objects.o --- In file included from objects.C:538: ./rotate.H:105:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *dest = (DATA_TYPE*)(ximage->data + y * ximage->bytes_per_line); ^~~~~~~~~ ./rotate.H:119:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int dx=(int)(dirx.X()*IMAX); ^~~~~~~~~ ./rotate.H:120:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int dy=(int)(dirx.Y()*IMAX); ^~~~~~~~~ ./rotate.H:125:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int dx_c = ((dx>0)?dx:-dx)/2; ^~~~~~~~~ ./rotate.H:126:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int dy_c = ((dy>0)?dy:-dy)/2; ^~~~~~~~~ ./rotate.H:141:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *src = (DATA_TYPE*)(src_image->data + YPix(pt.Y()) * src_image->bytes_per_line)+XPix(pt.X()); ^~~~~~~~~ ./rotate.H:142:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *dest= (DATA_TYPE*)(ximage->data + y * ximage->bytes_per_line); ^~~~~~~~~ --- gif_image.o --- gif_image.C:61:9: error: assigning to 'char *' from incompatible type 'const char *' name = strrchr(filename,'/'); ^~~~~~~~~~~~~~~~~~~~~ --- objects.o --- In file included from objects.C:546: ./rotate.H:105:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *dest = (DATA_TYPE*)(ximage->data + y * ximage->bytes_per_line); ^~~~~~~~~ ./rotate.H:119:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int dx=(int)(dirx.X()*IMAX); ^~~~~~~~~ ./rotate.H:120:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int dy=(int)(dirx.Y()*IMAX); ^~~~~~~~~ ./rotate.H:125:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int dx_c = ((dx>0)?dx:-dx)/2; ^~~~~~~~~ ./rotate.H:126:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int dy_c = ((dy>0)?dy:-dy)/2; ^~~~~~~~~ ./rotate.H:141:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *src = (DATA_TYPE*)(src_image->data + YPix(pt.Y()) * src_image->bytes_per_line)+XPix(pt.X()); ^~~~~~~~~ ./rotate.H:142:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *dest= (DATA_TYPE*)(ximage->data + y * ximage->bytes_per_line); ^~~~~~~~~ --- gif_image.o --- gif_image.C:296:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register byte ch; ^~~~~~~~~ gif_image.C:324:39: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] ColorMapSize = 1 << (gifheader[10]&7)+1; ~~ ~~~~~~~~~~~~~~~~~^~ gif_image.C:324:39: note: place parentheses around the '+' expression to silence this warning ColorMapSize = 1 << (gifheader[10]&7)+1; ^ ( ) gif_image.C:364:41: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] ColorMapSize = 1 << (imageheader[8]&7)+1; ~~ ~~~~~~~~~~~~~~~~~~^~ gif_image.C:364:41: note: place parentheses around the '+' expression to silence this warning ColorMapSize = 1 << (imageheader[8]&7)+1; ^ ( ) --- objects.o --- In file included from objects.C:554: ./rotate.H:105:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *dest = (DATA_TYPE*)(ximage->data + y * ximage->bytes_per_line); ^~~~~~~~~ ./rotate.H:119:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int dx=(int)(dirx.X()*IMAX); ^~~~~~~~~ ./rotate.H:120:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int dy=(int)(dirx.Y()*IMAX); ^~~~~~~~~ ./rotate.H:125:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int dx_c = ((dx>0)?dx:-dx)/2; ^~~~~~~~~ ./rotate.H:126:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int dy_c = ((dy>0)?dy:-dy)/2; ^~~~~~~~~ ./rotate.H:141:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *src = (DATA_TYPE*)(src_image->data + YPix(pt.Y()) * src_image->bytes_per_line)+XPix(pt.X()); ^~~~~~~~~ ./rotate.H:142:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register DATA_TYPE *dest= (DATA_TYPE*)(ximage->data + y * ximage->bytes_per_line); ^~~~~~~~~ --- gif_image.o --- 3 warnings and 1 error generated. *** [gif_image.o] Error code 1 make: stopped in /data/scratch/games/xjig/work/xjig-2.4 --- gifx_image.o --- 30 warnings generated. --- stack.o --- 1 warning generated. --- puzzle.o --- In file included from puzzle.C:5: In file included from ./puzzle.H:9: ./objects.H:161:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if ( help>17 && help<23 ~~~~~~~~^~~~~~~~~~ ./objects.H:161:17: note: place parentheses around the '&&' expression to silence this warning if ( help>17 && help<23 ^ ( ) --- objects.o --- 22 warnings generated. --- puzzle.o --- 1 warning generated. --- xjig.o --- In file included from xjig.C:42: ./objects.H:161:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if ( help>17 && help<23 ~~~~~~~~^~~~~~~~~~ ./objects.H:161:17: note: place parentheses around the '&&' expression to silence this warning if ( help>17 && help<23 ^ ( ) xjig.C:114:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *dispname=""; ^ xjig.C:115:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *filename=JIG_DEFAULT; ^ :2:21: note: expanded from here #define JIG_DEFAULT "/usr/pkg/lib/xjig/tina.gif" ^ xjig.C:438:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "xpuzzle", "-file", JIG_DEFAULT, 0 }; ^ xjig.C:438:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "xpuzzle", "-file", JIG_DEFAULT, 0 }; ^ xjig.C:438:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "xpuzzle", "-file", JIG_DEFAULT, 0 }; ^ :2:21: note: expanded from here #define JIG_DEFAULT "/usr/pkg/lib/xjig/tina.gif" ^ xjig.C:546:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (comment) { printf( comment ); putchar( '\n' ); } ^~~~~~~ xjig.C:546:25: note: treat the string as an argument to avoid this if (comment) { printf( comment ); putchar( '\n' ); } ^ "%s", 7 warnings generated. 1 error make: stopped in /data/scratch/games/xjig/work/xjig-2.4 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/games/xjig *** Error code 1 Stop. make: stopped in /data/pkgsrc/games/xjig