=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/hp2xx", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for hp2xx-3.4.4nb17 --- hp2xx.o --- --- hpgl.o --- --- picbuf.o --- --- bresnham.o --- --- hpgl.o --- rm -f hpgl.o --- picbuf.o --- rm -f picbuf.o --- hp2xx.o --- rm -f hp2xx.o --- bresnham.o --- rm -f bresnham.o --- hp2xx.o --- gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include hp2xx.c --- bresnham.o --- gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include bresnham.c --- picbuf.o --- gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include picbuf.c --- hpgl.o --- gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include hpgl.c --- chardraw.o --- rm -f chardraw.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include chardraw.c chardraw.c:1423:62: warning: trigraph '??)' ignored, use '-trigraphs' to enable [-Wtrigraphs] 1423 | fprintf(stderr, "TT move to %ld %ld (oder ists %d %d ??)\n", to->x, --- getopt.o --- rm -f getopt.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include getopt.c In file included from getopt.c:100: getopt.h:104:20: error: conflicting types for 'getopt'; have 'int(void)' 104 | extern int getopt(); | ^~~~~~ In file included from getopt.c:59: /usr/include/stdlib.h:302:12: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 302 | extern int getopt(int, char *const *, const char *); | ^~~~~~ getopt.c:190:7: error: conflicting types for 'getenv'; have 'char *(void)' 190 | char *getenv(); | ^~~~~~ In file included from /usr/include/stdlib.h:41: /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ getopt.c: In function 'my_index': getopt.c:192:14: warning: old-style function definition [-Wold-style-definition] 192 | static char *my_index(str, chr) | ^~~~~~~~ getopt.c: In function '_getopt_internal': getopt.c:369:28: error: too many arguments to function 'getenv'; expected 0, have 1 369 | } else if (getenv("POSIXLY_CORRECT") != NULL) | ^~~~~~ ~~~~~~~~~~~~~~~~~ getopt.c:190:7: note: declared here 190 | char *getenv(); | ^~~~~~ getopt.c: At top level: getopt.c:656:5: error: conflicting types for 'getopt'; have 'int(void)' 656 | int getopt(argc, argv, optstring) | ^~~~~~ /usr/include/stdlib.h:302:12: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 302 | extern int getopt(int, char *const *, const char *); | ^~~~~~ getopt.c: In function 'getopt': getopt.c:656:5: warning: old-style function definition [-Wold-style-definition] 656 | int getopt(argc, argv, optstring) | ^~~~~~ *** [getopt.o] Error code 1 (ignored) --- getopt1.o --- rm -f getopt1.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include getopt1.c In file included from getopt1.c:42: /usr/include/stdio.h:335:17: error: conflicting types for 'getopt'; have 'int(int, char * const*, const char *)' 335 | extern int getopt(int, char *const *, const char *); | ^~~~~~ In file included from getopt1.c:32: getopt.h:104:20: note: previous declaration of 'getopt' with type 'int(void)' 104 | extern int getopt(); | ^~~~~~ getopt1.c: In function 'getopt_long': getopt1.c:67:5: warning: old-style function definition [-Wold-style-definition] 67 | int getopt_long(argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~ getopt1.c: In function 'getopt_long_only': getopt1.c:83:5: warning: old-style function definition [-Wold-style-definition] 83 | int getopt_long_only(argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~~~~~~ *** [getopt1.o] Error code 1 (ignored) --- to_vec.o --- rm -f to_vec.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include to_vec.c --- to_pcx.o --- rm -f to_pcx.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include to_pcx.c --- to_pcl.o --- rm -f to_pcl.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include to_pcl.c --- to_eps.o --- rm -f to_eps.o --- to_img.o --- --- to_eps.o --- gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include to_eps.c --- to_img.o --- rm -f to_img.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include to_img.c --- to_pbm.o --- rm -f to_pbm.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include to_pbm.c --- to_rgip.o --- --- std_main.o --- --- to_rgip.o --- rm -f to_rgip.o --- std_main.o --- rm -f std_main.o --- to_rgip.o --- gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include to_rgip.c --- std_main.o --- gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include std_main.c In file included from std_main.c:40: getopt.h:104:20: error: conflicting types for 'getopt'; have 'int(void)' 104 | extern int getopt(); | ^~~~~~ In file included from std_main.c:30: /usr/include/stdlib.h:302:12: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 302 | extern int getopt(int, char *const *, const char *); | ^~~~~~ --- to_fig.o --- rm -f to_fig.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include to_fig.c --- std_main.o --- *** [std_main.o] Error code 1 (ignored) --- clip.o --- rm -f clip.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include clip.c --- fillpoly.o --- rm -f fillpoly.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include fillpoly.c --- pendef.o --- rm -f pendef.o --- lindef.o --- --- pendef.o --- gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include pendef.c --- lindef.o --- rm -f lindef.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include lindef.c --- murphy.o --- rm -f murphy.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include murphy.c murphy.c: In function 'do_miter': murphy.c:254:13: warning: old-style function definition [-Wold-style-definition] 254 | static void do_miter(miter, ml1b, ml2b, ml1, ml2) | ^~~~~~~~ --- to_x11.o --- rm -f to_x11.o --- to_pic.o --- --- to_x11.o --- gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include to_x11.c --- to_pic.o --- rm -f to_pic.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include to_pic.c --- to_pac.o --- rm -f to_pac.o gcc -DUNIX -DHAS_UNIX_X11 -DPIC_PAC -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I/opt/pkg/include to_pac.c --- all --- gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib hp2xx.o hpgl.o picbuf.o bresnham.o chardraw.o getopt.o getopt1.o to_vec.o to_pcx.o to_pcl.o to_eps.o to_img.o to_pbm.o to_rgip.o std_main.o to_fig.o clip.o fillpoly.o pendef.o lindef.o murphy.o to_x11.o to_pic.o to_pac.o -lX11 -lm -lz -lpng -lpdf -ltiff -ljpeg -o hp2xx ld: fatal: file getopt.o: open failed: No such file or directory ld: fatal: file getopt1.o: open failed: No such file or directory ld: fatal: file std_main.o: open failed: No such file or directory ld: fatal: file processing errors. No output written to hp2xx collect2: error: ld returned 1 exit status *** [all] Error code 1 bmake: stopped making "all" in /home/pbulk/work/graphics/hp2xx/work/hp2xx-3.4.4/sources bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/graphics/hp2xx/work/hp2xx-3.4.4/sources *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/hp2xx *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/hp2xx