* Package: app-emulation/spim-8.0-r3:0 * Repository: gentoo * USE: X abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking spim-8.0.tar.gz to /var/tmp/portage/app-emulation/spim-8.0-r3/work >>> Source unpacked in /var/tmp/portage/app-emulation/spim-8.0-r3/work >>> Preparing source in /var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0 ... * Applying spim-8.0-r1-respect_env.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0 ... make -j4 -C spim configuration make: Entering directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' ./Configure x86_64-pc-linux-gnu-gcc Check if this machine is big-endian or little-endian. This may take a few minutes. I believe this is a little-endian machine. Looks like a BSD universe exists... Scaning libc nm: sigvec.o: no symbols nm: sigsetops.o: no symbols nm: old_atexit.o: no symbols nm: udiv_qrnnd.o: no symbols nm: mp_clz_tab.o: no symbols nm: iovfscanf.o: no symbols nm: oldfmemopen.o: no symbols nm: cleanup_defer_compat.o: no symbols nm: old_pthread_cond_broadcast.o: no symbols nm: old_pthread_cond_destroy.o: no symbols nm: old_pthread_cond_init.o: no symbols nm: old_pthread_cond_signal.o: no symbols nm: old_pthread_cond_timedwait.o: no symbols nm: old_pthread_cond_wait.o: no symbols nm: pthread_kill_other_threads.o: no symbols nm: pthread_spin_init.o: no symbols nm: pthread_yield.o: no symbols nm: pthread_atfork_compat.o: no symbols nm: memcmpeq.o: no symbols nm: memcpy.o: no symbols nm: memmove.o: no symbols nm: mempcpy.o: no symbols nm: string-inlines.o: no symbols nm: strlen.o: no symbols nm: strncmp.o: no symbols nm: memcpy-ssse3.o: no symbols nm: mempcpy-ssse3.o: no symbols nm: memcpy-ssse3-rep.o: no symbols nm: mempcpy-ssse3-rep.o: no symbols nm: strncmp-ssse3.o: no symbols nm: strncmp-sse4.o: no symbols nm: strlen-sse2.o: no symbols nm: strlen-sse2-bsf.o: no symbols nm: memcpy-sse2-unaligned.o: no symbols nm: mempcpy-sse2-unaligned.o: no symbols nm: stime.o: no symbols nm: streams-compat.o: no symbols nm: init-posix.o: no symbols nm: oldglob.o: no symbols nm: vtimes.o: no symbols nm: sstk.o: no symbols nm: ustat.o: no symbols nm: regexp.o: no symbols nm: unwind-link.o: no symbols nm: sysctl.o: no symbols nm: xmknod.o: no symbols nm: xmknodat.o: no symbols nm: memcpy_chk.o: no symbols nm: memmove_chk.o: no symbols nm: mempcpy_chk.o: no symbols nm: memset_chk.o: no symbols nm: compat-lookup.o: no symbols nm: files-init.o: no symbols nm: getutmpx.o: no symbols Checking if libc on this machine contains: vsprintf: Yes, I think so vfprintf: Yes, I think strtoul: Yes, I think strtol: Yes, I think memcpy: Yes, I think Checking for /usr/include/termios.h Yes, it is there make: Leaving directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' make -j4 -C xspim configuration make: Entering directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/xspim' make: 'configuration' is up to date. make: Leaving directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/xspim' >>> Source configured. >>> Compiling source in /var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0 ... make -j4 DESTDIR= -C spim make: Entering directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' make -f Makefile spim2 make[1]: Entering directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' bison -d --file-prefix=y ../CPU/parser.y x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o display-utils.o ../CPU/display-utils.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o data.o ../CPU/data.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o mem.o ../CPU/mem.c ../CPU/parser.y: warning: 25 shift/reduce conflicts [8;id=da89796e0005edec15bf135800000000;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wconflicts-sr\-Wconflicts-sr8;;\] ../CPU/parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples flex -I -8 ../CPU/scanner.l x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o string-stream.o ../CPU/string-stream.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o syscall.o ../CPU/syscall.c ../CPU/mem.c: In function ‘bad_mem_write’: ../CPU/mem.c:554:41: warning: ‘tmp’ may be used uninitialized [-Wmaybe-uninitialized] 554 | text_seg [(addr - TEXT_BOT) >> 2] = inst_decode (tmp); | ^~~~~~~~~~~~~~~~~ ../CPU/mem.c:511:12: note: ‘tmp’ was declared here 511 | mem_word tmp; | ^~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o spim.o spim.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o run.o ../CPU/run.c x86_64-pc-linux-gnu-gcc -O -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c lex.yy.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o inst.o ../CPU/inst.c lex.yy.c: In function ‘yylex’: lex.yy.c:126:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] 126 | */ | ^ lex.yy.c:813:46: note: in expansion of macro ‘YY_SC_TO_UI’ 813 | { | ^ lex.yy.c:823:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] 823 | if ( yy_current_state >= 44 ) | ^ lex.yy.c: In function ‘yy_get_previous_state’: lex.yy.c:126:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] 126 | */ | ^ lex.yy.c:1413:48: note: in expansion of macro ‘YY_SC_TO_UI’ 1413 | { | ^ lex.yy.c:1423:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1423 | if ( yy_current_state >= 44 ) | ^ lex.yy.c: In function ‘yy_try_NUL_trans’: lex.yy.c:1451:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1451 | if ( yy_current_state >= 44 ) | ^ lex.yy.c: In function ‘yy_init_buffer’: lex.yy.c:1707:40: warning: implicit declaration of function ‘isatty’ [-Wimplicit-function-declaration] 1707 | | ^ ../CPU/run.c: In function ‘start_CP0_timer’: ../CPU/run.c:1712:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1712 | if (-1 == (int)signal (SIGALRM, SIG_IGN)) | ^ spim.c: In function ‘get_console_char’: spim.c:1085:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1085 | read ((int) console_in.i, &buf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c y.tab.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o sym-tbl.o ../CPU/sym-tbl.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o spim-utils.o ../CPU/spim-utils.c x86_64-pc-linux-gnu-gcc spim-utils.o run.o mem.o inst.o data.o sym-tbl.o y.tab.o lex.yy.o syscall.o display-utils.o string-stream.o spim.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o spim -lm make[1]: Leaving directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' make: Leaving directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' make -j4 DESTDIR= EXCEPTION_DIR=/var/lib/spim -C xspim -j1 xspim make: Entering directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/xspim' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -c -o buttons.o buttons.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/Intrinsic.h:53, from buttons.c:35: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I. -I../CPU -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -c -o xspim.o xspim.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xspim.c:35: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ xspim.c:56:10: fatal error: y.tab.h: No such file or directory 56 | #include "y.tab.h" | ^~~~~~~~~ compilation terminated. make: *** [: xspim.o] Error 1 shuffle=1432731864 make: Leaving directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/xspim' * ERROR: app-emulation/spim-8.0-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/spim-8.0-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/spim-8.0-r3::gentoo'`. * The complete build log is located at '/var/log/portage/app-emulation:spim-8.0-r3:20221120-193834.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/spim-8.0-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/spim-8.0-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0' * S: '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0'