+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xgap-4.16nb3/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xgap-4.16nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xgap-4.16nb3 --- bin/x86_64-redhat-linux-gnu-cc/configure --- if test ! -d bin; then mkdir bin; fi if test ! -d bin/x86_64-redhat-linux-gnu-cc; then mkdir bin/x86_64-redhat-linux-gnu-cc; fi cp cnf/configure.out bin/x86_64-redhat-linux-gnu-cc/configure --- bin/x86_64-redhat-linux-gnu-cc/Makefile --- ( cd bin/x86_64-redhat-linux-gnu-cc ; CC=cc ./configure --target=x86_64-redhat-linux-gnu --prefix=/usr/pkg --build=x86_64-redhat-linux --host=x86_64-redhat-linux --mandir=/usr/pkg/man --enable-option-checking=yes ) creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib) works... yes checking whether the C compiler (cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking whether cc understands -c and -o together... yes checking for working const... yes checking size of short... 2 checking size of int... 4 checking size of long... 8 checking for st_rdev in struct stat... yes checking how to run the C preprocessor... cpp checking for uid_t in sys/types.h... yes checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking build system type... x86_64-redhat-linux-gnu checking for ANSI C header files... yes checking for libc.h... no checking for unistd.h... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for wait3 that fills in rusage... yes checking for pid_t... yes checking for fcntl.h... yes checking for sgtty.h... yes checking for termios.h... yes checking for termio.h... yes checking for sys/ioctl.h... yes checking for sys/select.h... yes checking for select... yes checking for getpseudotty... no checking for _getpty... no checking for signal.h... yes checking for sys/signal.h... yes checking for signal... yes checking return type of signal handlers... void checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking whether closedir returns void... no checking for X... libraries , headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for broken exposure compress in open windows... no (good) updating cache ./config.cache creating ./config.status creating Makefile creating config.h --- compile --- ( cd bin/x86_64-redhat-linux-gnu-cc ; /usr/pkg/bin/bmake CC=cc ) --- xcmds.o --- --- utils.o --- --- xcmds.o --- cc -I. -pipe -O2 -I/usr/pkg/include -o xcmds.o -c ../../src.x11/xcmds.c --- utils.o --- cc -I. -pipe -O2 -I/usr/pkg/include -o utils.o -c ../../src.x11/utils.c --- gapgraph.o --- cc -I. -pipe -O2 -I/usr/pkg/include -o gapgraph.o -c ../../src.x11/gapgraph.c --- xcmds.o --- ../../src.x11/xcmds.c: In function 'FunChangeList': ../../src.x11/xcmds.c:716:36: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 716 | XawListChange( arg->sel->list, text, 0, 0, True ); | ^~~~ | | | char ** In file included from ../../src.x11/utils.h:153, from ../../src.x11/xcmds.c:10: /home/pbulk/build/math/xgap/work/.buildlink/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, ../../src.x11/xcmds.c: In function 'FunPlaybackFile': ../../src.x11/xcmds.c:1929:12: warning: implicit declaration of function 'PlaybackFile'; did you mean 'FunPlaybackFile'? [-Wimplicit-function-declaration] 1929 | return PlaybackFile(arg->sargs[0]) ? | ^~~~~~~~~~~~ | FunPlaybackFile ../../src.x11/xcmds.c: In function 'FunResumePlayback': ../../src.x11/xcmds.c:1942:12: warning: implicit declaration of function 'ResumePlayback'; did you mean 'FunResumePlayback'? [-Wimplicit-function-declaration] 1942 | return ResumePlayback() ? | ^~~~~~~~~~~~~~ | FunResumePlayback --- gaptext.o --- cc -I. -pipe -O2 -I/usr/pkg/include -o gaptext.o -c ../../src.x11/gaptext.c --- pty.o --- cc -I. -pipe -O2 -I/usr/pkg/include -o pty.o -c ../../src.x11/pty.c ../../src.x11/pty.c: In function 'StartGapProcess': ../../src.x11/pty.c:1441:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1441 | write( 1, "@-", 4 ); | ^~~~~~~~~~~~~~~~~~~ --- popdial.o --- cc -I. -pipe -O2 -I/usr/pkg/include -o popdial.o -c ../../src.x11/popdial.c --- xgap.o --- cc -I. -pipe -O2 -I/usr/pkg/include -o xgap.o -c ../../src.x11/xgap.c --- pty.o --- ../../src.x11/pty.c:1441:9: warning: 'write' reading 4 bytes from a region of size 3 [-Wstringop-overread] 1441 | write( 1, "@-", 4 ); | ^~~~~~~~~~~~~~~~~~~ In file included from ../../src.x11/utils.h:77, from ../../src.x11/pty.c:37: /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ --- selfile.o --- cc -I. -pipe -O2 -I/usr/pkg/include -o selfile.o -c ../../src.x11/selfile.c ../../src.x11/selfile.c: In function 'SFscrollTimer': ../../src.x11/selfile.c:823:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 823 | n = (int) p; | ^ ../../src.x11/selfile.c:853:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 853 | SFscrollTimerInterval(), SFscrollTimer, (XtPointer) n); | ^ ../../src.x11/selfile.c: In function 'SFnewInvertEntry': ../../src.x11/selfile.c:894:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 894 | (XtPointer) n); | ^ ../../src.x11/selfile.c: In function 'SFcreateWidgets': ../../src.x11/selfile.c:2383:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2383 | SFvFloatSliderMovedCallback, (XtPointer) n ); | ^ ../../src.x11/selfile.c:2385:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2385 | SFvAreaSelectedCallback, (XtPointer) n ); | ^ ../../src.x11/selfile.c:2397:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2397 | SFhSliderMovedCallback, (XtPointer) n ); | ^ ../../src.x11/selfile.c:2399:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2399 | SFhAreaSelectedCallback, (XtPointer) n ); | ^ ../../src.x11/selfile.c:2472:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2472 | SFexposeList, (XtPointer) n ); | ^ ../../src.x11/selfile.c:2474:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2474 | SFenterList, (XtPointer) n ); | ^ ../../src.x11/selfile.c:2476:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2476 | SFleaveList, (XtPointer) n ); | ^ ../../src.x11/selfile.c:2478:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2478 | SFmotionList, (XtPointer) n ); | ^ ../../src.x11/selfile.c:2480:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2480 | SFbuttonPressList, (XtPointer) n ); | ^ ../../src.x11/selfile.c:2482:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2482 | SFbuttonReleaseList, (XtPointer) n ); | ^ In file included from /usr/include/string.h:519, from /home/pbulk/build/math/xgap/work/.buildlink/include/X11/Xos.h:62, from ../../src.x11/utils.h:132, from ../../src.x11/selfile.c:57: In function 'strncat', inlined from 'SFreplaceText.isra' at ../../src.x11/selfile.c:1330:10: /usr/include/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src.x11/selfile.c: In function 'SFreplaceText.isra': ../../src.x11/selfile.c:1326:15: note: length computed here 1326 | len = strlen(str); | ^~~~~~~~~~~ --- xgap --- cc -o xgap xcmds.o utils.o gapgraph.o gaptext.o pty.o popdial.o xgap.o selfile.o -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lXaw -lXmu -lXt -lXext -lX11 -lSM -lICE chmod +x xgap.sh cp xgap.sh bin/xgap.sh