these 2 derivations will be built: /nix/store/f8svg6czi1mrai40mck3jhkp89jkjiqa-tome2.desktop.drv /nix/store/n0xvflvbqi0jhbpwds1mb0bd90g6infr-tome2-2.4.drv error: Cannot build '/nix/store/n0xvflvbqi0jhbpwds1mb0bd90g6infr-tome2-2.4.drv'. Reason: builder failed with exit code 2. Output paths: /nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4 Last 25 log lines: > /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 14 and 93 bytes into a destination of size 80 > 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 31 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 32 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ > /build/source/src/object1.cc: In function 'bool_ get_item_floor(int*, cptr, cptr, int, const object_filter_t&, const select_by_name_t&)': > /build/source/src/object1.cc:5006:34: warning: ') ' directive writing 2 bytes into a region of size between 0 and 159 [-Wformat-overflow=] > 5006 | sprintf(tmp_val, "(%s) %s", out_val, pmt); > | ^~~~~~~~~ > In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, > from /build/source/src/h-system.h:17, > from /build/source/src/h-basic.h:17, > from /build/source/src/object1.hpp:3, > from /build/source/src/object1.cc:9: > /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 163) into a destination of size 160 > 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 31 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 32 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ > make[1]: *** [CMakeFiles/Makefile2:171: src/CMakeFiles/game.dir/all] Error 2 > make: *** [Makefile:136: all] Error 2 For full logs, run: nix log /nix/store/n0xvflvbqi0jhbpwds1mb0bd90g6infr-tome2-2.4.drv