* Package: games-roguelike/nethack-3.6.6 * Repository: gentoo * Maintainer: games@gentoo.org * USE: X abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking nethack-3.6.6.tar.gz to /var/tmp/portage/games-roguelike/nethack-3.6.6/work >>> Source unpacked in /var/tmp/portage/games-roguelike/nethack-3.6.6/work >>> Preparing source in /var/tmp/portage/games-roguelike/nethack-3.6.6/work/NetHack-NetHack-3.6.6_Released ... * Applying nethack-3.6.3-recover.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-roguelike/nethack-3.6.6/work/NetHack-NetHack-3.6.6_Released ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-roguelike/nethack-3.6.6/work/NetHack-NetHack-3.6.6_Released ... make -j3 CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -I../include -DDLB -DSECURE -DTIMED_DELAY -DVISION_TABLES -DDUMPLOG -DSCORE_ON_BOTL -DCOMPRESS=\"${EPREFIX}/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DHACKDIR=\"/usr/lib64/nethack\" -DVAR_PLAYGROUND=\"/var/games/nethack\" -DDEF_PAGER=\"cat\" -DSYSCF -DSYSCF_FILE=\"/etc/nethack.sysconf\" -DX11_GRAPHICS -DUSE_XPM' 'LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'WINTTYLIB=-lncurses -ltinfo ' HACKDIR=/usr/lib64/nethack INSTDIR=/var/tmp/portage/games-roguelike/nethack-3.6.6/image/usr/lib64/nethack SHELLDIR=/var/tmp/portage/games-roguelike/nethack-3.6.6/image/usr/bin VARDIR=/var/tmp/portage/games-roguelike/nethack-3.6.6/image/var/games/nethack nethack recover Guidebook spec_levs ( cd src ; make ) ( cd doc ; make Guidebook ) make[1]: Entering directory '/var/tmp/portage/games-roguelike/nethack-3.6.6/work/NetHack-NetHack-3.6.6_Released/doc' cat Guidebook.mn | ../util/makedefs --grep --input - --output - | tbl tmac.n - | nroff -c -Tascii | col -bx > Guidebook make[1]: Entering directory '/var/tmp/portage/games-roguelike/nethack-3.6.6/work/NetHack-NetHack-3.6.6_Released/src' touch ../src/config.h-t /bin/sh: line 1: ../util/makedefs: No such file or directory x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DDLB -DSECURE -DTIMED_DELAY -DVISION_TABLES -DDUMPLOG -DSCORE_ON_BOTL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DHACKDIR=\"/usr/lib64/nethack\" -DVAR_PLAYGROUND=\"/var/games/nethack\" -DDEF_PAGER=\"cat\" -DSYSCF -DSYSCF_FILE=\"/etc/nethack.sysconf\" -DX11_GRAPHICS -DUSE_XPM -c monst.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DDLB -DSECURE -DTIMED_DELAY -DVISION_TABLES -DDUMPLOG -DSCORE_ON_BOTL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DHACKDIR=\"/usr/lib64/nethack\" -DVAR_PLAYGROUND=\"/var/games/nethack\" -DDEF_PAGER=\"cat\" -DSYSCF -DSYSCF_FILE=\"/etc/nethack.sysconf\" -DX11_GRAPHICS -DUSE_XPM -c objects.c In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../include/global.h:9, from ../include/config.h:581, from objects.c:35: /usr/include/sys/cdefs.h:345:73: error: macro "__has_attribute" requires an identifier 345 | f __GNUC_PREREQ (3,4) || __glibc_has_attribute (__warn_unused_result__) | ^ In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../include/global.h:9, from ../include/config.h:581, from monst.c:6: /usr/include/sys/cdefs.h:345:73: error: macro "__has_attribute" requires an identifier 345 | f __GNUC_PREREQ (3,4) || __glibc_has_attribute (__warn_unused_result__) | ^ make[1]: Leaving directory '/var/tmp/portage/games-roguelike/nethack-3.6.6/work/NetHack-NetHack-3.6.6_Released/doc' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DDLB -DSECURE -DTIMED_DELAY -DVISION_TABLES -DDUMPLOG -DSCORE_ON_BOTL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DHACKDIR=\"/usr/lib64/nethack\" -DVAR_PLAYGROUND=\"/var/games/nethack\" -DDEF_PAGER=\"cat\" -DSYSCF -DSYSCF_FILE=\"/etc/nethack.sysconf\" -DX11_GRAPHICS -DUSE_XPM -c -o alloc.o alloc.c In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../include/global.h:9, from ../include/config.h:581, from alloc.c:11: /usr/include/sys/cdefs.h:345:73: error: macro "__has_attribute" requires an identifier 345 | f __GNUC_PREREQ (3,4) || __glibc_has_attribute (__warn_unused_result__) | ^ make[1]: *** [: alloc.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:626: objects.o] Error 1 make[1]: *** [Makefile:622: monst.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-roguelike/nethack-3.6.6/work/NetHack-NetHack-3.6.6_Released/src' make: *** [Makefile:126: nethack] Error 2 * ERROR: games-roguelike/nethack-3.6.6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-roguelike/nethack-3.6.6::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-roguelike/nethack-3.6.6::gentoo'`. * The complete build log is located at '/var/log/portage/games-roguelike:nethack-3.6.6:20210805-133447.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-roguelike/nethack-3.6.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-roguelike/nethack-3.6.6/temp/environment'. * Working directory: '/var/tmp/portage/games-roguelike/nethack-3.6.6/work/NetHack-NetHack-3.6.6_Released' * S: '/var/tmp/portage/games-roguelike/nethack-3.6.6/work/NetHack-NetHack-3.6.6_Released'