* Package: app-emulation/spim-8.0-r3 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo/gentoo/commit/c69b1fa0eef6875e200f8c7343b5d2c4ac82551e (Thu Apr 1 21:17:08 UTC 2021) @@@@@ END @@@@@ emerge --info: Portage 3.0.18 (python 3.9.2-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r8, 5.4.0-1029-aws x86_64) ================================================================= System uname: Linux-5.4.0-1029-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8124M_CPU_@_3.00GHz-with-glibc2.32 KiB Mem: 71926568 total, 51927564 free KiB Swap: 0 total, 0 free sh bash 5.1_p4 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p4::gentoo dev-lang/perl: 5.32.1::gentoo dev-lang/python: 2.7.18_p7::gentoo, 3.7.10::gentoo, 3.8.8::gentoo, 3.9.2::gentoo dev-util/cmake: 3.20.0::gentoo sys-apps/baselayout: 2.7-r1::gentoo sys-apps/openrc: 0.42.1-r1::gentoo sys-apps/sandbox: 2.22::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.2::gentoo sys-devel/gcc: 10.2.0-r5::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r8::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* BSD" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" DISTDIR="/var/tmp/portage/app-emulation/spim-8.0-r3/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j36" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge history: 2021-04-01T23:19:09 >>> app-emulation/spim-8.0-r3 2021-04-01T23:19:21 >>> dev-lang/python-exec-2.4.6-r4 2021-04-01T23:19:24 >>> sys-devel/gcc-config-2.4 2021-04-01T23:19:28 >>> sys-devel/binutils-config-5.4 >>> 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 -j36 -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 ./Configure: line 81: nm: command not found Checking if libc on this machine contains: vsprintf: No, I don't think _doprnt: NO, THIS IS A PROBLEM: NO VSPRINTF AND NO _DOPRNT SPIM WILL NOT RUN PROPERLY vfprintf: No, I don't think _doprnt: NO, THIS IS A PROBLEM: NO VFPRINTF AND NO _DOPRNT SPIM WILL NOT RUN PROPERLY strtoul: No, I don't think strtol: No, I don't think memcpy: No, I don't 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' >>> Source configured. >>> Compiling source in /var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0 ... make -j36 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 -O2 -pipe -march=x86-64 -frecord-gcc-switches -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 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -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 flex -I -8 ../CPU/scanner.l x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -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 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -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 -O2 -pipe -march=x86-64 -frecord-gcc-switches -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 ../CPU/parser.y: warning: 25 shift/reduce conflicts [8;id=da89796e0005beefc9c1d72d00000000;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 In file included from ../CPU/mem.c:34: ../CPU/spim.h:71:31: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ ../CPU/spim.h:71:41: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../CPU/spim.h:79, from ../CPU/mem.c:34: ../CPU/spim.h:71:31: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ ../CPU/spim.h:71:41: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ In file included from ../CPU/string-stream.c:38: ../CPU/spim.h:71:31: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ ../CPU/spim.h:71:41: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ In file included from ../CPU/data.c:34: ../CPU/spim.h:71:31: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ In file included from ../CPU/display-utils.c:34: ../CPU/spim.h:71:31: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ ../CPU/spim.h:71:41: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ ../CPU/spim.h:71:41: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../CPU/string-stream.c:34: ../CPU/spim.h:71:31: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ ../CPU/spim.h:71:41: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../CPU/spim.h:79, from ../CPU/display-utils.c:34: ../CPU/spim.h:71:31: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ../CPU/spim.h:79, from ../CPU/data.c:34: ../CPU/spim.h:71:31: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ ../CPU/spim.h:71:41: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ ../CPU/spim.h:71:41: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ In file included from ../CPU/syscall.c:47: ../CPU/spim.h:71:31: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ ../CPU/spim.h:71:41: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ make[1]: *** [: string-stream.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from /usr/include/features.h:465, from /usr/include/unistd.h:25, from ../CPU/syscall.c:35: ../CPU/spim.h:71:31: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ ../CPU/spim.h:71:41: error: expected declaration specifiers or ‘...’ before ‘(’ token 71 | #define memcpy(T, F, S) bcopy((void*)F, (void*)T, S) | ^ make[1]: *** [: mem.o] Error 1 make[1]: *** [: syscall.o] Error 1 make[1]: *** [: data.o] Error 1 make[1]: *** [: display-utils.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' make: *** [Makefile:124: spim] Error 2 make: Leaving directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' * 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/emerge-log/build/app-emulation/spim-8.0-r3:20210401-211933.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'