=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/lang/smalltalk", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for smalltalk-3.2.5nb49 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/work/lang/smalltalk/work/smalltalk-3.2.5' Making all in lib-src gmake[2]: Entering directory '/home/pbulk/work/lang/smalltalk/work/smalltalk-3.2.5/lib-src' /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DUSE_INTERP_RESULT -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -D_REENTRANT -I/opt/pkg/lib/../include -I/opt/pkg/lib/../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -Wall -Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign -Wno-switch -Wwrite-strings -Wno-strict-aliasing -fno-gcse -fstrict-aliasing -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c -o getopt.lo getopt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DUSE_INTERP_RESULT -I/home/pbulk/work/lang/smalltalk/work/.buildlink/include -I/home/pbulk/work/lang/smalltalk/work/.buildlink/include/glib-2.0 -I/home/pbulk/work/lang/smalltalk/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/work/lang/smalltalk/work/.buildlink/lib/glib-2.0/include -I/home/pbulk/work/lang/smalltalk/work/.buildlink/include/freetype2 -I/home/pbulk/work/lang/smalltalk/work/.buildlink/include/ncurses -I/home/pbulk/work/lang/smalltalk/work/.buildlink/include/harfbuzz -I/home/pbulk/work/lang/smalltalk/work/.buildlink/include/libdrm -D_REENTRANT -I/home/pbulk/work/lang/smalltalk/work/.buildlink/lib/../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign -Wno-switch -Wwrite-strings -Wno-strict-aliasing -fno-gcse -fstrict-aliasing -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c getopt.c -fPIC -DPIC -o .libs/getopt.o In file included from getopt.c:107: getopt.h:109:14: error: conflicting types for 'getopt'; have 'int(void)' 109 | extern int getopt (); | ^~~~~~ In file included from getopt.c:45: /usr/include/stdio.h:335:17: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 335 | extern int getopt(int, char *const *, const char *); | ^~~~~~ getopt.c:211:12: warning: conflicting types for built-in function 'strncmp'; expected 'int(const char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 211 | extern int strncmp (); | ^~~~~~~ getopt.c:108:1: note: 'strncmp' is declared in header '' 107 | #include "getopt.h" +++ |+#include 108 | getopt.c: In function 'my_index': getopt.c:215:1: warning: old-style function definition [-Wold-style-definition] 215 | my_index (str, chr) | ^~~~~~~~ getopt.c: In function 'exchange': getopt.c:305:1: warning: old-style function definition [-Wold-style-definition] 305 | exchange (argv) | ^~~~~~~~ getopt.c: In function '_getopt_initialize': getopt.c:390:1: warning: old-style function definition [-Wold-style-definition] 390 | _getopt_initialize (argc, argv, optstring) | ^~~~~~~~~~~~~~~~~~ getopt.c:403:21: error: too many arguments to function 'getenv'; expected 0, have 1 403 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^~~~~~ ~~~~~~~~~~~~~~~~~ getopt.c:208:14: note: declared here 208 | extern char *getenv (); | ^~~~~~ getopt.c: In function '_getopt_internal': getopt.c:512:1: warning: old-style function definition [-Wold-style-definition] 512 | _getopt_internal (argc, argv, optstring, longopts, longind, long_only) | ^~~~~~~~~~~~~~~~ getopt.c:576:30: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 576 | if (optind != argc && !strcmp (argv[optind], "--")) | ^~~~~~ getopt.c:576:30: note: include '' or provide a declaration of 'strcmp' getopt.c:652:14: error: too many arguments to function 'strncmp'; expected 0, have 3 652 | if (!strncmp (p->name, nextchar, nameend - nextchar)) | ^~~~~~~ ~~~~~~~ getopt.c:211:12: note: declared here 211 | extern int strncmp (); | ^~~~~~~ getopt.c:655:35: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 655 | == (unsigned int) strlen (p->name)) | ^~~~~~ getopt.c:655:35: note: include '' or provide a declaration of 'strlen' getopt.c:655:35: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] getopt.c:655:35: note: include '' or provide a declaration of 'strlen' getopt.c:679:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 679 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:679:23: note: include '' or provide a declaration of 'strlen' getopt.c:697:22: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 697 | if (opterr) | ^ getopt.c:709:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 709 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:709:31: note: include '' or provide a declaration of 'strlen' getopt.c:725:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 725 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:725:31: note: include '' or provide a declaration of 'strlen' getopt.c:730:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 730 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:730:23: note: include '' or provide a declaration of 'strlen' getopt.c:839:16: error: too many arguments to function 'strncmp'; expected 0, have 3 839 | if (!strncmp (p->name, nextchar, nameend - nextchar)) | ^~~~~~~ ~~~~~~~ getopt.c:211:12: note: declared here 211 | extern int strncmp (); | ^~~~~~~ getopt.c:841:58: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 841 | if ((unsigned int) (nameend - nextchar) == strlen (p->name)) | ^~~~~~ getopt.c:841:58: note: include '' or provide a declaration of 'strlen' getopt.c:864:25: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 864 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:864:25: note: include '' or provide a declaration of 'strlen' getopt.c:884:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 884 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:884:33: note: include '' or provide a declaration of 'strlen' getopt.c:898:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 898 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:898:33: note: include '' or provide a declaration of 'strlen' getopt.c:902:25: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 902 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:902:25: note: include '' or provide a declaration of 'strlen' getopt.c: At top level: getopt.c:966:1: error: conflicting types for 'getopt'; have 'int(void)' 966 | getopt (argc, argv, optstring) | ^~~~~~ /usr/include/stdio.h:335:17: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 335 | extern int getopt(int, char *const *, const char *); | ^~~~~~ getopt.c: In function 'getopt': getopt.c:966:1: warning: old-style function definition [-Wold-style-definition] 966 | getopt (argc, argv, optstring) | ^~~~~~ gmake[2]: *** [Makefile:491: getopt.lo] Error 1 gmake[2]: Leaving directory '/home/pbulk/work/lang/smalltalk/work/smalltalk-3.2.5/lib-src' gmake[1]: *** [Makefile:970: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/work/lang/smalltalk/work/smalltalk-3.2.5' gmake: *** [Makefile:584: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/smalltalk *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/smalltalk