==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_a86b3469-6a17-467f-a9e5-f6c29186d7a9]...done ==> Making package: glhack 1.2-11.2 (Sun Apr 26 07:38:14 2026) ==> Retrieving sources... -> Downloading glhack-1.2.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 100 366 100 366 0 0 679 0 0 100 366 100 366 0 0 679 0 0 0 0 0 0 0 0 0 0 0 100 353 100 353 0 0 474 0 0 100 353 100 353 0 0 474 0 0 0 0 0 0 0 0 0 0 0 2 4.78M 2 98.28k 0 0 56521 0 01:28 00:01 01:27 97143 48 4.78M 48 2.30M 0 0 848.8k 0 00:05 00:02 00:03 1.13M 100 4.78M 100 4.78M 0 0 1.56M 0 00:03 00:03 1.13M 100 4.78M 100 4.78M 0 0 1.56M 0 00:03 00:03 1.13M 100 4.78M 100 4.78M 0 0 1.56M 0 00:03 00:03 1.13M -> Found glhack-libpng15.patch -> Found glhack-printf.patch ==> Validating source files with sha256sums... glhack-1.2.tar.gz ... Passed glhack-libpng15.patch ... Passed glhack-printf.patch ... Passed ==> Making package: glhack 1.2-11.2 (Sun Apr 26 05:38:19 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (28) New Version Net Change extra/default-cursors 3-1 0.00 MiB extra/glu 9.0.3-3 0.37 MiB extra/hidapi 0.15.0-1 0.13 MiB extra/libdrm 2.4.131-1 1.28 MiB core/libedit 20251016_3.1-1 0.26 MiB extra/libpciaccess 0.19-1 0.06 MiB extra/libx11 1.8.13-1 9.78 MiB extra/libxau 1.0.12-1 0.02 MiB extra/libxcb 1.17.0-1 3.87 MiB extra/libxcursor 1.2.3-1 0.07 MiB extra/libxdmcp 1.1.5-2 0.13 MiB extra/libxext 1.3.7-1 0.30 MiB extra/libxfixes 6.0.2-1 0.04 MiB extra/libxrender 0.9.12-1 0.09 MiB extra/libxshmfence 1.3.3-1 0.02 MiB extra/libxxf86vm 1.1.7-1 0.03 MiB extra/llvm-libs 22.1.3-1 160.11 MiB extra/lm_sensors 1:3.6.2-1 0.48 MiB extra/mesa 1:26.0.5-1 50.73 MiB extra/sdl2-compat 2.32.66-1 3.08 MiB extra/sdl3 3.4.4-1 6.76 MiB extra/spirv-tools 1:1.4.341.0-2 7.59 MiB extra/wayland 1.25.0-1 0.84 MiB extra/xcb-proto 1.17.0-4 1.03 MiB extra/xorgproto 2025.1-1 1.47 MiB extra/libglvnd 1.7.0-3 3.34 MiB extra/libpng 1.6.58-1 0.58 MiB extra/sdl12-compat 1.2.68-2 0.64 MiB Total Installed Size: 253.08 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing xcb-proto... installing xorgproto... installing libxdmcp... installing libxau... installing libxcb... installing libx11... installing libxext... installing libxrender... installing libpciaccess... installing libdrm... Optional dependencies for libdrm cairo: needed for modetest tool installing libxshmfence... installing libxxf86vm... installing libedit... installing llvm-libs... installing lm_sensors... Optional dependencies for lm_sensors rrdtool: for logging with sensord perl: for sensor detection and configuration convert [installed] installing spirv-tools... installing default-cursors... Optional dependencies for default-cursors adwaita-cursors: default cursor theme installing wayland... installing mesa... Optional dependencies for mesa opengl-man-pages: for the OpenGL API man pages installing libglvnd... installing libxfixes... installing libxcursor... installing hidapi... Optional dependencies for hidapi libusb: for hidapi-libusb [installed] installing sdl3... Optional dependencies for sdl3 alsa-lib: ALSA audio driver libpulse: PulseAudio audio driver jack: JACK audio driver pipewire: PipeWire audio driver vulkan-driver: vulkan renderer sndio: sndio audio driver libdecor: Wayland client decorations installing sdl2-compat... installing glu... installing sdl12-compat... installing libpng... :: Running post-transaction hooks... (1/2) Reloading system manager configuration... Skipped: Current root is not booted. (2/2) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found glhack-1.2.tar.gz -> Found glhack-libpng15.patch -> Found glhack-printf.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting glhack-1.2.tar.gz with bsdtar ==> Starting prepare()... patching file win/gl/gl_image.c patching file util/makedefs.c patching file src/apply.c patching file src/artifact.c patching file src/botl.c patching file src/cmd.c patching file src/detect.c patching file src/dig.c patching file src/do.c patching file src/dothrow.c patching file src/dungeon.c patching file src/eat.c patching file src/engrave.c patching file src/hack.c patching file src/invent.c patching file src/lock.c patching file src/mail.c patching file src/makemon.c patching file src/mcastu.c patching file src/mhitu.c patching file src/mon.c patching file src/mthrowu.c patching file src/muse.c patching file src/polyself.c patching file src/potion.c patching file src/pray.c patching file src/priest.c patching file src/questpgr.c patching file src/read.c patching file src/region.c patching file src/restore.c patching file src/shk.c patching file src/sounds.c patching file src/spell.c patching file src/steed.c patching file src/teleport.c patching file src/timeout.c patching file src/trap.c patching file src/zap.c patching file win/gl/gl_conf.c ==> Starting build()... ( cd src ; make ) ( cd doc ; make Guidebook ) make[1]: Entering directory '/startdir/src/glhack-1.2/doc' tbl tmac.n Guidebook.mn | nroff | col -bx > Guidebook make[1]: Entering directory '/startdir/src/glhack-1.2/src' touch ../src/config.h-t gcc -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/glhack -flto=auto -falign-functions=32 -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c monst.c gcc -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/glhack -flto=auto -falign-functions=32 -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c objects.c gcc -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/glhack -flto=auto -falign-functions=32 -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o alloc.o alloc.c make[2]: Entering directory '/startdir/src/glhack-1.2/util' gcc -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/glhack -flto=auto -falign-functions=32 -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../include -c -o makedefs.o makedefs.c gcc -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/glhack -flto=auto -falign-functions=32 -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dlb.o dlb.c gcc -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/glhack -flto=auto -falign-functions=32 -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixres.c Guidebook.mn:199: warning: centered table wider than line length minus indentation troff:Guidebook.mn:1951: warning [page 39, line 18]: cannot adjust line; underset by 13n Guidebook.mn:2700: warning: centered table wider than line length minus indentation make[1]: Leaving directory '/startdir/src/glhack-1.2/doc' In file included from ../include/unixconf.h:282, from ../include/global.h:150, from ../include/config.h:393, from dlb.c:5: /usr/include/stdlib.h:605:13: error: conflicting types for ‘srand48’; have ‘void(long int)’ 605 | extern void srand48 (long int __seedval) __THROW; | ^~~~~~~ In file included from ../include/unixconf.h:282, from ../include/global.h:150, from ../include/config.h:393, from alloc.c:11: /usr/include/stdlib.h:605:13: error: conflicting types for ‘srand48’; have ‘void(long int)’ 605 | extern void srand48 (long int __seedval) __THROW; | ^~~~~~~ In file included from ../include/unixconf.h:282, from ../include/global.h:150, from ../include/config.h:393, from ../sys/unix/unixres.c:17: /usr/include/stdlib.h:605:13: error: conflicting types for ‘srand48’; have ‘void(long int)’ 605 | extern void srand48 (long int __seedval) __THROW; | ^~~~~~~ In file included from ../include/unixconf.h:279: ../include/system.h:91:8: note: previous declaration of ‘srand48’ with type ‘void(void)’ 91 | E void srand48(); | ^~~~~~~ In file included from ../include/unixconf.h:279: ../include/system.h:91:8: note: previous declaration of ‘srand48’ with type ‘void(void)’ 91 | E void srand48(); | ^~~~~~~ In file included from ../include/unixconf.h:279: ../include/system.h:91:8: note: previous declaration of ‘srand48’ with type ‘void(void)’ 91 | E void srand48(); | ^~~~~~~ In file included from ../include/unixconf.h:282, from ../include/global.h:150, from ../include/config.h:393, from monst.c:5: /usr/include/stdlib.h:605:13: error: conflicting types for ‘srand48’; have ‘void(long int)’ 605 | extern void srand48 (long int __seedval) __THROW; | ^~~~~~~ In file included from ../include/unixconf.h:282, from ../include/global.h:150, from ../include/config.h:393, from objects.c:8: /usr/include/stdlib.h:605:13: error: conflicting types for ‘srand48’; have ‘void(long int)’ 605 | extern void srand48 (long int __seedval) __THROW; | ^~~~~~~ In file included from ../include/unixconf.h:282, from ../include/global.h:150, from ../include/config.h:393, from makedefs.c:10: /usr/include/stdlib.h:605:13: error: conflicting types for ‘srand48’; have ‘void(long int)’ 605 | extern void srand48 (long int __seedval) __THROW; | ^~~~~~~ In file included from ../include/unixconf.h:279: ../include/system.h:91:8: note: previous declaration of ‘srand48’ with type ‘void(void)’ 91 | E void srand48(); | ^~~~~~~ In file included from ../include/unixconf.h:279: ../include/system.h:91:8: note: previous declaration of ‘srand48’ with type ‘void(void)’ 91 | E void srand48(); | ^~~~~~~ In file included from ../include/unixconf.h:279: ../include/system.h:91:8: note: previous declaration of ‘srand48’ with type ‘void(void)’ 91 | E void srand48(); | ^~~~~~~ In file included from ../include/unixconf.h:283: /usr/include/unistd.h:464:21: error: conflicting types for ‘sleep’; have ‘unsigned int(unsigned int)’ 464 | extern unsigned int sleep (unsigned int __seconds); | ^~~~~ In file included from ../include/unixconf.h:283: /usr/include/unistd.h:464:21: error: conflicting types for ‘sleep’; have ‘unsigned int(unsigned int)’ 464 | extern unsigned int sleep (unsigned int __seconds); | ^~~~~ In file included from ../include/unixconf.h:283: /usr/include/unistd.h:464:21: error: conflicting types for ‘sleep’; have ‘unsigned int(unsigned int)’ 464 | extern unsigned int sleep (unsigned int __seconds); | ^~~~~ In file included from ../include/unixconf.h:283: /usr/include/unistd.h:464:21: error: conflicting types for ‘sleep’; have ‘unsigned int(unsigned int)’ 464 | extern unsigned int sleep (unsigned int __seconds); | ^~~~~ In file included from ../include/unixconf.h:283: /usr/include/unistd.h:464:21: error: conflicting types for ‘sleep’; have ‘unsigned int(unsigned int)’ 464 | extern unsigned int sleep (unsigned int __seconds); | ^~~~~ ../include/system.h:349:12: note: previous declaration of ‘sleep’ with type ‘unsigned int(void)’ 349 | E unsigned sleep(); | ^~~~~ ../include/system.h:349:12: note: previous declaration of ‘sleep’ with type ‘unsigned int(void)’ 349 | E unsigned sleep(); | ^~~~~ In file included from ../include/unixconf.h:283: /usr/include/unistd.h:464:21: error: conflicting types for ‘sleep’; have ‘unsigned int(unsigned int)’ 464 | extern unsigned int sleep (unsigned int __seconds); | ^~~~~ ../include/system.h:349:12: note: previous declaration of ‘sleep’ with type ‘unsigned int(void)’ 349 | E unsigned sleep(); | ^~~~~ ../include/system.h:349:12: note: previous declaration of ‘sleep’ with type ‘unsigned int(void)’ 349 | E unsigned sleep(); | ^~~~~ ../include/system.h:349:12: note: previous declaration of ‘sleep’ with type ‘unsigned int(void)’ 349 | E unsigned sleep(); | ^~~~~ ../include/system.h:349:12: note: previous declaration of ‘sleep’ with type ‘unsigned int(void)’ 349 | E unsigned sleep(); | ^~~~~ alloc.c: In function ‘alloc’: alloc.c:32:1: warning: old-style function definition [-Wold-style-definition] 32 | alloc(lth) | ^~~~~ alloc.c: In function ‘fmt_ptr’: alloc.c:80:1: warning: old-style function definition [-Wold-style-definition] 80 | fmt_ptr(ptr, buf) | ^~~~~~~ dlb.c: In function ‘readlibdir’: dlb.c:121:1: warning: old-style function definition [-Wold-style-definition] 121 | readlibdir(lp) | ^~~~~~~~~~ dlb.c: In function ‘find_file’: dlb.c:169:1: warning: old-style function definition [-Wold-style-definition] 169 | find_file(name, lib, startp, sizep) | ^~~~~~~~~ dlb.c: In function ‘open_library’: dlb.c:198:1: warning: old-style function definition [-Wold-style-definition] 198 | open_library(lib_name, lp) | ^~~~~~~~~~~~ dlb.c: In function ‘close_library’: dlb.c:217:1: warning: old-style function definition [-Wold-style-definition] 217 | close_library(lp) | ^~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_fopen’: dlb.c:259:1: warning: old-style function definition [-Wold-style-definition] 259 | lib_dlb_fopen(dp, name, mode) | ^~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_fclose’: dlb.c:279:1: warning: old-style function definition [-Wold-style-definition] 279 | lib_dlb_fclose(dp) | ^~~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_fread’: dlb.c:287:1: warning: old-style function definition [-Wold-style-definition] 287 | lib_dlb_fread(buf, size, quan, dp) | ^~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_fseek’: dlb.c:314:1: warning: old-style function definition [-Wold-style-definition] 314 | lib_dlb_fseek(dp, pos, whence) | ^~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_fgets’: dlb.c:334:1: warning: old-style function definition [-Wold-style-definition] 334 | lib_dlb_fgets(buf, len, dp) | ^~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_fgetc’: dlb.c:366:1: warning: old-style function definition [-Wold-style-definition] 366 | lib_dlb_fgetc(dp) | ^~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_ftell’: dlb.c:377:1: warning: old-style function definition [-Wold-style-definition] 377 | lib_dlb_ftell(dp) | ^~~~~~~~~~~~~ dlb.c: In function ‘dlb_fopen’: dlb.c:454:1: warning: old-style function definition [-Wold-style-definition] 454 | dlb_fopen(name, mode) | ^~~~~~~~~ dlb.c: In function ‘dlb_fclose’: dlb.c:477:1: warning: old-style function definition [-Wold-style-definition] 477 | dlb_fclose(dp) | ^~~~~~~~~~ dlb.c: In function ‘dlb_fread’: dlb.c:492:1: warning: old-style function definition [-Wold-style-definition] 492 | dlb_fread(buf, size, quan, dp) | ^~~~~~~~~ dlb.c: In function ‘dlb_fseek’: dlb.c:503:1: warning: old-style function definition [-Wold-style-definition] 503 | dlb_fseek(dp, pos, whence) | ^~~~~~~~~ dlb.c: In function ‘dlb_fgets’: dlb.c:514:1: warning: old-style function definition [-Wold-style-definition] 514 | dlb_fgets(buf, len, dp) | ^~~~~~~~~ dlb.c: In function ‘dlb_fgetc’: dlb.c:525:1: warning: old-style function definition [-Wold-style-definition] 525 | dlb_fgetc(dp) | ^~~~~~~~~ dlb.c: In function ‘dlb_ftell’: dlb.c:534:1: warning: old-style function definition [-Wold-style-definition] 534 | dlb_ftell(dp) | ^~~~~~~~~ make[1]: *** [Makefile:628: unixres.o] Error 1 make[1]: *** Waiting for unfinished jobs.... makedefs.c: In function ‘main’: makedefs.c:236:1: warning: old-style function definition [-Wold-style-definition] 236 | main(argc, argv) | ^~~~ makedefs.c: In function ‘do_makedefs’: makedefs.c:265:1: warning: old-style function definition [-Wold-style-definition] 265 | do_makedefs(options) | ^~~~~~~~~~~ makedefs.c: In function ‘xcrypt’: makedefs.c:333:7: warning: old-style function definition [-Wold-style-definition] 333 | char *xcrypt(str) | ^~~~~~ makedefs.c: In function ‘version_string’: makedefs.c:516:1: warning: old-style function definition [-Wold-style-definition] 516 | version_string(outbuf) | ^~~~~~~~~~~~~~ makedefs.c: In function ‘version_id_string’: makedefs.c:527:1: warning: old-style function definition [-Wold-style-definition] 527 | version_id_string(outbuf, build_date) | ^~~~~~~~~~~~~~~~~ makedefs.c: In function ‘d_filter’: makedefs.c:892:1: warning: old-style function definition [-Wold-style-definition] 892 | d_filter(line) | ^~~~~~~~ makedefs.c: In function ‘h_filter’: makedefs.c:1021:1: warning: old-style function definition [-Wold-style-definition] 1021 | h_filter(line) | ^~~~~~~~ makedefs.c: In function ‘check_control’: makedefs.c:1213:1: warning: old-style function definition [-Wold-style-definition] 1213 | check_control(s) | ^~~~~~~~~~~~~ makedefs.c: In function ‘without_control’: makedefs.c:1228:1: warning: old-style function definition [-Wold-style-definition] 1228 | without_control(s) | ^~~~~~~~~~~~~~~ makedefs.c: In function ‘ranged_attk’: makedefs.c:1284:1: warning: old-style function definition [-Wold-style-definition] 1284 | ranged_attk(ptr) /* returns TRUE if monster can attack at range */ | ^~~~~~~~~~~ make[1]: *** [: dlb.o] Error 1 makedefs.c: In function ‘mstrength’: makedefs.c:1303:1: warning: old-style function definition [-Wold-style-definition] 1303 | mstrength(ptr) | ^~~~~~~~~ make[1]: *** [: alloc.o] Error 1 makedefs.c: In function ‘qt_comment’: makedefs.c:1454:1: warning: old-style function definition [-Wold-style-definition] 1454 | qt_comment(s) | ^~~~~~~~~~ makedefs.c: In function ‘qt_control’: makedefs.c:1462:1: warning: old-style function definition [-Wold-style-definition] 1462 | qt_control(s) | ^~~~~~~~~~ makedefs.c: In function ‘get_hdr’: makedefs.c:1469:1: warning: old-style function definition [-Wold-style-definition] 1469 | get_hdr (code) | ^~~~~~~ makedefs.c: In function ‘new_id’: makedefs.c:1481:1: warning: old-style function definition [-Wold-style-definition] 1481 | new_id (code) | ^~~~~~ makedefs.c: In function ‘known_msg’: makedefs.c:1496:1: warning: old-style function definition [-Wold-style-definition] 1496 | known_msg(num, id) | ^~~~~~~~~ makedefs.c: In function ‘new_msg’: makedefs.c:1509:1: warning: old-style function definition [-Wold-style-definition] 1509 | new_msg(s, num, id) | ^~~~~~~ makedefs.c: In function ‘do_qt_control’: makedefs.c:1528:1: warning: old-style function definition [-Wold-style-definition] 1528 | do_qt_control(s) | ^~~~~~~~~~~~~ makedefs.c: In function ‘do_qt_text’: makedefs.c:1567:1: warning: old-style function definition [-Wold-style-definition] 1567 | do_qt_text(s) | ^~~~~~~~~~ makedefs.c: In function ‘limit’: makedefs.c:1703:1: warning: old-style function definition [-Wold-style-definition] 1703 | limit(name,pref) /* limit a name to 30 characters length */ | ^~~~~ makedefs.c: In function ‘tmpdup’: makedefs.c:1833:1: warning: old-style function definition [-Wold-style-definition] 1833 | tmpdup(str) | ^~~~~~ makedefs.c: In function ‘eos’: makedefs.c:1844:1: warning: old-style function definition [-Wold-style-definition] 1844 | eos(str) | ^~~ make[2]: *** [: makedefs.o] Error 1 make[2]: Leaving directory '/startdir/src/glhack-1.2/util' make[1]: *** [Makefile:509: ../util/makedefs] Error 2 make[1]: *** [Makefile:491: objects.o] Error 1 make[1]: *** [Makefile:487: monst.o] Error 1 make[1]: Leaving directory '/startdir/src/glhack-1.2/src' make: *** [Makefile:103: glhack] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_a86b3469-6a17-467f-a9e5-f6c29186d7a9/build