=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libextractor", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for libextractor-1.13nb24 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/work/devel/libextractor/work/libextractor-1.13' Making all in m4 gmake[2]: Entering directory '/tmp/work/devel/libextractor/work/libextractor-1.13/m4' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/work/devel/libextractor/work/libextractor-1.13/m4' Making all in po gmake[2]: Entering directory '/tmp/work/devel/libextractor/work/libextractor-1.13/po' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/work/devel/libextractor/work/libextractor-1.13/po' Making all in src gmake[2]: Entering directory '/tmp/work/devel/libextractor/work/libextractor-1.13/src' Making all in include gmake[3]: Entering directory '/tmp/work/devel/libextractor/work/libextractor-1.13/src/include' Making all in . gmake[4]: Entering directory '/tmp/work/devel/libextractor/work/libextractor-1.13/src/include' gmake[4]: Nothing to be done for 'all-am'. gmake[4]: Leaving directory '/tmp/work/devel/libextractor/work/libextractor-1.13/src/include' gmake[3]: Leaving directory '/tmp/work/devel/libextractor/work/libextractor-1.13/src/include' Making all in main gmake[3]: Entering directory '/tmp/work/devel/libextractor/work/libextractor-1.13/src/main' Making all in . gmake[4]: Entering directory '/tmp/work/devel/libextractor/work/libextractor-1.13/src/main' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -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/libxml2 -I/opt/pkg/include/ImageMagick-7 -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/ffmpeg4 -fvisibility=hidden -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/libxml2 -I/opt/pkg/include/ImageMagick-7 -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/ffmpeg4 -MT extract.o -MD -MP -MF .deps/extract.Tpo -c -o extract.o extract.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -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/libxml2 -I/opt/pkg/include/ImageMagick-7 -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/ffmpeg4 -fvisibility=hidden -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/libxml2 -I/opt/pkg/include/ImageMagick-7 -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/ffmpeg4 -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c In file included from getopt.c:111: getopt.h:111:12: error: conflicting types for 'getopt'; have 'int(void)' 111 | extern int getopt (); | ^~~~~~ In file included from getopt.c:43: /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 'my_index': getopt.c:214:1: warning: old-style function definition [-Wold-style-definition] 214 | my_index (str, chr) | ^~~~~~~~ getopt.c: In function 'exchange': getopt.c:313:1: warning: old-style function definition [-Wold-style-definition] 313 | exchange (argv) | ^~~~~~~~ getopt.c: In function '_getopt_initialize': getopt.c:400:1: warning: old-style function definition [-Wold-style-definition] 400 | _getopt_initialize (argc, argv, optstring) | ^~~~~~~~~~~~~~~~~~ getopt.c:414:21: error: too many arguments to function 'getenv'; expected 0, have 1 414 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^~~~~~ ~~~~~~~~~~~~~~~~~ getopt.c:211:7: note: declared here 211 | char *getenv (); | ^~~~~~ getopt.c: In function '_getopt_internal': getopt.c:526:1: warning: old-style function definition [-Wold-style-definition] 526 | _getopt_internal (argc, argv, optstring, longopts, longind, long_only) | ^~~~~~~~~~~~~~~~ getopt.c: At top level: getopt.c:984:1: error: conflicting types for 'getopt'; have 'int(void)' 984 | 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:984:1: warning: old-style function definition [-Wold-style-definition] 984 | getopt (argc, argv, optstring) | ^~~~~~ gmake[4]: *** [Makefile:1075: getopt.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... In file included from extract.c:27: getopt.h:111:12: error: conflicting types for 'getopt'; have 'int(void)' 111 | extern int getopt (); | ^~~~~~ In file included from ../../src/include/platform.h:42, from extract.c:25: /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 *); | ^~~~~~ gmake[4]: *** [Makefile:1075: extract.o] Error 1 gmake[4]: Leaving directory '/tmp/work/devel/libextractor/work/libextractor-1.13/src/main' gmake[3]: *** [Makefile:1192: all-recursive] Error 1 gmake[3]: Leaving directory '/tmp/work/devel/libextractor/work/libextractor-1.13/src/main' gmake[2]: *** [Makefile:436: all-recursive] Error 1 gmake[2]: Leaving directory '/tmp/work/devel/libextractor/work/libextractor-1.13/src' gmake[1]: *** [Makefile:562: all-recursive] Error 1 gmake[1]: Leaving directory '/tmp/work/devel/libextractor/work/libextractor-1.13' gmake: *** [Makefile:469: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libextractor *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libextractor