Created attachment 574618 [details] build.log emerge --info Portage 2.3.65 (python 3.7.3-final-0, default/linux/amd64/17.0, gcc-8.3.0, glibc-2.29-r2, 4.19.0-gentoo x86_64) ================================================================= System uname: Linux-4.19.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-2635QM_CPU_@_2.00GHz-with-gentoo-2.6 KiB Mem: 8059272 total, 2491768 free KiB Swap: 8387904 total, 8387128 free Timestamp of repository gentoo: Mon, 29 Apr 2019 04:45:01 +0000 Head commit of repository gentoo: 34244ef4791c2fcb38868acca7f2d223d6708f61 Head commit of repository home: 4f0de5318d6c62b149a088023a498165bd6fe3ae sh bash 5.0_p7 ld GNU ld (Gentoo 2.32 p2) 2.32.0 distcc 3.3.2 x86_64-pc-linux-gnu [disabled] ccache version 3.6 [enabled] app-shells/bash: 5.0_p7::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.2::gentoo dev-lang/python: 2.7.16::gentoo, 3.5.7::gentoo, 3.6.8::gentoo, 3.7.3::gentoo dev-util/ccache: 3.6::gentoo dev-util/cmake: 3.14.3::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.41.2::gentoo sys-apps/sandbox: 2.17::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo sys-devel/gcc: 6.4.0-r5::gentoo, 7.3.0-r6::gentoo, 8.3.0-r1::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.mirrors.ustc.edu.cn/gentoo-portage/ priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 0x4d4c location: /var/lib/layman/0x4d4c masters: gentoo priority: 0 home location: /var/db/repos/home sync-type: git sync-uri: https://framagit.org/3/ebuilds.git masters: gentoo yandex location: /var/lib/layman/yandex masters: gentoo priority: 1 4nykey location: /var/lib/layman/4nykey masters: gentoo priority: 50 eroen location: /var/lib/layman/eroen masters: gentoo priority: 50 Installed sets: @steam ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=sandybridge -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=sandybridge -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --keep-going y" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirrors.163.com/gentoo/" LANG="zh_CN.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="zh_CN zh_TW en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/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="256-color X aac acl alsa amd64 asf berkdb bluetooth bzip2 cdr cjk clang cli consolekit crypt curl cxx dri dvd dvdr fbcondecor fortran gdbm gif gtk gtk2 gtk3 gui hfs iconv icu ipv6 jpeg libtirpc mad minizip mmx mp3 mp4 multilib ncurses nls nptl nsplugin objc openmp pam pantheon pcre pdf png pulseaudio python qt4 qt5 readline real savedconfig seccomp sse sse2 ssl svc svg tcpd tiff truetype unicode unicode3 vim-syntax widgets wifi win32codecs x264 xattr xft xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" L10N="zh-CN en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965 r600 i915 radeon" XFCE_PLUGINS="brightness clock trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I had the same build failure on my system. It seems that the build script is using the shell from the SHELL environment variable to "run" automake (see build log lines 201 and 210). This fails with automake-2.13 and SHELL=/bin/zsh (same error as reported in the bug summary). dev-lang/spidermonkey-60.5.2_p0-r1 builds fine with SHELL=/bin/bash though. I may be sufficient to add export SHELL="${EPREFIX}/bin/bash" in pkg_setup(), as it is done in dev-lang/spidermonkey-52.9.1_pre1.ebuild ?
commit 4465a40b43fed7169f8d296a0e21ebb20adfee42 (HEAD -> master, origin/master, origin/HEAD, github/master) Author: Jory Pratt <anarchy@gentoo.org> Date: Tue Apr 30 13:43:20 2019 -0500 dev-lang/spidermonkey: Fix BE, force /bin/bash for shell Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Jory Pratt <anarchy@gentoo.org>
*** Bug 684868 has been marked as a duplicate of this bug. ***