* Package: games-engines/frotz-2.43-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 alsa amd64 elibc_glibc kernel_linux oss userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking frotz-2.43.tar.gz to /var/tmp/portage/games-engines/frotz-2.43-r1/work >>> Source unpacked in /var/tmp/portage/games-engines/frotz-2.43-r1/work >>> Preparing source in /var/tmp/portage/games-engines/frotz-2.43-r1/work/frotz-2.43 ... * Applying frotz-2.43-glibc2.10.patch ... [ ok ] * Applying frotz-2.43-ldflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-engines/frotz-2.43-r1/work/frotz-2.43 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-engines/frotz-2.43-r1/work/frotz-2.43 ... make -j1 CONFIG_DIR=/etc SOUND_DEFS=-DOSS_SOUND SOUND_DEV=/dev/dsp all checking for soundcard.h I see we have /usr/include/sys/soundcard.h... cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/buffer.o -c src/common/buffer.c src/common/buffer.c: In function ‘init_buffer’: src/common/buffer.c:148:5: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] 148 | memset(buffer, 0, sizeof (zchar) * TEXT_BUFFER_SIZE); | ^~~~~~ src/common/buffer.c:148:5: warning: incompatible implicit declaration of built-in function ‘memset’ src/common/buffer.c:22:1: note: include ‘’ or provide a declaration of ‘memset’ 21 | #include "frotz.h" +++ |+#include 22 | cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/err.o -c src/common/err.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/fastmem.o -c src/common/fastmem.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/files.o -c src/common/files.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/hotkey.o -c src/common/hotkey.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/input.o -c src/common/input.c src/common/input.c: In function ‘z_read_mouse’: src/common/input.c:314:11: warning: implicit declaration of function ‘os_read_mouse’; did you mean ‘z_read_mouse’? [-Wimplicit-function-declaration] 314 | btn = os_read_mouse (); | ^~~~~~~~~~~~~ | z_read_mouse cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/main.o -c src/common/main.c src/common/main.c: In function ‘main’: src/common/main.c:173:5: warning: implicit declaration of function ‘init_buffer’; did you mean ‘setbuffer’? [-Wimplicit-function-declaration] 173 | init_buffer (); | ^~~~~~~~~~~ | setbuffer src/common/main.c:179:5: warning: implicit declaration of function ‘init_process’ [-Wimplicit-function-declaration] 179 | init_process (); | ^~~~~~~~~~~~ src/common/main.c:181:5: warning: implicit declaration of function ‘init_sound’; did you mean ‘init_undo’? [-Wimplicit-function-declaration] 181 | init_sound (); | ^~~~~~~~~~ | init_undo cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/math.o -c src/common/math.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/object.o -c src/common/object.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/process.o -c src/common/process.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/quetzal.o -c src/common/quetzal.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/random.o -c src/common/random.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/redirect.o -c src/common/redirect.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/screen.o -c src/common/screen.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/sound.o -c src/common/sound.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/stream.o -c src/common/stream.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/table.o -c src/common/table.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/text.o -c src/common/text.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/common/variable.o -c src/common/variable.c Archiving common code... ar rc src/frotz_common.a src/common/buffer.o src/common/err.o src/common/fastmem.o src/common/files.o src/common/hotkey.o src/common/input.o src/common/main.o src/common/math.o src/common/object.o src/common/process.o src/common/quetzal.o src/common/random.o src/common/redirect.o src/common/screen.o src/common/sound.o src/common/stream.o src/common/table.o src/common/text.o src/common/variable.o ranlib src/frotz_common.a cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/curses/ux_init.o -c src/curses/ux_init.c In file included from /usr/include/string.h:494, from src/curses/ux_init.c:27: In function ‘strncpy’, inlined from ‘getconfig’ at src/curses/ux_init.c:716:4: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/curses/ux_init.c: In function ‘getconfig’: src/curses/ux_init.c:716:38: note: length computed here 716 | strncpy(option_zcode_path, value, strlen(value) * sizeof(char)); | ^~~~~~~~~~~~~ cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/curses/ux_input.o -c src/curses/ux_input.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/curses/ux_pic.o -c src/curses/ux_pic.c src/curses/ux_pic.c: In function ‘unix_init_pictures’: src/curses/ux_pic.c:99:24: warning: field precision specifier ‘.*’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 99 | sprintf(filename, "%.*sgraphics/%.*s.mg1", | ~~^~ | | | int 100 | basename - story_name, story_name, namelen, basename); | ~~~~~~~~~~~~~~~~~~~~~ | | | long int cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/curses/ux_screen.o -c src/curses/ux_screen.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/curses/ux_text.o -c src/curses/ux_text.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/curses/ux_audio_none.o -c src/curses/ux_audio_none.c cc -O2 -DCONFIG_DIR="\"/etc\"" -DVERSION="\"2.43\"" -DSOUND_DEV="\"/dev/dsp\"" -DCOLOR_SUPPORT -DOSS_SOUND -O2 -pipe -march=native -o src/curses/ux_audio_oss.o -c src/curses/ux_audio_oss.c src/curses/ux_audio_oss.c: In function ‘os_prepare_sample’: src/curses/ux_audio_oss.c:222:24: warning: field precision specifier ‘.*’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 222 | sprintf(filename, "%.*ssound/%.*s%02d.snd", | ~~^~ | | | int 223 | basename - story_name, story_name, | ~~~~~~~~~~~~~~~~~~~~~ | | | long int Archiving curses interface code... ar rc src/frotz_curses.a src/curses/ux_init.o src/curses/ux_input.o src/curses/ux_pic.o src/curses/ux_screen.o src/curses/ux_text.o src/curses/ux_audio_none.o src/curses/ux_audio_oss.o ranlib src/frotz_curses.a cc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o frotz src/frotz_common.a src/frotz_curses.a -lcurses \ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/frotz_curses.a(ux_input.o): undefined reference to symbol 'erasechar' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefile:165: frotz-curses] Error 1 * ERROR: games-engines/frotz-2.43-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-engines/frotz-2.43-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-engines/frotz-2.43-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-engines:frotz-2.43-r1:20190823-224702.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-engines/frotz-2.43-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-engines/frotz-2.43-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-engines/frotz-2.43-r1/work/frotz-2.43' * S: '/var/tmp/portage/games-engines/frotz-2.43-r1/work/frotz-2.43'