Running phase: unpackPhase unpacking source archive /nix/store/lgdw7wfhch60di8pmafw4kaps6czbb8j-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./bin/config.sub Updating Autotools / GNU config script to a newer upstream version: ./bin/config.guess 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/gay72kcf5sxf1rb96xqw49kzamxvb29n-maiko-2021-04-14/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/gay72kcf5sxf1rb96xqw49kzamxvb29n-maiko-2021-04-14/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/gay72kcf5sxf1rb96xqw49kzamxvb29n-maiko-2021-04-14/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/gay72kcf5sxf1rb96xqw49kzamxvb29n-maiko-2021-04-14/share/doc/maiko -DCMAKE_INSTALL_INFODIR=/nix/store/gay72kcf5sxf1rb96xqw49kzamxvb29n-maiko-2021-04-14/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/gay72kcf5sxf1rb96xqw49kzamxvb29n-maiko-2021-04-14/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/gay72kcf5sxf1rb96xqw49kzamxvb29n-maiko-2021-04-14/include -DCMAKE_INSTALL_SBINDIR=/nix/store/gay72kcf5sxf1rb96xqw49kzamxvb29n-maiko-2021-04-14/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/gay72kcf5sxf1rb96xqw49kzamxvb29n-maiko-2021-04-14/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/gay72kcf5sxf1rb96xqw49kzamxvb29n-maiko-2021-04-14/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/gay72kcf5sxf1rb96xqw49kzamxvb29n-maiko-2021-04-14 CMake Warning (dev) at CMakeLists.txt:1 (PROJECT): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The C 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 -- Looking for fmod in m -- Looking for fmod in m - found -- Found X11: /nix/store/bbka2a21hriaw5rr7fj8m8p63ayjn5rq-xorgproto-2024.1/include -- Looking for XOpenDisplay in /nix/store/3gbmgijyy53d1cm551zxhgaglkvvv44m-libX11-1.8.11/lib/libX11.so -- Looking for XOpenDisplay in /nix/store/3gbmgijyy53d1cm551zxhgaglkvvv44m-libX11-1.8.11/lib/libX11.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 -- Configuring done (1.4s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_CXX_COMPILER 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 CMAKE_POLICY_DEFAULT_CMP0025 -- Build files have been written to: /build/source/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase build flags: -j24 SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash [ 1%] Building C object CMakeFiles/mkvdate.dir/src/mkvdate.c.o [ 2%] Building C object CMakeFiles/ldeether.dir/src/ldeether.c.o [ 3%] Building C object CMakeFiles/ldeether.dir/src/dlpi.c.o [ 4%] Building C object CMakeFiles/tstsout.dir/src/tstsout.c.o [ 4%] Building C object CMakeFiles/setsout.dir/src/setsout.c.o [ 5%] Building C object CMakeFiles/setsout.dir/src/byteswap.c.o [ 5%] Building C object CMakeFiles/lde.dir/src/ldeboot.c.o [ 6%] Building C object CMakeFiles/lde.dir/src/unixfork.c.o [ 7%] Building C object CMakeFiles/tstsout.dir/src/byteswap.c.o [ 7%] Linking C executable ldeether [ 8%] Linking C executable mkvdate /build/source/src/unixfork.c: In function 'fork_Unix': /build/source/src/unixfork.c:430:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 430 | write(LispPipeOut, IOBuf, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 9%] Linking C executable setsout [ 10%] Linking C executable tstsout [ 10%] Built target ldeether [ 10%] Built target setsout [ 10%] Built target mkvdate [ 11%] Linking C executable lde [ 11%] Built target tstsout [ 11%] Built target gen-vdate [ 12%] Building C object CMakeFiles/ldex.dir/vdate.c.o [ 13%] Building C object CMakeFiles/ldex.dir/src/allocmds.c.o [ 15%] Building C object CMakeFiles/ldex.dir/src/array2.c.o [ 15%] Building C object CMakeFiles/ldex.dir/src/arith2.c.o [ 16%] Building C object CMakeFiles/ldex.dir/src/array5.c.o [ 17%] Building C object CMakeFiles/ldex.dir/src/array3.c.o [ 18%] Building C object CMakeFiles/ldex.dir/src/array.c.o [ 18%] Building C object CMakeFiles/ldex.dir/src/array6.c.o [ 19%] Building C object CMakeFiles/ldex.dir/src/main.c.o [ 20%] Building C object CMakeFiles/ldex.dir/src/blt.c.o [ 21%] Building C object CMakeFiles/ldex.dir/src/byteswap.c.o [ 22%] Building C object CMakeFiles/ldex.dir/src/car-cdr.c.o [ 22%] Building C object CMakeFiles/ldex.dir/src/chardev.c.o [ 23%] Building C object CMakeFiles/ldex.dir/src/arith4.c.o [ 23%] Building C object CMakeFiles/ldex.dir/src/arith3.c.o [ 24%] Building C object CMakeFiles/ldex.dir/src/array4.c.o [ 25%] Building C object CMakeFiles/ldex.dir/src/asmbbt.c.o [ 26%] Building C object CMakeFiles/ldex.dir/src/bbtsub.c.o [ 27%] Building C object CMakeFiles/ldex.dir/src/bin.c.o [ 27%] Building C object CMakeFiles/ldex.dir/src/binds.c.o [ 28%] Building C object CMakeFiles/ldex.dir/src/bitblt.c.o [ 29%] Building C object CMakeFiles/ldex.dir/src/conspage.c.o [ 30%] Building C object CMakeFiles/ldex.dir/src/common.c.o [ 30%] Built target lde [ 32%] Building C object CMakeFiles/ldex.dir/src/dir.c.o [ 32%] Building C object CMakeFiles/ldex.dir/src/dbgtool.c.o [ 33%] Building C object CMakeFiles/ldex.dir/src/dlpi.c.o [ 33%] Building C object CMakeFiles/ldex.dir/src/draw.c.o In file included from /build/source/src/main.c:58: /build/source/src/main.c: In function 'makepathname': /build/source/inc/timeout.h:64:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 64 | do {} while ((int)(exp) == -1 && errno == EINTR) | ^ /build/source/inc/timeout.h:28:5: note: in expansion of macro 'INTRSAFE' 28 | INTRSAFE(exp); \ | ^~~~~~~~ /build/source/src/main.c:644:9: note: in expansion of macro 'TIMEOUT' 644 | TIMEOUT(pwd = getpwuid(getuid())); | ^~~~~~~ /build/source/inc/timeout.h:64:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 64 | do {} while ((int)(exp) == -1 && errno == EINTR) | ^ /build/source/inc/timeout.h:28:5: note: in expansion of macro 'INTRSAFE' 28 | INTRSAFE(exp); \ | ^~~~~~~~ /build/source/src/main.c:663:11: note: in expansion of macro 'TIMEOUT' 663 | TIMEOUT(pwd = getpwnam(name)); | ^~~~~~~ /build/source/src/main.c: In function 'main': /build/source/src/main.c:471:5: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 471 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ [ 34%] Building C object CMakeFiles/ldex.dir/src/dsk.c.o [ 35%] Building C object CMakeFiles/ldex.dir/src/dspsubrs.c.o [ 36%] Building C object CMakeFiles/ldex.dir/src/dspif.c.o [ 37%] Building C object CMakeFiles/ldex.dir/src/eqf.c.o [ 38%] Building C object CMakeFiles/ldex.dir/src/ether.c.o [ 38%] Building C object CMakeFiles/ldex.dir/src/findkey.c.o [ 39%] Building C object CMakeFiles/ldex.dir/src/foreign.c.o /build/source/src/draw.c: In function 'N_OP_drawline': /build/source/src/draw.c:302:10: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 302 | if (((int)(temp_s = (DLword *)(start_addr - DisplayRegion68k)) >= 0) && | ^ /build/source/src/draw.c:304:10: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 304 | ((int)(temp_e = (DLword *)(dataptr - DisplayRegion68k)) >= 0) && | ^ /build/source/src/draw.c:311:17: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 311 | start_y = (int)temp_s / DisplayRasterWidth; | ^ /build/source/src/draw.c:312:18: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 312 | start_x = ((int)temp_s % DisplayRasterWidth) * BITSPER_DLWORD; | ^ /build/source/src/draw.c:314:15: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 314 | end_y = (int)temp_e / DisplayRasterWidth; | ^ /build/source/src/draw.c:315:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 315 | end_x = ((int)temp_e % DisplayRasterWidth) * BITSPER_DLWORD + (BITSPER_DLWORD - 1); | ^ [ 40%] Building C object CMakeFiles/ldex.dir/src/fp.c.o In file included from /build/source/src/dir.c:38: /build/source/src/dir.c: In function 'enum_dsk_prop': /build/source/inc/timeout.h:67:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 67 | do {} while ((int)(exp) == 0 && errno == EINTR) | ^ /build/source/inc/timeout.h:35:5: note: in expansion of macro 'INTRSAFE0' 35 | INTRSAFE0(exp); \ | ^~~~~~~~~ /build/source/src/dir.c:625:3: note: in expansion of macro 'TIMEOUT0' 625 | TIMEOUT0(dirp = opendir(dir)); | ^~~~~~~~ /build/source/inc/timeout.h:64:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 64 | do {} while ((int)(exp) == -1 && errno == EINTR) | ^ /build/source/inc/timeout.h:28:5: note: in expansion of macro 'INTRSAFE' 28 | INTRSAFE(exp); \ | ^~~~~~~~ /build/source/src/dir.c:694:7: note: in expansion of macro 'TIMEOUT' 694 | TIMEOUT(pwd = getpwuid(sbuf.st_uid)); | ^~~~~~~ /build/source/src/dir.c: In function 'enum_dsk': /build/source/inc/timeout.h:67:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 67 | do {} while ((int)(exp) == 0 && errno == EINTR) | ^ /build/source/inc/timeout.h:35:5: note: in expansion of macro 'INTRSAFE0' 35 | INTRSAFE0(exp); \ | ^~~~~~~~~ /build/source/src/dir.c:888:3: note: in expansion of macro 'TIMEOUT0' 888 | TIMEOUT0(dirp = opendir(dir)); | ^~~~~~~~ /build/source/src/dir.c: In function 'enum_ufs_prop': /build/source/inc/timeout.h:64:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 64 | do {} while ((int)(exp) == -1 && errno == EINTR) | ^ /build/source/inc/timeout.h:28:5: note: in expansion of macro 'INTRSAFE' 28 | INTRSAFE(exp); \ | ^~~~~~~~ /build/source/src/dir.c:1083:3: note: in expansion of macro 'TIMEOUT' 1083 | TIMEOUT(dirp = opendir(dir)); | ^~~~~~~ /build/source/src/dir.c: In function 'enum_ufs': /build/source/inc/timeout.h:64:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 64 | do {} while ((int)(exp) == -1 && errno == EINTR) | ^ /build/source/inc/timeout.h:28:5: note: in expansion of macro 'INTRSAFE' 28 | INTRSAFE(exp); \ | ^~~~~~~~ /build/source/src/dir.c:1266:3: note: in expansion of macro 'TIMEOUT' 1266 | TIMEOUT(dirp = opendir(dir)); | ^~~~~~~ [ 41%] Building C object CMakeFiles/ldex.dir/src/fvar.c.o [ 41%] Building C object CMakeFiles/ldex.dir/src/gc2.c.o [ 42%] Building C object CMakeFiles/ldex.dir/src/gcarray.c.o [ 43%] Building C object CMakeFiles/ldex.dir/src/gc.c.o [ 44%] Building C object CMakeFiles/ldex.dir/src/gcfinal.c.o [ 45%] Building C object CMakeFiles/ldex.dir/src/gccode.c.o In file included from /build/source/src/dsk.c:45: /build/source/src/dsk.c: In function 'COM_closefile': /build/source/inc/timeout.h:67:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 67 | do {} while ((int)(exp) == 0 && errno == EINTR) | ^ /build/source/inc/timeout.h:35:5: note: in expansion of macro 'INTRSAFE0' 35 | INTRSAFE0(exp); \ | ^~~~~~~~~ /build/source/src/dsk.c:795:5: note: in expansion of macro 'TIMEOUT0' 795 | TIMEOUT0(dirp = opendir(dir)); | ^~~~~~~~ /build/source/src/dsk.c: In function 'COM_getfileinfo': /build/source/inc/timeout.h:64:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 64 | do {} while ((int)(exp) == -1 && errno == EINTR) | ^ /build/source/inc/timeout.h:28:5: note: in expansion of macro 'INTRSAFE' 28 | INTRSAFE(exp); \ | ^~~~~~~~ /build/source/src/dsk.c:1705:7: note: in expansion of macro 'TIMEOUT' 1705 | TIMEOUT(pwd = getpwuid(sbuf.st_uid)); | ^~~~~~~ /build/source/inc/timeout.h:64:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 64 | do {} while ((int)(exp) == -1 && errno == EINTR) | ^ /build/source/inc/timeout.h:28:5: note: in expansion of macro 'INTRSAFE' 28 | INTRSAFE(exp); \ | ^~~~~~~~ /build/source/src/dsk.c:1750:7: note: in expansion of macro 'TIMEOUT' 1750 | TIMEOUT(pwd = getpwuid(sbuf.st_uid)); | ^~~~~~~ /build/source/src/dsk.c: In function 'locate_file': /build/source/inc/timeout.h:67:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 67 | do {} while ((int)(exp) == 0 && errno == EINTR) | ^ /build/source/inc/timeout.h:35:5: note: in expansion of macro 'INTRSAFE0' 35 | INTRSAFE0(exp); \ | ^~~~~~~~~ /build/source/src/dsk.c:2648:3: note: in expansion of macro 'TIMEOUT0' 2648 | TIMEOUT0(dirp = opendir(dir)); | ^~~~~~~~ [ 45%] Building C object CMakeFiles/ldex.dir/src/gcmain3.c.o /build/source/src/dsk.c: In function 'get_version_array': /build/source/inc/timeout.h:67:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 67 | do {} while ((int)(exp) == 0 && errno == EINTR) | ^ /build/source/inc/timeout.h:35:5: note: in expansion of macro 'INTRSAFE0' 35 | INTRSAFE0(exp); \ | ^~~~~~~~~ /build/source/src/dsk.c:3100:3: note: in expansion of macro 'TIMEOUT0' 3100 | TIMEOUT0(dirp = opendir(dir)); | ^~~~~~~~ [ 46%] Building C object CMakeFiles/ldex.dir/src/gchtfind.c.o [ 47%] Building C object CMakeFiles/ldex.dir/src/gcr.c.o [ 48%] Building C object CMakeFiles/ldex.dir/src/gcoflow.c.o [ 49%] Building C object CMakeFiles/ldex.dir/src/gcrcell.c.o [ 49%] Building C object CMakeFiles/ldex.dir/src/gvar2.c.o [ 50%] Building C object CMakeFiles/ldex.dir/src/gcscan.c.o [ 51%] Building C object CMakeFiles/ldex.dir/src/hardrtn.c.o [ 52%] Building C object CMakeFiles/ldex.dir/src/inet.c.o [ 53%] Building C object CMakeFiles/ldex.dir/src/initdsp.c.o [ 54%] Building C object CMakeFiles/ldex.dir/src/initkbd.c.o [ 54%] Building C object CMakeFiles/ldex.dir/src/initsout.c.o [ 55%] Building C object CMakeFiles/ldex.dir/src/intcall.c.o [ 56%] Building C object CMakeFiles/ldex.dir/src/kbdsubrs.c.o [ 57%] Building C object CMakeFiles/ldex.dir/src/keyevent.c.o [ 58%] Building C object CMakeFiles/ldex.dir/src/ldsout.c.o [ 59%] Building C object CMakeFiles/ldex.dir/src/kprint.c.o [ 60%] Building C object CMakeFiles/ldex.dir/src/lisp2c.c.o [ 60%] Building C object CMakeFiles/ldex.dir/src/lineblt8.c.o [ 61%] Building C object CMakeFiles/ldex.dir/src/llcolor.c.o [ 62%] Building C object CMakeFiles/ldex.dir/src/llstk.c.o /build/source/src/initsout.c: In function 'init_ifpage': /build/source/src/initsout.c:141:7: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 141 | if ((LispPTR)LASTVMEMFILEPAGE_word != 0xFFFFFFFF) | ^ /build/source/src/dir.c: In function 'COM_gen_files': /build/source/src/dir.c:1289:28: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;] 1289 | sprintf(namebuf, "%s/%s", dir, dp->d_name); | ^~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from /build/source/src/dir.c:14: In function 'sprintf', inlined from 'enum_ufs' at /build/source/src/dir.c:1289:7, inlined from 'COM_gen_files' at /build/source/src/dir.c:2143:15: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/dir.c: In function 'COM_gen_files': /build/source/src/dir.c:1106:28: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;] 1106 | sprintf(namebuf, "%s/%s", dir, dp->d_name); | ^~ In function 'sprintf', inlined from 'enum_ufs_prop' at /build/source/src/dir.c:1106:7, inlined from 'COM_gen_files' at /build/source/src/dir.c:2141:15: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/dir.c: In function 'COM_gen_files': /build/source/src/dir.c:911:28: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;] 911 | sprintf(namebuf, "%s/%s", dir, dp->d_name); | ^~ In function 'sprintf', inlined from 'enum_dsk' at /build/source/src/dir.c:911:7, inlined from 'COM_gen_files' at /build/source/src/dir.c:2135:15: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 63%] Building C object CMakeFiles/ldex.dir/src/loopsops.c.o /build/source/src/dir.c: In function 'COM_gen_files': /build/source/src/dir.c:648:28: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;] 648 | sprintf(namebuf, "%s/%s", dir, dp->d_name); | ^~ In function 'sprintf', inlined from 'enum_dsk_prop' at /build/source/src/dir.c:648:7, inlined from 'COM_gen_files' at /build/source/src/dir.c:2133:15: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 63%] Building C object CMakeFiles/ldex.dir/src/lowlev1.c.o [ 64%] Building C object CMakeFiles/ldex.dir/src/lowlev2.c.o [ 65%] Building C object CMakeFiles/ldex.dir/src/lsthandl.c.o [ 66%] Building C object CMakeFiles/ldex.dir/src/misc7.c.o [ 67%] Building C object CMakeFiles/ldex.dir/src/miscn.c.o [ 67%] Building C object CMakeFiles/ldex.dir/src/mkatom.c.o [ 68%] Building C object CMakeFiles/ldex.dir/src/mkcell.c.o [ 69%] Building C object CMakeFiles/ldex.dir/src/mouseif.c.o [ 70%] Building C object CMakeFiles/ldex.dir/src/mvs.c.o [ 71%] Building C object CMakeFiles/ldex.dir/src/osmsg.c.o [ 72%] Building C object CMakeFiles/ldex.dir/src/perrno.c.o [ 72%] Building C object CMakeFiles/ldex.dir/src/return.c.o [ 73%] Building C object CMakeFiles/ldex.dir/src/rpc.c.o [ 74%] Building C object CMakeFiles/ldex.dir/src/rplcons.c.o [ 75%] Building C object CMakeFiles/ldex.dir/src/shift.c.o [ 76%] Building C object CMakeFiles/ldex.dir/src/storage.c.o [ 77%] Building C object CMakeFiles/ldex.dir/src/subr0374.c.o [ 77%] Building C object CMakeFiles/ldex.dir/src/subr.c.o [ 78%] Building C object CMakeFiles/ldex.dir/src/sxhash.c.o [ 79%] Building C object CMakeFiles/ldex.dir/src/testtool.c.o [ 80%] Building C object CMakeFiles/ldex.dir/src/timer.c.o [ 80%] Building C object CMakeFiles/ldex.dir/src/tty.c.o In file included from /build/source/src/subr.c:40: /build/source/src/subr.c: In function 'OP_subrcall': /build/source/inc/arith.h:69:13: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 69 | switch ((int)(arg) & 0xFFFF0000) { \ | ^ /build/source/src/subr.c:483:7: note: in expansion of macro 'ARITH_SWITCH' 483 | ARITH_SWITCH(Addr68k_from_LADDR(args[0]), TopOfStack); | ^~~~~~~~~~~~ /build/source/inc/arith.h:70:40: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 70 | case 0: (result) = (S_POSITIVE | (int)(arg)); break; \ | ^ /build/source/src/subr.c:483:7: note: in expansion of macro 'ARITH_SWITCH' 483 | ARITH_SWITCH(Addr68k_from_LADDR(args[0]), TopOfStack); | ^~~~~~~~~~~~ /build/source/inc/arith.h:71:59: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 71 | case 0xFFFF0000: (result) = (S_NEGATIVE | (0xFFFF & (int)(arg))); break; \ | ^ /build/source/src/subr.c:483:7: note: in expansion of macro 'ARITH_SWITCH' 483 | ARITH_SWITCH(Addr68k_from_LADDR(args[0]), TopOfStack); | ^~~~~~~~~~~~ /build/source/inc/arith.h:76:27: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 76 | *((int *)wordp) = (int)(arg); \ | ^ /build/source/src/subr.c:483:7: note: in expansion of macro 'ARITH_SWITCH' 483 | ARITH_SWITCH(Addr68k_from_LADDR(args[0]), TopOfStack); | ^~~~~~~~~~~~ [ 81%] Building C object CMakeFiles/ldex.dir/src/typeof.c.o [ 82%] Building C object CMakeFiles/ldex.dir/src/ubf1.c.o [ 83%] Building C object CMakeFiles/ldex.dir/src/ubf3.c.o [ 84%] Building C object CMakeFiles/ldex.dir/src/ubf2.c.o [ 84%] Building C object CMakeFiles/ldex.dir/src/ufs.c.o [ 85%] Building C object CMakeFiles/ldex.dir/src/ufn.c.o [ 86%] Building C object CMakeFiles/ldex.dir/src/unixcomm.c.o [ 87%] Building C object CMakeFiles/ldex.dir/src/unwind.c.o [ 88%] Building C object CMakeFiles/ldex.dir/src/uraid.c.o [ 89%] Building C object CMakeFiles/ldex.dir/src/usrsubr.c.o [ 89%] Building C object CMakeFiles/ldex.dir/src/uutils.c.o [ 90%] Building C object CMakeFiles/ldex.dir/src/vars3.c.o [ 91%] Building C object CMakeFiles/ldex.dir/src/vmemsave.c.o [ 92%] Building C object CMakeFiles/ldex.dir/src/xc.c.o [ 92%] Building C object CMakeFiles/ldex.dir/src/xbbt.c.o In file included from /build/source/src/ufs.c:45: /build/source/src/ufs.c: In function 'unixpathname': /build/source/inc/timeout.h:64:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 64 | do {} while ((int)(exp) == -1 && errno == EINTR) | ^ /build/source/inc/timeout.h:28:5: note: in expansion of macro 'INTRSAFE' 28 | INTRSAFE(exp); \ | ^~~~~~~~ /build/source/src/ufs.c:567:9: note: in expansion of macro 'TIMEOUT' 567 | TIMEOUT(pwd = getpwuid(getuid())); | ^~~~~~~ /build/source/inc/timeout.h:64:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 64 | do {} while ((int)(exp) == -1 && errno == EINTR) | ^ /build/source/inc/timeout.h:28:5: note: in expansion of macro 'INTRSAFE' 28 | INTRSAFE(exp); \ | ^~~~~~~~ /build/source/src/ufs.c:591:9: note: in expansion of macro 'TIMEOUT' 591 | TIMEOUT(pwd = getpwnam(name)); | ^~~~~~~ [ 93%] Building C object CMakeFiles/ldex.dir/src/z2.c.o [ 94%] Building C object CMakeFiles/ldex.dir/src/xcursor.c.o [ 95%] Building C object CMakeFiles/ldex.dir/src/xinit.c.o [ 96%] Building C object CMakeFiles/ldex.dir/src/xlspwin.c.o /build/source/src/unixcomm.c: In function 'wait_for_comm_processes': /build/source/src/unixcomm.c:145:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 145 | write(UnixPipeOut, d, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/unixcomm.c:165:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 165 | write(UnixPipeOut, d, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/unixcomm.c: In function 'Unix_handlecomm': /build/source/src/unixcomm.c:391:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 391 | write(UnixPipeOut, d, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/unixcomm.c:592:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 592 | write(UnixPipeOut, d, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/unixcomm.c:595:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 595 | write(UnixPipeOut, &len, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/unixcomm.c:596:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 596 | write(UnixPipeOut, SlavePTY, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/unixcomm.c:639:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 639 | write(UnixPipeOut, d, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/unixcomm.c: In function 'WriteLispStringToPipe': /build/source/src/unixcomm.c:928:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 928 | write(UnixPipeOut, &len, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/unixcomm.c:929:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 929 | write(UnixPipeOut, shcom, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 97%] Building C object CMakeFiles/ldex.dir/src/xmkicon.c.o In file included from /build/source/src/xc.c:54: /build/source/src/xc.c: In function 'dispatch': /build/source/inc/tosfns.h:587:28: error: passing argument 2 of 'nnewframe' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 587 | nnewframe(CURRENTFX, &scratch, TOPOFSTACK & 0xffff); \ | ^~~~~~~~ | | | LispPTR * {aka unsigned int *} /build/source/src/xc.c:406:7: note: in expansion of macro 'EVAL' 406 | EVAL; | ^~~~ In file included from /build/source/src/xc.c:77: /build/source/inc/fvardefs.h:8:69: note: expected 'DLword *' {aka 'short unsigned int *'} but argument is of type 'LispPTR *' {aka 'unsigned int *'} 8 | void nnewframe(register struct frameex1 *newpfra2, register DLword *achain, register int name); | ~~~~~~~~~~~~~~~~~^~~~~~ /build/source/inc/tosfns.h:611:30: error: passing argument 2 of 'nnewframe' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 611 | nnewframe(CURRENTFX, &scratch, TOPOFSTACK); \ | ^~~~~~~~ | | | LispPTR * {aka unsigned int *} /build/source/src/xc.c:406:7: note: in expansion of macro 'EVAL' 406 | EVAL; | ^~~~ /build/source/inc/fvardefs.h:8:69: note: expected 'DLword *' {aka 'short unsigned int *'} but argument is of type 'LispPTR *' {aka 'unsigned int *'} 8 | void nnewframe(register struct frameex1 *newpfra2, register DLword *achain, register int name); | ~~~~~~~~~~~~~~~~~^~~~~~ [ 98%] Building C object CMakeFiles/ldex.dir/src/xrdopt.c.o In file included from /build/source/src/xinit.c:29: /build/source/src/xinit.c: In function 'X_init': /build/source/src/xinit.c:304:69: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 304 | dsp->ScreenBitmap.data = (char *)(lispbitmap ? Addr68k_from_LADDR((LispPTR)lispbitmap) : 0); | ^ /build/source/inc/adr68k.h:47:56: note: in definition of macro 'Addr68k_from_LADDR' 47 | #define Addr68k_from_LADDR(Lisp_addr) (Lisp_world + (Lisp_addr)) | ^~~~~~~~~ [ 98%] Building C object CMakeFiles/ldex.dir/src/xscroll.c.o [ 99%] Building C object CMakeFiles/ldex.dir/src/xwinman.c.o make[2]: *** [CMakeFiles/ldex.dir/build.make:1451: CMakeFiles/ldex.dir/src/xc.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /build/source/src/dsk.c: In function 'COM_closefile': /build/source/src/dsk.c:804:56: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;] 804 | if (ino == (ino_t)dp->d_ino) sprintf(file, "%s/%s", dir, dp->d_name); | ^~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from /build/source/src/dsk.c:15: In function 'sprintf', inlined from 'COM_closefile' at /build/source/src/dsk.c:804:38: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:199: CMakeFiles/ldex.dir/all] Error 2 make: *** [Makefile:91: all] Error 2