+ 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/kdrill-6.5/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kdrill-6.5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for kdrill-6.5 --- Makefile --- --- patchlevel.h --- --- Makefile --- + rm -f Makefile.bak --- patchlevel.h --- sed "s/version-sed/6.5/" patchlevel.h-dist >patchlevel.h --- Makefile --- + mv -f Makefile Makefile.bak --- options.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c options.c --- Makefile --- + echo 'imake -DUseInstalled -I/usr/share/X11/config -Wundef -DTOPDIR=. -DCURDIR=.' imake -DUseInstalled -I/usr/share/X11/config -Wundef -DTOPDIR=. -DCURDIR=. + imake -DUseInstalled -I/usr/share/X11/config -Wundef -DTOPDIR=. -DCURDIR=. /usr/pkg/bin/imake: Warning: cleaning Imakefile --- options.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from options.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ options.c: In function 'MakeGradeSelect': options.c:241:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GradeCallback,(XtPointer) widgetcount); ^ --- Makefile --- imake: executing: /usr/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -Dlinux -debuglog .imake.cpplog -DUseInstalled -Wundef -DTOPDIR=. -DCURDIR=. -DBuildHtmlManPages=NO .imake.start.c .imake.start.c:33:2: Include file Imake.tmpl not found /usr/pkg/bin/imake: Exit code 1. Stop. + exit 1 *** [Makefile] Error code 1 (ignored) --- readfile.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c readfile.c --- game.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c game.c --- readfile.o --- In file included from /usr/include/errno.h:25, from readfile.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- game.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from game.c:8: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- init.o --- rm -f init.o cc -c -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDICTLOCATION='"KDrill*kdictfile: /usr/pkg/share/kdrill/kanjidic.gz"' -DEDICTLOCATION='"KDrill*edictfile: /usr/pkg/share/kdrill/edict.gz"' -DRADLOCATION='"KDrill*radkfile: /usr/pkg/share/kdrill/radkfile"' init.c --- widgets.o --- --- init.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from init.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- widgets.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c widgets.c --- init.o --- init.c: In function 'handle_delete': init.c:171:5: warning: implicit declaration of function 'isMapped'; did you mean 'IsUnmapped'? [-Wimplicit-function-declaration] if(isMapped(w)){ ^~~~~~~~ IsUnmapped --- widgets.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from widgets.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ widgets.c: In function 'MakeChoicesButtons': widgets.c:509:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] XtNcallback,choicescallback,(XtPointer) i); ^ --- grades.o --- --- widgets.o --- widgets.c: In function 'Accelerator': widgets.c:792:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) int_store,NULL); ^ widgets.c: At top level: widgets.c:860:21: warning: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(struct _WidgetRec *, void *, void *)' [-Wincompatible-pointer-types] { "stroke-search", DoStrokeSearch}, /* ignore warning*/ ^~~~~~~~~~~~~~ widgets.c:860:21: note: (near initialization for 'kdrillActionList[4].proc') --- grades.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c grades.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from grades.c:6: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ grades.c: In function 'GradeCallback': grades.c:101:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] grademask = 1 << (int) data; ^ grades.c:103:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch((int) data){ ^ grades.c:127:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if((int) data <=6) ^ grades.c:128:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf(statusprefix,"Grade %d unset: ",(int) data); ^ grades.c:137:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if((int) data <=6) ^ grades.c:138:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf(statusprefix,"Grade %d set: ",(int) data); ^ --- frequency.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c frequency.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from frequency.c:5: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- mainwindow.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c mainwindow.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mainwindow.c:6: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- search.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c search.c --- mainwindow.o --- mainwindow.c: In function 'ChangeMode': mainwindow.c:66:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int buttonpressed = (int) data; ^ mainwindow.c: In function 'ChangeQuestion': mainwindow.c:99:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int buttonpressed = (int) data; ^ mainwindow.c: In function 'choicescallback': mainwindow.c:173:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] guessvalue((int) data); ^ --- search.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from search.c:5: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- log.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c log.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from log.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- utils.o --- rm -f utils.o cc -c -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DUNCOMPRESS='"gzip -d -c"' -DUNCOMPRESSEXT='".gz"' utils.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from utils.c:6: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- kanasearch.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c kanasearch.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from kanasearch.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- utils.o --- utils.c: In function 'nextword': utils.c:100:14: warning: comparison between pointer and zero character constant [-Wpointer-compare] if(stringp == '\0') ^~ utils.c:100:6: note: did you mean to dereference the pointer? if(stringp == '\0') ^ utils.c:106:14: warning: comparison between pointer and zero character constant [-Wpointer-compare] if(stringp == '\0') ^~ utils.c:106:6: note: did you mean to dereference the pointer? if(stringp == '\0') ^ --- kanasearch.o --- kanasearch.c: In function 'kanacallback': kanasearch.c:230:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] CHAR.byte1 = ((int) data & 0xff00) >>8; ^ kanasearch.c:231:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] CHAR.byte2 = ((int) data & 0x00ff); ^ kanasearch.c: In function 'ksearch_toggles': kanasearch.c:264:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if((int)data == 2){ ^ kanasearch.c: In function 'makeinputwidgets': kanasearch.c:372:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) kvalue); ^ --- convert.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c convert.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/misc/kdrill/work/.buildlink/include/X11/Xlib.h:38, from convert.c:5: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- multikanji.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c multikanji.c --- kanjisearch.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c kanjisearch.c --- multikanji.o --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/misc/kdrill/work/.buildlink/include/X11/Xos.h:42, from multikanji.c:27: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- kanjisearch.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from kanjisearch.c:4: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- multikanji.o --- multikanji.c: In function 'multiUcallback': multikanji.c:207:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] TRANSLATION trans=transptrs[(int)data]; ^ multikanji.c: In function 'createallmulti': multikanji.c:279:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] XtAddCallback(newu, XtNcallback, multiUcallback, (XtPointer)transcount); ^ --- kanjisearch.o --- kanjisearch.c: In function 'selectquarter': kanjisearch.c:62:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] num = (int)data; ^ kanjisearch.c: In function 'changequarter': kanjisearch.c:84:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] XtNlabel, quarterchars[(int)data], ^ kanjisearch.c: In function 'DoKanjiFind': kanjisearch.c:110:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ kanjisearch.c:110:4: warning: incompatible implicit declaration of built-in function 'exit' kanjisearch.c:110:4: note: include '<stdlib.h>' or provide a declaration of 'exit' kanjisearch.c:28:1: +#include <stdlib.h> kanjisearch.c:110:4: exit(1); ^~~~ kanjisearch.c: In function 'makekanjiinput': kanjisearch.c:201:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) kcount); ^ kanjisearch.c:287:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) kcount); ^ --- strokesearch.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c strokesearch.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from strokesearch.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- radsearch.o --- rm -f radsearch.o cc -c -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DRADLOCATION='"KDrill*radkfile: /usr/pkg/share/kdrill/radkfile"' radsearch.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from radsearch.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- searchwidgets.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c searchwidgets.c --- radsearch.o --- radsearch.c: In function 'InitRadicals': radsearch.c:525:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ radsearch.c:525:4: warning: incompatible implicit declaration of built-in function 'exit' radsearch.c:525:4: note: include '<stdlib.h>' or provide a declaration of 'exit' radsearch.c:36:1: +#include <stdlib.h> radsearch.c:525:4: exit(1); ^~~~ --- searchwidgets.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from searchwidgets.c:5: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- prefs.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c prefs.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from prefs.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- badguess.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c badguess.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from badguess.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- skipsearch.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c skipsearch.c --- learn.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c learn.c --- skipsearch.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from skipsearch.c:3: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- learn.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from learn.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- skipsearch.o --- skipsearch.c: In function 'SKIPshapecallback': skipsearch.c:104:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf(newlabel,"%1d",(int)client_data); ^ skipsearch.c: In function 'SKIPcallbacks': skipsearch.c:117:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int skipnum=(int)client_data; ^ skipsearch.c: In function 'makeskipinput': skipsearch.c:341:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) scount); ^ --- learn.o --- learn.c: In function 'LearnNewChar': learn.c:158:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] showinorder=(Boolean)((int)client_data & 0xff); ^ --- timeout.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c timeout.c --- kdrill._man --- rm -f kdrill._man if test -z "" ; then cd `dirname kdrill` && ln -s `basename kdrill.man` `basename kdrill._man`; else cpp -undef -traditional -D__apploaddir__=/usr/share/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" < kdrill.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/\@\@$/\\/' >kdrill._man; fi --- timeout.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from timeout.c:3: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- main.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c main.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from main.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- KDrill.ad --- sed -e "s:EDICTLOCATION:/usr/pkg/share/kdrill/edict.gz:" -e "s:KDICTLOCATION:/usr/pkg/share/kdrill/kanjidic.gz:" -e "s:RADLOCATION:/usr/pkg/share/kdrill/radkfile:" < KDrill.ad-dist > KDrill.ad --- kdrill --- rm -f kdrill cc -o kdrill -O2 -fno-strength-reduce -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib main.o options.o readfile.o game.o init.o widgets.o grades.o frequency.o mainwindow.o search.o log.o utils.o kanasearch.o convert.o multikanji.o kanjisearch.o strokesearch.o radsearch.o searchwidgets.o prefs.o badguess.o skipsearch.o learn.o timeout.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -Wl,-rpath,/usr/pkg/lib -Wl,-rpath-link,./exports/lib