==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_820a69aa-5d10-484d-9ede-64348a3dff46]...done ==> Making package: nethack 3.6.7-6.2 (Sun Apr 26 12:59:12 2026) ==> Retrieving sources... -> Downloading nethack-367-src.tgz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 16 5.31M 16 890.5k 0 0 885.2k 0 00:06 00:01 00:05 885.3k 100 5.31M 100 5.31M 0 0 3.31M 0 00:01 00:01 885.3k 100 5.31M 100 5.31M 0 0 3.31M 0 00:01 00:01 885.3k 100 5.31M 100 5.31M 0 0 3.31M 0 00:01 00:01 885.3k -> Found nethack.tmpfiles ==> Validating source files with sha256sums... nethack-367-src.tgz ... Passed nethack.tmpfiles ... Skipped ==> Making package: nethack 3.6.7-6.2 (Sun Apr 26 10:59:15 2026) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found nethack-367-src.tgz -> Found nethack.tmpfiles ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting nethack-367-src.tgz with bsdtar ==> Starting prepare()... ==> Starting build()... ( cd src ; make ) make[1]: Entering directory '/startdir/src/NetHack-3.6.7/src' touch ../src/config.h-t cc -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/nethack -flto=auto -falign-functions=32 -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/var/games/nethack/sysconf\" -DSECURE -DHACKDIR=\"/var/games/nethack/\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/var/games/nethack/sysconf\" -DSECURE -DHACKDIR=\"/var/games/nethack/\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c monst.c cc -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/nethack -flto=auto -falign-functions=32 -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/var/games/nethack/sysconf\" -DSECURE -DHACKDIR=\"/var/games/nethack/\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/var/games/nethack/sysconf\" -DSECURE -DHACKDIR=\"/var/games/nethack/\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c objects.c cc -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/nethack -flto=auto -falign-functions=32 -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/var/games/nethack/sysconf\" -DSECURE -DHACKDIR=\"/var/games/nethack/\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/var/games/nethack/sysconf\" -DSECURE -DHACKDIR=\"/var/games/nethack/\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o alloc.o alloc.c cc -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/nethack -flto=auto -falign-functions=32 -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/var/games/nethack/sysconf\" -DSECURE -DHACKDIR=\"/var/games/nethack/\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/var/games/nethack/sysconf\" -DSECURE -DHACKDIR=\"/var/games/nethack/\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o dlb.o dlb.c cc -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/nethack -flto=auto -falign-functions=32 -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/var/games/nethack/sysconf\" -DSECURE -DHACKDIR=\"/var/games/nethack/\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/var/games/nethack/sysconf\" -DSECURE -DHACKDIR=\"/var/games/nethack/\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o isaac64.o isaac64.c cc -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/nethack -flto=auto -falign-functions=32 -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/var/games/nethack/sysconf\" -DSECURE -DHACKDIR=\"/var/games/nethack/\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/var/games/nethack/sysconf\" -DSECURE -DHACKDIR=\"/var/games/nethack/\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o unixres.o ../sys/unix/unixres.c In file included from ../include/unixconf.h:323, from ../include/global.h:136, from ../include/config.h:581, from objects.c:35: /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:323, from ../include/global.h:136, from ../include/config.h:581, 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:320: ../include/system.h:99:8: note: previous declaration of ‘srand48’ with type ‘void(void)’ 99 | E void srand48(); | ^~~~~~~ In file included from ../include/unixconf.h:323, from ../include/global.h:136, from ../include/config.h:581, 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:320: ../include/system.h:99:8: note: previous declaration of ‘srand48’ with type ‘void(void)’ 99 | E void srand48(); | ^~~~~~~ In file included from ../include/unixconf.h:323, from ../include/global.h:136, from ../include/config.h:581, 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:320: ../include/system.h:99:8: note: previous declaration of ‘srand48’ with type ‘void(void)’ 99 | E void srand48(); | ^~~~~~~ In file included from ../include/unixconf.h:323, from ../include/global.h:136, from ../include/config.h:581, from isaac64.c:12: /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:320: ../include/system.h:99:8: note: previous declaration of ‘srand48’ with type ‘void(void)’ 99 | E void srand48(); | ^~~~~~~ In file included from ../include/unixconf.h:320: ../include/system.h:99:8: note: previous declaration of ‘srand48’ with type ‘void(void)’ 99 | E void srand48(); | ^~~~~~~ In file included from ../include/unixconf.h:323, from ../include/global.h:136, from ../include/config.h:581, from monst.c:6: /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:320: ../include/system.h:99:8: note: previous declaration of ‘srand48’ with type ‘void(void)’ 99 | E void srand48(); | ^~~~~~~ In file included from ../include/unixconf.h:324: /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:324: /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:324: /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:324: /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:324: /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:358:12: note: previous declaration of ‘sleep’ with type ‘unsigned int(void)’ 358 | E unsigned sleep(); | ^~~~~ ../include/system.h:358:12: note: previous declaration of ‘sleep’ with type ‘unsigned int(void)’ 358 | E unsigned sleep(); | ^~~~~ ../include/system.h:358:12: note: previous declaration of ‘sleep’ with type ‘unsigned int(void)’ 358 | E unsigned sleep(); | ^~~~~ ../include/system.h:358:12: note: previous declaration of ‘sleep’ with type ‘unsigned int(void)’ 358 | E unsigned sleep(); | ^~~~~ ../include/system.h:358:12: note: previous declaration of ‘sleep’ with type ‘unsigned int(void)’ 358 | E unsigned sleep(); | ^~~~~ In file included from ../include/unixconf.h:324: /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:358:12: note: previous declaration of ‘sleep’ with type ‘unsigned int(void)’ 358 | E unsigned sleep(); | ^~~~~ alloc.c: In function ‘alloc’: alloc.c:29:1: warning: old-style function definition [-Wold-style-definition] 29 | alloc(lth) | ^~~~~ alloc.c: In function ‘fmt_ptr’: alloc.c:79:1: warning: old-style function definition [-Wold-style-definition] 79 | fmt_ptr(ptr) | ^~~~~~~ alloc.c: In function ‘dupstr’: dlb.c: In function ‘readlibdir’: alloc.c:159:1: warning: old-style function definition [-Wold-style-definition] 159 | dupstr(string) | ^~~~~~ dlb.c:134:1: warning: old-style function definition [-Wold-style-definition] 134 | readlibdir(lp) | ^~~~~~~~~~ dlb.c: In function ‘find_file’: dlb.c:183:1: warning: old-style function definition [-Wold-style-definition] 183 | find_file(name, lib, startp, sizep) | ^~~~~~~~~ dlb.c: In function ‘open_library’: dlb.c:212:1: warning: old-style function definition [-Wold-style-definition] 212 | open_library(lib_name, lp) | ^~~~~~~~~~~~ dlb.c: In function ‘close_library’: dlb.c:231:1: warning: old-style function definition [-Wold-style-definition] 231 | close_library(lp) | ^~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_fopen’: dlb.c:288:1: warning: old-style function definition [-Wold-style-definition] 288 | lib_dlb_fopen(dp, name, mode) | ^~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_fclose’: dlb.c:310:1: warning: old-style function definition [-Wold-style-definition] 310 | lib_dlb_fclose(dp) | ^~~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_fread’: dlb.c:318:1: warning: old-style function definition [-Wold-style-definition] 318 | lib_dlb_fread(buf, size, quan, dp) | ^~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_fseek’: dlb.c:346:1: warning: old-style function definition [-Wold-style-definition] 346 | lib_dlb_fseek(dp, pos, whence) | ^~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_fgets’: dlb.c:374:1: warning: old-style function definition [-Wold-style-definition] 374 | lib_dlb_fgets(buf, len, dp) | ^~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_fgetc’: dlb.c:409:1: warning: old-style function definition [-Wold-style-definition] 409 | lib_dlb_fgetc(dp) | ^~~~~~~~~~~~~ dlb.c: In function ‘lib_dlb_ftell’: dlb.c:420:1: warning: old-style function definition [-Wold-style-definition] 420 | lib_dlb_ftell(dp) | ^~~~~~~~~~~~~ dlb.c: In function ‘dlb_fopen’: dlb.c:486:1: warning: old-style function definition [-Wold-style-definition] 486 | dlb_fopen(name, mode) | ^~~~~~~~~ dlb.c: In function ‘dlb_fclose’: dlb.c:514:1: warning: old-style function definition [-Wold-style-definition] 514 | dlb_fclose(dp) | ^~~~~~~~~~ dlb.c: In function ‘dlb_fread’: dlb.c:531:1: warning: old-style function definition [-Wold-style-definition] 531 | dlb_fread(buf, size, quan, dp) | ^~~~~~~~~ dlb.c: In function ‘dlb_fseek’: dlb.c:544:1: warning: old-style function definition [-Wold-style-definition] 544 | dlb_fseek(dp, pos, whence) | ^~~~~~~~~ dlb.c: In function ‘dlb_fgets’: dlb.c:557:1: warning: old-style function definition [-Wold-style-definition] 557 | dlb_fgets(buf, len, dp) | ^~~~~~~~~ dlb.c: In function ‘dlb_fgetc’: dlb.c:570:1: warning: old-style function definition [-Wold-style-definition] 570 | dlb_fgetc(dp) | ^~~~~~~~~ dlb.c: In function ‘dlb_ftell’: dlb.c:581:1: warning: old-style function definition [-Wold-style-definition] 581 | dlb_ftell(dp) | ^~~~~~~~~ make[1]: *** [Makefile:836: unixres.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [: alloc.o] Error 1 make[1]: *** [: isaac64.o] Error 1 make[1]: *** [: dlb.o] Error 1 make[1]: *** [Makefile:660: objects.o] Error 1 make[1]: *** [Makefile:656: monst.o] Error 1 make[1]: Leaving directory '/startdir/src/NetHack-3.6.7/src' make: *** [Makefile:160: nethack] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_820a69aa-5d10-484d-9ede-64348a3dff46/build