=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-fuse", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for libretro-fuse-20200506 cp ./src/config_fuse.h ./fuse/config.h cp ./src/config_libspectrum.h ./libspectrum/config.h gcc -c -o src/libretro.o src/libretro.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -DLOG_PERFORMANCE -fPIC -D__LIBRETRO__ -DHAVE_CONFIG_H -Wall -I. -I./src -I./src/compat -I./fuse -I./fuse/compat -I./libspectrum gcc -c -o src/coreopt.o src/coreopt.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -DLOG_PERFORMANCE -fPIC -D__LIBRETRO__ -DHAVE_CONFIG_H -Wall -I. -I./src -I./src/compat -I./fuse -I./fuse/compat -I./libspectrum gcc -c -o src/missing.o src/missing.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -DLOG_PERFORMANCE -fPIC -D__LIBRETRO__ -DHAVE_CONFIG_H -Wall -I. -I./src -I./src/compat -I./fuse -I./fuse/compat -I./libspectrum cat ./etc/version.c.templ | sed s/HASH/pkgsrc/g > src/version.c gcc -c -o src/fuse/scalers16.o src/fuse/scalers16.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -DLOG_PERFORMANCE -fPIC -D__LIBRETRO__ -DHAVE_CONFIG_H -Wall -I. -I./src -I./src/compat -I./fuse -I./fuse/compat -I./libspectrum gcc -c -o src/fuse/scalers32.o src/fuse/scalers32.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -DLOG_PERFORMANCE -fPIC -D__LIBRETRO__ -DHAVE_CONFIG_H -Wall -I. -I./src -I./src/compat -I./fuse -I./fuse/compat -I./libspectrum gcc -c -o src/compat/dir.o src/compat/dir.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -DLOG_PERFORMANCE -fPIC -D__LIBRETRO__ -DHAVE_CONFIG_H -Wall -I. -I./src -I./src/compat -I./fuse -I./fuse/compat -I./libspectrum gcc -c -o src/compat/display.o src/compat/display.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -DLOG_PERFORMANCE -fPIC -D__LIBRETRO__ -DHAVE_CONFIG_H -Wall -I. -I./src -I./src/compat -I./fuse -I./fuse/compat -I./libspectrum In file included from ./fuse/compat.h:62, from ./fuse/ui/ui.h:37, from ./fuse/ui/scaler/scalers.c:38, from src/fuse/scalers16.c:2: ./fuse/compat/getopt.h:147:12: error: conflicting types for 'getopt'; have 'int(void)' 147 | extern int getopt (); | ^~~~~~ In file included from ./src/libspectrum.h:39, from ./fuse/ui/scaler/scalers.c:33: /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 *); | ^~~~~~ In file included from ./fuse/compat.h:62, from ./fuse/ui/ui.h:37, from ./fuse/ui/scaler/scalers.c:38, from src/fuse/scalers32.c:2: ./fuse/compat/getopt.h:147:12: error: conflicting types for 'getopt'; have 'int(void)' 147 | extern int getopt (); | ^~~~~~ In file included from ./src/libspectrum.h:39, from ./fuse/ui/scaler/scalers.c:33: /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 *); | ^~~~~~ In file included from ./fuse/compat.h:62, from src/compat/dir.c:3: ./fuse/compat/getopt.h:147:12: error: conflicting types for 'getopt'; have 'int(void)' 147 | extern int getopt (); | ^~~~~~ In file included from ./fuse/compat.h:35: /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 *); | ^~~~~~ gmake: *** [Makefile.libretro:468: src/compat/dir.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from ./fuse/compat.h:62, from ./fuse/ui/ui.h:37, from ./src/externs.h:11, from src/compat/display.c:4: ./fuse/compat/getopt.h:147:12: error: conflicting types for 'getopt'; have 'int(void)' 147 | extern int getopt (); | ^~~~~~ In file included from ./src/libspectrum.h:39, from ./src/externs.h:4: /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: *** [Makefile.libretro:468: src/compat/display.o] Error 1 In file included from ./fuse/compat.h:62, from ./fuse/ui/ui.h:37, from ./src/externs.h:11, from src/libretro.c:12: ./fuse/compat/getopt.h:147:12: error: conflicting types for 'getopt'; have 'int(void)' 147 | extern int getopt (); | ^~~~~~ In file included from ./src/libspectrum.h:39, from src/libretro.c:11: /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: *** [Makefile.libretro:468: src/libretro.o] Error 1 gmake: *** [Makefile.libretro:468: src/fuse/scalers32.o] Error 1 gmake: *** [Makefile.libretro:468: src/fuse/scalers16.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-fuse *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-fuse