Running phase: unpackPhase unpacking source archive /nix/store/ylky87c4jdvvql9r5mllzlfyhqs36q48-uae-0.8.29.tar.bz2 source root is uae-0.8.29 setting SOURCE_DATE_EPOCH to timestamp 1228007907 of file "uae-0.8.29/src/xwin.c" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./config.sub Updating Autotools / GNU config script to a newer upstream version: ./config.guess Running phase: configurePhase patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh" configure flags: --prefix=/nix/store/3rf34fdhpagiz67f2vnwc7f4i8rdmqc9-uae-0.8.29 --with-sdl --with-sdl-sound --with-sdl-gfx --with-alsa checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/install -c checking whether make sets $(MAKE)... yes checking for makedepend... not-found checking for file... /nix/store/h0z0z043akpaf5nmxq3lf84laah832rw-file-5.46/bin/file checking for wrc... not-found checking for rcl... not-found checking for sdl-config... /nix/store/qqc53czgqqrrxbpddwvgrr137nz6qadn-SDL-1.2.15-dev/bin/sdl-config checking for grep that handles long lines and -e... /nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin/grep checking for egrep... /nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin/grep -E checking for AIX... no checking for library containing strerror... none required checking for Watcom C... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for main in -lMedia_s... no checking for main in -lNeXT_s... no checking for cos in -lmoto... no checking for OpenLibrary in -lamiga... no checking for vga_setmode in -lvga... no checking for waveOutGetNumDevs in -lmme... no checking for waddch in -lncurses... no checking for sem_init in -lposix4... no checking for sem_init in -lrt... yes checking for alOpenPort in -laudio... no checking for snd_pcm_open in -lasound... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking ncurses.h usability... no checking ncurses.h presence... no checking for ncurses.h... no checking curses.h usability... no checking curses.h presence... no checking for curses.h... no checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking sun/audioio.h usability... no checking sun/audioio.h presence... no checking for sun/audioio.h... no checking sys/audioio.h usability... no checking sys/audioio.h presence... no checking for sys/audioio.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking posix_opt.h usability... no checking posix_opt.h presence... no checking for posix_opt.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking for sys/stat.h... (cached) yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking ddraw.h usability... no checking ddraw.h presence... no checking for ddraw.h... no checking be_math.h usability... no checking be_math.h presence... no checking for be_math.h... no checking machine/joystick.h usability... no checking machine/joystick.h presence... no checking for machine/joystick.h... no checking devices/ahi.h usability... no checking devices/ahi.h presence... no checking for devices/ahi.h... no checking libraries/cybergraphics.h usability... no checking libraries/cybergraphics.h presence... no checking for libraries/cybergraphics.h... no checking cybergraphx/cybergraphics.h usability... no checking cybergraphx/cybergraphics.h presence... no checking for cybergraphx/cybergraphics.h... no checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for void *... yes checking size of void *... 8 checking for long long... yes checking size of long long... 8 checking for __int64... no checking size of __int64... 0 checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for struct stat.st_blocks... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether gcc needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking for utime.h... (cached) yes checking whether utime accepts a null argument... yes checking for getcwd... yes checking for getopt... yes checking for strdup... yes checking for gettimeofday... yes checking for sigaction... yes checking for mkdir... yes checking for rmdir... yes checking for select... yes checking for strerror... yes checking for strstr... yes checking for isnan... yes checking for isinf... yes checking for setitimer... yes checking for tcgetattr... yes checking for cfmakeraw... yes checking for readdir_r... yes checking for vprintf... yes checking for vsprintf... yes checking for vfprintf... yes checking for fcntl.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/fstyp.h usability... no checking sys/fstyp.h presence... no checking for sys/fstyp.h... no checking mnttab.h usability... no checking mnttab.h presence... no checking for mnttab.h... no checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/filsys.h usability... no checking sys/filsys.h presence... no checking for sys/filsys.h... no checking sys/fs_types.h usability... no checking sys/fs_types.h presence... no checking for sys/fs_types.h... no checking sys/fs/s5param.h usability... no checking sys/fs/s5param.h presence... no checking for sys/fs/s5param.h... no checking for bcopy... yes checking for endgrent... yes checking for endpwent... yes checking for fchdir... yes checking for ftime... yes checking for ftruncate... yes checking for getcwd... (cached) yes checking for getmntinfo... no checking for gettimeofday... (cached) yes checking for isascii... yes checking for lchown... yes checking for listmntent... no checking for memcpy... yes checking for mkfifo... yes checking for strchr... yes checking for strerror... (cached) yes checking for strrchr... yes checking for library containing getmntent... none required checking for listmntent of Cray/Unicos-9... no checking for one-argument getmntent function... yes configure: checking how to get filesystem space usage... checking statvfs function (SVR4)... yes checking for ftruncate... (cached) yes checking for statfs that truncates block counts... no configure: checking for AFS... checking for pthread library... yes checking for DirectX... no checking whether sys/soundcard.h or machine/soundcard.h works... yes creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -lm -L.) works... no configure: error: installation or configuration problem: C compiler cannot create executables. Multiple sound backends selected; disabling SDL sound. checking for pkg-config... /nix/store/601zbsyxn1zqx22yrif9yxa1x450qfc8-pkg-config-wrapper-0.29.2/bin/pkg-config checking for GTK+ - version >= 2.4.0... yes (version 2.24.33) checking whether the X11 MIT-SHM extension can be compiled in... no checking which target to use... SDL Using gtk+ GUI. checking host cpu support... amd64 checking for GCC 2.7 or higher... yes checking whether assembler symbols need an underscore... no checking which sound system to use... ALSA Threads are needed for this configuration; enabling thread support. configure: creating ./config.status config.status: creating src/Makefile config.status: creating Makefile config.status: creating src/sysconfig.h config.status: linking ./src/od-generic to src/osdep config.status: linking ./src/sd-alsa to src/sounddep config.status: linking ./src/td-sdl to src/threaddep config.status: linking ./src/md-amd64-gcc to src/machdep config.status: linking ./src/gui-gtk/gtkui.c to src/guidep/gtkui.c config.status: linking ./src/gui-gtk/util.c to src/guidep/util.c Configuration was successful! Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash cd src && make make[1]: Entering directory '/build/uae-0.8.29/src' gcc -I. -I../src/include/ -c -O2 -fomit-frame-pointer -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -I/nix/store/qqc53czgqqrrxbpddwvgrr137nz6qadn-SDL-1.2.15-dev/include/SDL -I/nix/store/qqc53czgqqrrxbpddwvgrr137nz6qadn-SDL-1.2.15-dev/include/SDL -I/nix/store/qqc53czgqqrrxbpddwvgrr137nz6qadn-SDL-1.2.15-dev/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -DUSING_GTK_GUI -I/build/uae-0.8.29/src/gui-gtk -DREGPARAM= -DUSE_ZFILE -DSUPPORT_THREADS -D_REENTRANT -D__inline__=inline -DSYSTEM_ROMDIR=\"/nix/store/3rf34fdhpagiz67f2vnwc7f4i8rdmqc9-uae-0.8.29/share/uae/roms\" -DSYSTEM_CFGDIR=\"/nix/store/3rf34fdhpagiz67f2vnwc7f4i8rdmqc9-uae-0.8.29/share/uae/configs\" -I/nix/store/wxgax6vh2yg4ymamj8145waa2i28vw8v-gtk+-2.24.33-dev/include/gtk-2.0 -I/nix/store/nd2kgprpy943w7mr6awiil3ixv5piy7f-gtk+-2.24.33/lib/gtk-2.0/include -I/nix/store/lc5v7njfmcfvn7h7xhldnpaczimfv2hn-at-spi2-core-2.54.1-dev/include/atk-1.0 -I/nix/store/18la66bfb39im9k4f97i1ksxlk8rwm09-glib-2.82.4-dev/include -I/nix/store/18la66bfb39im9k4f97i1ksxlk8rwm09-glib-2.82.4-dev/include/glib-2.0 -I/nix/store/w1nz8qqc1l0dk6af9s36zchba3hm04ry-glib-2.82.4/lib/glib-2.0/include -I/nix/store/jzm3c9znmlbfi7is9yyxr5dw6lr4jymd-cairo-1.18.2-dev/include/cairo -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include -I/nix/store/jww3brzhq47m8an8f0q0xf99aa0gkd8b-fontconfig-2.16.0-dev/include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I/nix/store/mvnysgbyg5w452hdchmcy6y6yyqr85n8-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/rznmp2sm3n8a3xvr0vyf4111fw2dkwn8-pango-1.56.1-dev/include/pango-1.0 -I/nix/store/nfshcmab8vv7cqrnb37i2lid67p03gj8-harfbuzz-10.2.0-dev/include/harfbuzz -DSHM_SUPPORT_LINKS=0 main.c -o main.o In file included from main.c:14: threaddep/thread.h: In function 'uae_start_thread': threaddep/thread.h:32:33: warning: cast between incompatible function types from 'void * (*)(void *)' to 'int (*)(void *)' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcast-function-type-Wcast-function-type8;;] 32 | *thread = SDL_CreateThread ((int (*)(void *))f, arg); | ^ In file included from ../src/include/memory.h:28, from main.c:20: ./machdep/maccess.h: In function 'uae24_convert': ./machdep/maccess.h:167:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-strict-aliasing-Wstrict-aliasing8;;] 167 | return *(uae_u24 *)&v; | ^~~~~~~~~~~~~ main.c: In function 'parse_cmdline': main.c:476:67: warning: passing argument 3 of 'parse_cmdline_option' discards 'const' qualifier from pointer target type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers8;;] 476 | if (parse_cmdline_option (&currprefs, argv[i][1], arg) && extra_arg) | ^~~ In file included from main.c:13: ../src/include/options.h:198:60: note: expected 'char *' but argument is of type 'const char *' 198 | extern int parse_cmdline_option (struct uae_prefs *, char, char *); | ^~~~~~ main.c: In function 'real_main': main.c:661:9: error: implicit declaration of function 'reset_drawing' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 661 | reset_drawing (); | ^~~~~~~~~~~~~ make[1]: *** [Makefile:143: main.o] Error 1 make[1]: Leaving directory '/build/uae-0.8.29/src' make: *** [Makefile:23: all] Error 2