+ 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/libXaw-1.0.14nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libXaw-1.0.14nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for libXaw-1.0.14nb1 /opt/pkg/bin/bmake all-recursive Making all in include Making all in src CC libXaw7_la-Actions.lo Actions.c: In function 'XawParseBoolean': Actions.c:160:11: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 160 | value = (int)strtod(param, &tmp); | ^ CC libXaw7_la-AllWidgets.lo CC libXaw7_la-AsciiSink.lo CC libXaw7_la-AsciiSrc.lo AsciiSrc.c: In function 'ReadText': AsciiSrc.c:392:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 392 | text->ptr = ""; | ^ AsciiSrc.c: In function 'InitStringOrFile': AsciiSrc.c:1452:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1452 | src->ascii_src.string = "*ascii-src*"; | ^ CC libXaw7_la-AsciiText.lo CC libXaw7_la-Box.lo CC libXaw7_la-Command.lo CC libXaw7_la-Converters.lo CC libXaw7_la-Dialog.lo CC libXaw7_la-DisplayList.lo DisplayList.c: In function '_Xaw_Xlib_ArgsInitProc': DisplayList.c:1754:11: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 1754 | retval = (void *)read_int((char *)params[0], NULL); | ^ DisplayList.c:1899:11: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 1899 | retval = (void *)read_int((char *)params[0], NULL); | ^ DisplayList.c:1917:11: warning: cast from function call of type 'Font' {aka 'long unsigned int'} to non-matching type 'void *' [-Wbad-function-cast] 1917 | retval = (void *)XLoadFont(DisplayOfScreen(screen), params[0]); | ^ DisplayList.c:1945:15: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 1945 | retval = (void *)read_int((char *)params[0], NULL); | ^ CC libXaw7_la-Form.lo CC libXaw7_la-Grip.lo CC libXaw7_la-Label.lo CC libXaw7_la-List.lo CC libXaw7_la-MenuButton.lo CC libXaw7_la-MultiSrc.lo CC libXaw7_la-MultiSink.lo CC libXaw7_la-OS.lo CC libXaw7_la-Paned.lo CC libXaw7_la-Panner.lo CC libXaw7_la-Pixmap.lo Pixmap.c: In function 'GetResourcePixmapPath': Pixmap.c:667:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 667 | "%H/%T/%N:%P/include/X11/%T/%N:/usr/X11R6/include/X11/%T/%N:/usr/include/X11/%T/%N:%N"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Pixmap.c: In function 'BitmapLoader': Pixmap.c:718:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 718 | {'T', "bitmaps"}, | ^~~~~~~~~ : warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Pixmap.c:719:13: note: in expansion of macro 'PROJECT_ROOT' 719 | {'P', PROJECT_ROOT}, | ^~~~~~~~~~~~ Pixmap.c:749:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 749 | sub[1].substitution = params->name; | ^ Pixmap.c:757:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 757 | filename = params->name; | ^ Pixmap.c: In function 'GradientLoader': Pixmap.c:830:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 830 | value = argval->value; | ^ Pixmap.c:841:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 841 | value = argval->value; | ^ Pixmap.c: In function 'XPixmapLoader': Pixmap.c:938:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 938 | {'T', "pixmaps"}, | ^~~~~~~~~ : warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Pixmap.c:939:13: note: in expansion of macro 'PROJECT_ROOT' 939 | {'P', PROJECT_ROOT}, | ^~~~~~~~~~~~ Pixmap.c:951:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 951 | sub[1].substitution = params->name; | ^ CC libXaw7_la-Porthole.lo CC libXaw7_la-Repeater.lo CC libXaw7_la-Scrollbar.lo CC libXaw7_la-Simple.lo CC libXaw7_la-SimpleMenu.lo CC libXaw7_la-Sme.lo CC libXaw7_la-SmeBSB.lo CC libXaw7_la-SmeLine.lo CC libXaw7_la-StripChart.lo CC libXaw7_la-Text.lo Text.c: In function '_XawTextSetScrollBars': Text.c:1507:10: warning: cast from function call of type 'unsigned int' to non-matching type 'float' [-Wbad-function-cast] 1507 | denom = (float)GetWidestLine(ctx); | ^ Text.c: In function 'HJump': Text.c:1768:50: warning: cast from function call of type 'unsigned int' to non-matching type 'float' [-Wbad-function-cast] 1768 | (ctx->text.r_margin.left - (int)(percent * (float)GetWidestLine(ctx))); | ^ CC libXaw7_la-TextSink.lo CC libXaw7_la-TextSrc.lo TextSrc.c:241:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 241 | static char *SrcNL = "\n"; | ^~~~ CC libXaw7_la-TextAction.lo TextAction.c: In function '_SelectionReceived': TextAction.c:424:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 424 | textprop.value = (const unsigned char *)" >> ILLEGAL SELECTION << "; | ^ TextAction.c: In function '_DeleteOrKill': TextAction.c:1333:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1333 | text.ptr = ""; | ^ TextAction.c: In function 'StripSpaces': TextAction.c:1603:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1603 | text.ptr = " "; | ^ TextAction.c:1640:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1640 | text.ptr = ""; | ^ TextAction.c: In function 'Tabify': TextAction.c:1720:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1720 | text.ptr = "\t"; | ^ TextAction.c: In function 'Untabify': TextAction.c:1862:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1862 | static char *tabs = " "; | ^~~~~~~~~~ TextAction.c: In function 'DoFormatText': TextAction.c:2185:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2185 | text.ptr = "\n"; | ^ TextAction.c: In function 'Indent': TextAction.c:2336:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2336 | text.ptr = ""; | ^ TextAction.c: In function 'AutoFill': TextAction.c:3023:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3023 | text.ptr = "\n"; | ^ TextAction.c: In function 'InsertString': TextAction.c:3298:44: warning: passing argument 1 of 'IfHexConvertHexElseReturnParam' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3298 | text.ptr = IfHexConvertHexElseReturnParam(*params, &text.length); | ^~~~~~~ TextAction.c:3218:38: note: expected 'char *' but argument is of type 'String' {aka 'const char *'} 3218 | IfHexConvertHexElseReturnParam(char *param, int *len_return) | ~~~~~~^~~~~ TextAction.c: In function 'DisplayCaret': TextAction.c:3373:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3373 | from.size = (unsigned)strlen(from.addr = params[0]); | ^ TextAction.c: In function 'StripOutOldCRs': TextAction.c:3534:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3534 | text.ptr= " "; | ^ TextAction.c: In function 'InsertNewCRs': TextAction.c:3640:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3640 | text.ptr = "\n"; | ^ CC libXaw7_la-TextPop.lo In file included from /home/pbulk/build/x11/libXaw/work/.buildlink/include/X11/IntrinsicP.h:51, from TextPop.c:51: TextPop.c: In function 'CreateDialog': /home/pbulk/build/x11/libXaw/work/.buildlink/include/X11/Intrinsic.h:1161:46: warning: cast from function call of type 'Widget' {aka 'struct _WidgetRec *'} to non-matching type 'long int' [-Wbad-function-cast] 1161 | ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) | ^ TextPop.c:1432:5: note: in expansion of macro 'XtSetArg' 1432 | XtSetArg(args[num_args], XtNtransientFor, GetShell(parent));num_args++; | ^~~~~~~~ CC libXaw7_la-TextTr.lo CC libXaw7_la-Toggle.lo CC libXaw7_la-Tree.lo CC libXaw7_la-Vendor.lo Vendor.c: In function 'XawVendorShellClassInitialize': Vendor.c:312:28: warning: declaration of 'screenConvertArg' shadows a global declaration [-Wshadow] 312 | static XtConvertArgRec screenConvertArg[] = { | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/libXaw/work/.buildlink/include/X11/IntrinsicP.h:51, from Vendor.c:61: /home/pbulk/build/x11/libXaw/work/.buildlink/include/X11/Intrinsic.h:633:35: note: shadowed declaration is here 633 | externalref XtConvertArgRec const screenConvertArg[]; | ^~~~~~~~~~~~~~~~ CC libXaw7_la-Viewport.lo CC libXaw7_la-XawIm.lo CC libXaw7_la-XawInit.lo CC libXaw7_la-XawI18n.lo CC libXaw6_la-Actions.lo CC libXaw6_la-AllWidgets.lo CC libXaw6_la-AsciiSink.lo CC libXaw6_la-AsciiSrc.lo AsciiSrc.c: In function 'InitStringOrFile': AsciiSrc.c:1452:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1452 | src->ascii_src.string = "*ascii-src*"; | ^ CC libXaw6_la-AsciiText.lo CC libXaw6_la-Box.lo CC libXaw6_la-Command.lo CC libXaw6_la-Converters.lo CC libXaw6_la-Dialog.lo CC libXaw6_la-DisplayList.lo CC libXaw6_la-Form.lo CC libXaw6_la-Grip.lo CC libXaw6_la-Label.lo CC libXaw6_la-List.lo CC libXaw6_la-MenuButton.lo CC libXaw6_la-MultiSrc.lo CC libXaw6_la-MultiSink.lo CC libXaw6_la-OS.lo CC libXaw6_la-Paned.lo CC libXaw6_la-Panner.lo CC libXaw6_la-Pixmap.lo CC libXaw6_la-Porthole.lo CC libXaw6_la-Repeater.lo CC libXaw6_la-Scrollbar.lo CC libXaw6_la-Simple.lo CC libXaw6_la-SimpleMenu.lo CC libXaw6_la-Sme.lo CC libXaw6_la-SmeBSB.lo CC libXaw6_la-SmeLine.lo CC libXaw6_la-StripChart.lo CC libXaw6_la-Text.lo Text.c: In function '_XawTextSetScrollBars': Text.c:1507:10: warning: cast from function call of type 'unsigned int' to non-matching type 'float' [-Wbad-function-cast] 1507 | denom = (float)GetWidestLine(ctx); | ^ Text.c: In function 'HJump': Text.c:1768:50: warning: cast from function call of type 'unsigned int' to non-matching type 'float' [-Wbad-function-cast] 1768 | (ctx->text.r_margin.left - (int)(percent * (float)GetWidestLine(ctx))); | ^ CC libXaw6_la-TextSink.lo CC libXaw6_la-TextSrc.lo CC libXaw6_la-TextAction.lo TextAction.c: In function '_SelectionReceived': TextAction.c:424:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 424 | textprop.value = (const unsigned char *)" >> ILLEGAL SELECTION << "; | ^ TextAction.c: In function '_DeleteOrKill': TextAction.c:1333:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1333 | text.ptr = ""; | ^ TextAction.c: In function 'AutoFill': TextAction.c:3023:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3023 | text.ptr = "\n"; | ^ TextAction.c: In function 'InsertString': TextAction.c:3298:44: warning: passing argument 1 of 'IfHexConvertHexElseReturnParam' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3298 | text.ptr = IfHexConvertHexElseReturnParam(*params, &text.length); | ^~~~~~~ TextAction.c:3218:38: note: expected 'char *' but argument is of type 'String' {aka 'const char *'} 3218 | IfHexConvertHexElseReturnParam(char *param, int *len_return) | ~~~~~~^~~~~ TextAction.c: In function 'DisplayCaret': TextAction.c:3373:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3373 | from.size = (unsigned)strlen(from.addr = params[0]); | ^ TextAction.c: In function 'StripOutOldCRs': TextAction.c:3534:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3534 | text.ptr= " "; | ^ TextAction.c: In function 'InsertNewCRs': TextAction.c:3640:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3640 | text.ptr = "\n"; | ^ CC libXaw6_la-TextPop.lo In file included from /home/pbulk/build/x11/libXaw/work/.buildlink/include/X11/IntrinsicP.h:51, from TextPop.c:51: TextPop.c: In function 'CreateDialog': /home/pbulk/build/x11/libXaw/work/.buildlink/include/X11/Intrinsic.h:1161:46: warning: cast from function call of type 'Widget' {aka 'struct _WidgetRec *'} to non-matching type 'long int' [-Wbad-function-cast] 1161 | ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) | ^ TextPop.c:1432:5: note: in expansion of macro 'XtSetArg' 1432 | XtSetArg(args[num_args], XtNtransientFor, GetShell(parent));num_args++; | ^~~~~~~~ CC libXaw6_la-TextTr.lo CC libXaw6_la-Toggle.lo CC libXaw6_la-Tree.lo CC libXaw6_la-Vendor.lo Vendor.c: In function 'XawVendorShellClassInitialize': Vendor.c:312:28: warning: declaration of 'screenConvertArg' shadows a global declaration [-Wshadow] 312 | static XtConvertArgRec screenConvertArg[] = { | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/libXaw/work/.buildlink/include/X11/IntrinsicP.h:51, from Vendor.c:61: /home/pbulk/build/x11/libXaw/work/.buildlink/include/X11/Intrinsic.h:633:35: note: shadowed declaration is here 633 | externalref XtConvertArgRec const screenConvertArg[]; | ^~~~~~~~~~~~~~~~ CC libXaw6_la-Viewport.lo CC libXaw6_la-XawIm.lo CC libXaw6_la-XawInit.lo CC libXaw6_la-XawI18n.lo CC libXaw7_la-Tip.lo CCLD libXaw6.la CCLD libXaw7.la ld: fatal: library -liconv: not found ld: fatal: file processing errors. No output written to .libs/libXaw7.so.7.0.0 collect2: error: ld returned 1 exit status *** [libXaw7.la] Error code 1 bmake[2]: stopped in /home/pbulk/build/x11/libXaw/work/libXaw-1.0.14/src 1 error bmake[2]: stopped in /home/pbulk/build/x11/libXaw/work/libXaw-1.0.14/src *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/x11/libXaw/work/libXaw-1.0.14 1 error bmake[1]: stopped in /home/pbulk/build/x11/libXaw/work/libXaw-1.0.14 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/x11/libXaw/work/libXaw-1.0.14 1 error bmake: stopped in /home/pbulk/build/x11/libXaw/work/libXaw-1.0.14 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/libXaw *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/libXaw