=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for pixmap-2.6.4nb8 clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -D_NO_PROTO -DAPPDEFDIR=\"/opt/pkg/lib/X11/app-defaults\" -DRGBF=\"/opt/pkg/share/X11/rgb.txt\" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c PixEdit.c In file included from PixEdit.c:349: ./TextOpt.c:214:23: warning: unused variable 'text_string' [-Wunused-variable] String font_name, text_string; ^ ./TextOpt.c:214:12: warning: unused variable 'font_name' [-Wunused-variable] String font_name, text_string; ^ PixEdit.c:476:5: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] pixel, max_colors-1); ^~~~~ PixEdit.c:1299:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ PixEdit.c:1322:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ PixEdit.c:1355:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ PixEdit.c:1388:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ PixEdit.c:1421:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ PixEdit.c:1876:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(argc, argv) ^ PixEdit.c:1876:1: note: change return type to 'int' void main(argc, argv) ^~~~ int PixEdit.c:58:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[] = "$Id: PixEdit.c,v 1.20 1996/09/02 16:50:33 lmallet Exp $"; ^ 10 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -D_NO_PROTO -DAPPDEFDIR=\"/opt/pkg/lib/X11/app-defaults\" -DRGBF=\"/opt/pkg/share/X11/rgb.txt\" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c Pixmap.c In file included from Pixmap.c:472: ./Graphics.c:516:11: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!fabs(beta1 - beta2) > PRECISION) return(NULL); ^ ~ ./Graphics.c:516:11: note: add parentheses after the '!' to evaluate the comparison first if (!fabs(beta1 - beta2) > PRECISION) return(NULL); ^ ( ) ./Graphics.c:516:11: note: add parentheses around left hand side expression to silence this warning if (!fabs(beta1 - beta2) > PRECISION) return(NULL); ^ ( ) ./Graphics.c:539:12: warning: variable 'x' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Graphics.c:554:27: note: uninitialized use occurs here if (((Position)roundint(x) < min(P1.x, Q1.x)) || ^ ./Graphics.c:75:46: note: expanded from macro 'roundint' #define roundint(x) floor((x) + 0.5) ^ ./Graphics.c:539:8: note: remove the 'if' if its condition is always true else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Graphics.c:539:12: warning: variable 'x' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Graphics.c:554:27: note: uninitialized use occurs here if (((Position)roundint(x) < min(P1.x, Q1.x)) || ^ ./Graphics.c:75:46: note: expanded from macro 'roundint' #define roundint(x) floor((x) + 0.5) ^ ./Graphics.c:539:12: note: remove the '&&' if its condition is always true else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Graphics.c:539:12: warning: variable 'x' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~~~~~~~~~ ./Graphics.c:554:27: note: uninitialized use occurs here if (((Position)roundint(x) < min(P1.x, Q1.x)) || ^ ./Graphics.c:75:46: note: expanded from macro 'roundint' #define roundint(x) floor((x) + 0.5) ^ ./Graphics.c:539:12: note: remove the '&&' if its condition is always true else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~~~~~~~~~~~~ ./Graphics.c:539:12: warning: variable 'x' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~ ./Graphics.c:554:27: note: uninitialized use occurs here if (((Position)roundint(x) < min(P1.x, Q1.x)) || ^ ./Graphics.c:75:46: note: expanded from macro 'roundint' #define roundint(x) floor((x) + 0.5) ^ ./Graphics.c:539:12: note: remove the '&&' if its condition is always true else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~ ./Graphics.c:457:11: note: initialize the variable 'x' to silence this warning double x, y; ^ = 0.0 Pixmap.c:963:24: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-void-pointer-cast] {XtWidgetBaseOffset, (XtPointer) XtOffset(Widget, core.screen), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Pixmap.c:1041:26: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] printf("Pixel %d\n", *(pixel-shift)); ~~ ^~~~~~~~~~~~~~ %lu Pixmap.c:1374:24: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] printf("Pixel %d\n", *(pixel-shift)); ~~ ^~~~~~~~~~~~~~ %lu Pixmap.c:2001:41: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] CopyExtensions( &infos->extensions, &infos->nextensions, ^~~~~~~~~~~~~~~~~~~ Pixmap.c:2160:30: warning: variable 'coreWidth' set but not used [-Wunused-but-set-variable] Dimension width, height, coreWidth, coreHeight; ^ Pixmap.c:2160:41: warning: variable 'coreHeight' set but not used [-Wunused-but-set-variable] Dimension width, height, coreWidth, coreHeight; ^ Pixmap.c:58:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[] = "$Id: Pixmap.c,v 1.22 1996/09/02 08:32:37 lmallet Exp $"; ^ 12 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -D_NO_PROTO -DAPPDEFDIR=\"/opt/pkg/lib/X11/app-defaults\" -DRGBF=\"/opt/pkg/share/X11/rgb.txt\" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c Dialog.c Dialog.c:117:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (popup = (Dialog) XtMalloc(sizeof(_Dialog))) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dialog.c:117:15: note: place parentheses around the assignment to silence this warning if (popup = (Dialog) XtMalloc(sizeof(_Dialog))) { ^ ( ) Dialog.c:117:15: note: use '==' to turn this assignment into an equality comparison if (popup = (Dialog) XtMalloc(sizeof(_Dialog))) { ^ == 1 warning generated. rm -f pixmap._man if test -z "" ; then cd `dirname pixmap` && ln -s `basename pixmap.man` `basename pixmap._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/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__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/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" < pixmap.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/\@\@$/\/' >pixmap._man; fi awk 'NF == 4 && $4 !~ /[Gg]rey/ && $4 !~ /[0-9]/ {print $4}' /opt/pkg/share/X11/rgb.txt > dotpixmap Pixmap compiled with Motif. rm -f pixmap clang -o pixmap -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib PixEdit.o Pixmap.o Dialog.o -L/opt/pkg/lib -lXpm -L/opt/pkg/lib -L/opt/pkg/lib -lXm -lXft -lXm -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lX11 -lm Undefined symbols for architecture arm64: "_xpmGetRgbName", referenced from: _PWUpdateColorInTable in Pixmap.o "_xpmReadRgbNames", referenced from: _Initialize in Pixmap.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [pixmap] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/graphics/pixmap/work/pixmap bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/graphics/pixmap/work/pixmap *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/pixmap *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/pixmap