+ 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 -pipe -O2 -D_FORTIFY_SOURCE=2 -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 -pipe -O2 -D_FORTIFY_SOURCE=2 -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 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include   -o xcmds.o -c ../../src.x11/xcmds.c
--- utils.o ---
cc -I. -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include   -o utils.o -c ../../src.x11/utils.c
--- xcmds.o ---
../../src.x11/xcmds.c: In function 'FunChangeList':
../../src.x11/xcmds.c:716:5: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [enabled by default]
     XawListChange( arg->sel->list, text, 0, 0, True );
     ^
In file included from ../../src.x11/utils.h:153:0,
                 from ../../src.x11/xcmds.c:10:
/home/pbulk/build/math/xgap/work/.buildlink/include/X11/Xaw/List.h:167:6: note: expected 'const char **' but argument is of type 'char **'
 void XawListChange
      ^
--- gapgraph.o ---
cc -I. -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include   -o gapgraph.o -c ../../src.x11/gapgraph.c
--- gaptext.o ---
cc -I. -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include   -o gaptext.o -c ../../src.x11/gaptext.c
--- pty.o ---
cc -I. -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include   -o pty.o -c ../../src.x11/pty.c
--- popdial.o ---
cc -I. -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include   -o popdial.o -c ../../src.x11/popdial.c
--- pty.o ---
../../src.x11/pty.c: In function 'StartGapProcess':
../../src.x11/pty.c:1441:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
         write( 1, "@-", 4 );
              ^
--- xgap.o ---
cc -I. -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include   -o xgap.o -c ../../src.x11/xgap.c
--- selfile.o ---
cc -I. -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -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]
         n = (int) p;
             ^
../../src.x11/selfile.c:853:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    SFscrollTimerInterval(), SFscrollTimer, (XtPointer) n);
                                            ^
../../src.x11/selfile.c: In function 'SFnewInvertEntry':
../../src.x11/selfile.c:894:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      (XtPointer) n);
      ^
../../src.x11/selfile.c: In function 'SFcreateWidgets':
../../src.x11/selfile.c:2383:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
          SFvFloatSliderMovedCallback, (XtPointer) n );
                                       ^
../../src.x11/selfile.c:2385:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    SFvAreaSelectedCallback, (XtPointer) n );
                             ^
../../src.x11/selfile.c:2397:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
          SFhSliderMovedCallback, (XtPointer) n );
                                  ^
../../src.x11/selfile.c:2399:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
          SFhAreaSelectedCallback, (XtPointer) n );
                                   ^
../../src.x11/selfile.c:2472:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       SFexposeList, (XtPointer) n );
                     ^
../../src.x11/selfile.c:2474:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       SFenterList, (XtPointer) n );
                    ^
../../src.x11/selfile.c:2476:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       SFleaveList, (XtPointer) n );
                    ^
../../src.x11/selfile.c:2478:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       SFmotionList, (XtPointer) n );
                     ^
../../src.x11/selfile.c:2480:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       SFbuttonPressList, (XtPointer) n );
                          ^
../../src.x11/selfile.c:2482:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        SFbuttonReleaseList, (XtPointer) n );
                             ^
--- xgap ---
cc -o xgap xcmds.o utils.o gapgraph.o gaptext.o pty.o popdial.o xgap.o selfile.o -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -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