=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/refocus-it", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for refocus-it-2.0.0nb4 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in po Making all in src --- blur.o --- --- boundary.o --- --- convmask.o --- --- blur.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT blur.o -MD -MP -MF ".deps/blur.Tpo" -c -o blur.o `test -f 'blur.c' || echo './'`blur.c; then mv -f ".deps/blur.Tpo" ".deps/blur.Po"; else rm -f ".deps/blur.Tpo"; exit 1; fi --- convmask.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT convmask.o -MD -MP -MF ".deps/convmask.Tpo" -c -o convmask.o `test -f 'convmask.c' || echo './'`convmask.c; then mv -f ".deps/convmask.Tpo" ".deps/convmask.Po"; else rm -f ".deps/convmask.Tpo"; exit 1; fi --- boundary.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT boundary.o -MD -MP -MF ".deps/boundary.Tpo" -c -o boundary.o `test -f 'boundary.c' || echo './'`boundary.c; then mv -f ".deps/boundary.Tpo" ".deps/boundary.Po"; else rm -f ".deps/boundary.Tpo"; exit 1; fi --- hopfield.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT hopfield.o -MD -MP -MF ".deps/hopfield.Tpo" -c -o hopfield.o `test -f 'hopfield.c' || echo './'`hopfield.c; then mv -f ".deps/hopfield.Tpo" ".deps/hopfield.Po"; else rm -f ".deps/hopfield.Tpo"; exit 1; fi --- image.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT image.o -MD -MP -MF ".deps/image.Tpo" -c -o image.o `test -f 'image.c' || echo './'`image.c; then mv -f ".deps/image.Tpo" ".deps/image.Po"; else rm -f ".deps/image.Tpo"; exit 1; fi --- lambda.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT lambda.o -MD -MP -MF ".deps/lambda.Tpo" -c -o lambda.o `test -f 'lambda.c' || echo './'`lambda.c; then mv -f ".deps/lambda.Tpo" ".deps/lambda.Po"; else rm -f ".deps/lambda.Tpo"; exit 1; fi --- threshold.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT threshold.o -MD -MP -MF ".deps/threshold.Tpo" -c -o threshold.o `test -f 'threshold.c' || echo './'`threshold.c; then mv -f ".deps/threshold.Tpo" ".deps/threshold.Po"; else rm -f ".deps/threshold.Tpo"; exit 1; fi --- weights.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT weights.o -MD -MP -MF ".deps/weights.Tpo" -c -o weights.o `test -f 'weights.c' || echo './'`weights.c; then mv -f ".deps/weights.Tpo" ".deps/weights.Po"; else rm -f ".deps/weights.Tpo"; exit 1; fi --- xmalloc.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o `test -f 'xmalloc.c' || echo './'`xmalloc.c; then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit 1; fi --- librefocus-it.a --- rm -f librefocus-it.a ar cru librefocus-it.a blur.o boundary.o convmask.o hopfield.o image.o lambda.o threshold.o weights.o xmalloc.o ranlib librefocus-it.a Making all in doc Making all in cmd-line --- main-cmd.o --- --- getopt.o --- --- getopt1.o --- --- main-cmd.o --- if gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../cmd-line -I../src -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT main-cmd.o -MD -MP -MF ".deps/main-cmd.Tpo" -c -o main-cmd.o `test -f 'main-cmd.c' || echo './'`main-cmd.c; then mv -f ".deps/main-cmd.Tpo" ".deps/main-cmd.Po"; else rm -f ".deps/main-cmd.Tpo"; exit 1; fi --- getopt.o --- if gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../cmd-line -I../src -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o `test -f 'getopt.c' || echo './'`getopt.c; then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi --- getopt1.o --- if gcc -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../cmd-line -I../src -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c; then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi In file included from getopt1.c:34: /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:24: getopt.h:146:12: note: previous declaration of 'getopt' with type 'int(void)' 146 | extern int getopt (); | ^~~~~~ --- getopt.o --- In file included from getopt.c:104: getopt.h:146:12: error: conflicting types for 'getopt'; have 'int(void)' 146 | extern int getopt (); | ^~~~~~ In file included from getopt.c:41: /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 *); | ^~~~~~ --- getopt1.o --- getopt1.c: In function 'getopt_long': getopt1.c:66:1: warning: old-style function definition [-Wold-style-definition] 66 | getopt_long (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~ getopt1.c: In function 'getopt_long_only': getopt1.c:82:1: warning: old-style function definition [-Wold-style-definition] 82 | getopt_long_only (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~~~~~~ --- getopt.o --- 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:311:1: warning: old-style function definition [-Wold-style-definition] 311 | exchange (argv) | ^~~~~~~~ getopt.c: In function '_getopt_initialize': getopt.c:396:1: warning: old-style function definition [-Wold-style-definition] 396 | _getopt_initialize (argc, argv, optstring) | ^~~~~~~~~~~~~~~~~~ getopt.c:409:21: error: too many arguments to function 'getenv'; expected 0, have 1 409 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^~~~~~ ~~~~~~~~~~~~~~~~~ getopt.c:211:14: note: declared here 211 | extern char *getenv (); | ^~~~~~ getopt.c: In function '_getopt_internal': getopt.c:518:1: warning: old-style function definition [-Wold-style-definition] 518 | _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) | ^~~~~~ --- main-cmd.o --- In file included from main-cmd.c:34: getopt.h:146:12: error: conflicting types for 'getopt'; have 'int(void)' 146 | extern int getopt (); | ^~~~~~ In file included from main-cmd.c:24: /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 *); | ^~~~~~ --- getopt1.o --- *** [getopt1.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/work/graphics/refocus-it/work/refocus-it-2.0.0/cmd-line --- getopt.o --- *** [getopt.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/work/graphics/refocus-it/work/refocus-it-2.0.0/cmd-line --- main-cmd.o --- *** [main-cmd.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/work/graphics/refocus-it/work/refocus-it-2.0.0/cmd-line bmake[2]: 3 errors bmake[2]: stopped making "all" in /home/pbulk/work/graphics/refocus-it/work/refocus-it-2.0.0/cmd-line *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /home/pbulk/work/graphics/refocus-it/work/refocus-it-2.0.0 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /home/pbulk/work/graphics/refocus-it/work/refocus-it-2.0.0 *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/work/graphics/refocus-it/work/refocus-it-2.0.0 bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/graphics/refocus-it/work/refocus-it-2.0.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/refocus-it *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/refocus-it