Running phase: unpackPhase unpacking source archive /nix/store/5i08f17iqhrkcsn3y7zimr2y99ym97gk-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase fixing cmake files... cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/16k28scplnnfzxc5q11yc2jmj917zsh6-libtcod-1.5.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/16k28scplnnfzxc5q11yc2jmj917zsh6-libtcod-1.5.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/16k28scplnnfzxc5q11yc2jmj917zsh6-libtcod-1.5.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/16k28scplnnfzxc5q11yc2jmj917zsh6-libtcod-1.5.1/share/doc/libtcod -DCMAKE_INSTALL_INFODIR=/nix/store/16k28scplnnfzxc5q11yc2jmj917zsh6-libtcod-1.5.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/16k28scplnnfzxc5q11yc2jmj917zsh6-libtcod-1.5.1/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/16k28scplnnfzxc5q11yc2jmj917zsh6-libtcod-1.5.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/16k28scplnnfzxc5q11yc2jmj917zsh6-libtcod-1.5.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/16k28scplnnfzxc5q11yc2jmj917zsh6-libtcod-1.5.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/16k28scplnnfzxc5q11yc2jmj917zsh6-libtcod-1.5.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/strip -DCMAKE_RANLIB=/nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/ranlib -DCMAKE_AR=/nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/16k28scplnnfzxc5q11yc2jmj917zsh6-libtcod-1.5.1 -DLIBTCOD_SAMPLES=OFF CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Warning (dev) at /nix/store/01dapiw4pjrc9s0166dcyg9xkw0rv01z-cmake-3.31.5/share/cmake-3.31/Modules/FindOpenGL.cmake:415 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning. FindOpenGL found both a legacy GL library: OPENGL_gl_LIBRARY: /nix/store/4yhzwb09jja7wfifhh0qv9d671gf0g8c-libglvnd-1.7.0/lib/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /nix/store/4yhzwb09jja7wfifhh0qv9d671gf0g8c-libglvnd-1.7.0/lib/libOpenGL.so OPENGL_glx_LIBRARY: /nix/store/4yhzwb09jja7wfifhh0qv9d671gf0g8c-libglvnd-1.7.0/lib/libGLX.so OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): CMakeLists.txt:7 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found OpenGL: /nix/store/4yhzwb09jja7wfifhh0qv9d671gf0g8c-libglvnd-1.7.0/lib/libOpenGL.so -- Found X11: /nix/store/bbka2a21hriaw5rr7fj8m8p63ayjn5rq-xorgproto-2024.1/include -- Looking for XOpenDisplay in /nix/store/3gbmgijyy53d1cm551zxhgaglkvvv44m-libX11-1.8.11/lib/libX11.so;/nix/store/lf3xlba7qp1fjiw8n9bafx8jnlyviqj5-libXext-1.3.6/lib/libXext.so -- Looking for XOpenDisplay in /nix/store/3gbmgijyy53d1cm551zxhgaglkvvv44m-libX11-1.8.11/lib/libX11.so;/nix/store/lf3xlba7qp1fjiw8n9bafx8jnlyviqj5-libXext-1.3.6/lib/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found SDL: /nix/store/4rzfjkh8ybvmvp2qi32v446il1n33x8l-SDL-1.2.15/lib/libSDLmain.a;/nix/store/4rzfjkh8ybvmvp2qi32v446il1n33x8l-SDL-1.2.15/lib/libSDL.so (found version "1.2.15") -- Found ZLIB: /nix/store/bb9h0qjkl5fh6yr48lw3930gdwvackh5-zlib-1.3.1/lib/libz.so (found version "1.3.1") -- Configuring done (2.1s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DOCDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_INFODIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR CMAKE_INSTALL_SBINDIR -- Build files have been written to: /build/source/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase build flags: -j2 SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash [ 1%] Building C object src/CMakeFiles/tcod.dir/bresenham_c.c.o [ 3%] Building C object src/CMakeFiles/tcod.dir/bsp_c.c.o [ 4%] Building C object src/CMakeFiles/tcod.dir/color_c.c.o [ 6%] Building C object src/CMakeFiles/tcod.dir/console_c.c.o [ 7%] Building C object src/CMakeFiles/tcod.dir/fov_c.c.o [ 9%] Building C object src/CMakeFiles/tcod.dir/fov_circular_raycasting.c.o [ 10%] Building C object src/CMakeFiles/tcod.dir/fov_diamond_raycasting.c.o [ 12%] Building C object src/CMakeFiles/tcod.dir/fov_permissive.c.o [ 14%] Building C object src/CMakeFiles/tcod.dir/fov_permissive2.c.o [ 15%] Building C object src/CMakeFiles/tcod.dir/fov_recursive_shadowcasting.c.o [ 17%] Building C object src/CMakeFiles/tcod.dir/fov_restrictive.c.o [ 18%] Building C object src/CMakeFiles/tcod.dir/heightmap_c.c.o [ 20%] Building C object src/CMakeFiles/tcod.dir/image_c.c.o [ 21%] Building C object src/CMakeFiles/tcod.dir/lex_c.c.o [ 23%] Building C object src/CMakeFiles/tcod.dir/list_c.c.o [ 25%] Building C object src/CMakeFiles/tcod.dir/mersenne_c.c.o [ 26%] Building C object src/CMakeFiles/tcod.dir/namegen_c.c.o [ 28%] Building C object src/CMakeFiles/tcod.dir/noise_c.c.o [ 29%] Building C object src/CMakeFiles/tcod.dir/parser_c.c.o /build/source/src/parser_c.c: In function 'default_new_property': /build/source/src/parser_c.c:792:27: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;] 792 | sprintf(tmp,"%s.%s",cur_prop_name,propname); | ^ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from /build/source/src/parser_c.c:29: In function 'sprintf', inlined from 'default_new_property' at /build/source/src/parser_c.c:792:2: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/parser_c.c: In function 'default_new_flag': /build/source/src/parser_c.c:781:27: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;] 781 | sprintf(tmp,"%s.%s",cur_prop_name,name); | ^ In function 'sprintf', inlined from 'default_new_flag' at /build/source/src/parser_c.c:781:2: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/parser_c.c: In function 'TCOD_parser_error': /build/source/src/parser_c.c:89:45: warning: '%s' directive writing up to 2047 bytes into a region of size 2029 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;] 89 | sprintf(buf2,"error in %s line %d : %s",lex->filename,lex->file_line,buf); | ^~ ~~~ In function 'sprintf', inlined from 'TCOD_parser_error' at /build/source/src/parser_c.c:89:2: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 20 or more bytes (assuming 2067) into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 31%] Building C object src/CMakeFiles/tcod.dir/path_c.c.o [ 32%] Building C object src/CMakeFiles/tcod.dir/sys_c.c.o [ 34%] Building C object src/CMakeFiles/tcod.dir/sys_opengl_c.c.o [ 35%] Building C object src/CMakeFiles/tcod.dir/sys_sdl_c.c.o /build/source/src/sys_sdl_c.c: In function 'TCOD_sys_map_ascii_to_font': /build/source/src/sys_sdl_c.c:173:6: error: type of 'asciiCode' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 173 | void TCOD_sys_map_ascii_to_font(asciiCode, fontCharX, fontCharY) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/sys_sdl_c.c:173:6: error: type of 'fontCharX' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] /build/source/src/sys_sdl_c.c:173:6: error: type of 'fontCharY' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] make[2]: *** [src/CMakeFiles/tcod.dir/build.make:387: src/CMakeFiles/tcod.dir/sys_sdl_c.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:112: src/CMakeFiles/tcod.dir/all] Error 2 make: *** [Makefile:136: all] Error 2