* Package: games-roguelike/zangband-2.7.4c * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU * FEATURES: sandbox test userpriv usersandbox Installed LAPACK for library directory lib64 [1] reference * Installed BLAS for library directory lib64 [1] reference * Installed CBLAS for library directory lib64 [1] gsl [2] reference * >>> Unpacking source... >>> Unpacking zangband-2.7.4c.tar.gz to /tmp/portage/games-roguelike/zangband-2.7.4c/work >>> Source unpacked in /tmp/portage/games-roguelike/zangband-2.7.4c/work >>> Preparing source in /tmp/portage/games-roguelike/zangband-2.7.4c/work/zangband ... * Applying zangband-2.7.4c-tk85.patch ... [ ok ] * Applying zangband-2.7.4c-rng.patch ... [ ok ] * Running eautoreconf in '/tmp/portage/games-roguelike/zangband-2.7.4c/work/zangband' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: zangband/ >>> Source prepared. >>> Configuring source in /tmp/portage/games-roguelike/zangband-2.7.4c/work/zangband ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib64 --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games --datarootdir=/usr/share --datadir=/usr/share --with-setgid=games --without-gtk --without-tcltk checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for X... libraries , headers checking for library containing XCreateImage... -lX11 checking for main in -lXext... yes checking for main in -lXm... yes checking for main in -lXmu... yes checking for main in -lXt... yes checking for main in -lSM... yes checking for main in -lXpm... yes checking for main in -lGn... no checking for main in -lICE... yes checking for library containing XawInitializeWidgetSet... -lXaw checking for library containing initscr... -lncurses checking for main in -lbsd... yes checking for main in -lcposix... no checking for main in -linet... no checking for main in -lnsl_s... no checking for main in -lrpcsvc... yes checking for main in -lsun... no checking for main in -lvideo... no checking for main in -lwinmm... no checking for main in -lz... yes checking for ANSI C header files... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking memory.h usability... yes checking memory.h presence... yes checking for memory.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking stdint.h usability... yes checking stdint.h presence... yes checking for stdint.h... yes checking stdlib.h usability... yes checking stdlib.h presence... yes checking for stdlib.h... yes checking string.h usability... yes checking string.h presence... yes checking for string.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking unistd.h usability... yes checking unistd.h presence... yes checking for unistd.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for error_at_line... yes checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... no checking whether stat accepts an empty string... yes checking for working strcoll... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for floor... no checking for ftruncate... yes checking for gethostname... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for modf... yes checking for select... yes checking for setlocale... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for Tk_SetClassProcs... no checking for TkpSync... no checking for mkstemp... yes checking for usleep... yes checking for getpwuid... yes checking for getpwnam... yes checking for shmget... yes checking whether x86_64-pc-linux-gnu-gcc accepts -pedantic... yes ./configure: 6170: ./configure: Bad substitution !!! Please attach the following file when seeking support: !!! /tmp/portage/games-roguelike/zangband-2.7.4c/work/zangband/config.log * ERROR: games-roguelike/zangband-2.7.4c::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3623: Called egamesconf '--datadir=/usr/share' '--with-setgid=games' '--without-gtk' '--without-tcltk' * environment, line 1241: Called econf '--prefix=/usr/games' '--libdir=/usr/games/lib64' '--datadir=/usr/share/games' '--sysconfdir=/etc/games' '--localstatedir=/var/games' '--datarootdir=/usr/share' '--datadir=/usr/share' '--with-setgid=games' '--without-gtk' '--without-tcltk' * phase-helpers.sh, line 584: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=games-roguelike/zangband-2.7.4c::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-roguelike/zangband-2.7.4c::gentoo'`. sed: couldn't open temporary file /etc/portage/package.mask/sedgO4iNi: Permission denied