Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656640 - dev-lang/spidermonkey-45.0.2 error on MIPS n32
Summary: dev-lang/spidermonkey-45.0.2 error on MIPS n32
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: MIPS Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-27 10:28 UTC by TongHui
Modified: 2018-05-29 09:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TongHui 2018-05-27 10:28:23 UTC
I emerge the spidermonkey on a mips32 computer and encountered errors: 
yeeloong ~ # emerge -av spidermonkey 
!!! SYNC setting found in make.conf. 
    This setting is Deprecated and no longer used.  Please ensure your 'sync-type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf 

 * IMPORTANT: 24 news items need reading for repository 'gentoo'. 
 * Use eselect news read to view new items. 


These are the packages that would be merged, in order: 

Calculating dependencies... done! 
[ebuild  NS    ] dev-lang/spidermonkey-45.0.2:45::gentoo [1.8.5-r6:0/mozjs185::gentoo] USE="jit system-icu -custom-cflags -custom-optimization -debug -minimal -static-libs {-test}" 0 KiB 

Total: 1 package (1 in new slot), Size of downloads: 0 KiB 

!!! The following installed packages are masked: 
- x11-themes/gnome-icon-theme-3.12.0::gentoo (masked by: package.mask) 
/usr/portage/profiles/package.mask: 
# Pacho Ramos <pacho@gentoo.org> (18 Mar 2018) 
# Superseeded by adwaita-icon-theme for years, also having both installed at 
# the same time causes some apps to use old icons over new ones (#638142). 
# Removal in a month. 

For more information, see the MASKED PACKAGES section in the emerge 
man page or refer to the Gentoo Handbook. 


Would you like to merge these packages? [Yes/No] Yes 
>>> Recording dev-lang/spidermonkey in "world" favorites file... 

>>> Verifying ebuild manifests 

>>> Emerging (1 of 1) dev-lang/spidermonkey-45.0.2::gentoo 
 * mozjs-45.0.2.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                             [ ok ] 
 * spidermonkey-slot45-patches-01.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                            [ ok ] 
>>> Unpacking source... 
>>> Unpacking mozjs-45.0.2.tar.bz2 to /var/tmp/portage/dev-lang/spidermonkey-45.0.2/work 
>>> Unpacking spidermonkey-slot45-patches-01.tar.xz to /var/tmp/portage/dev-lang/spidermonkey-45.0.2/work 
>>> Source unpacked in /var/tmp/portage/dev-lang/spidermonkey-45.0.2/work 
>>> Preparing source in /var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2 ... 
 * Applying spidermonkey-38-jsapi-tests.patch ...                                                                                                               [ ok ] 
 * Applying mozjs45-1266366.patch ...                                                                                                                           [ ok ] 
 * Applying mozjs38-pkg-config-version.patch ...                                                                                                                [ ok ] 
 * Applying mozilla_configure_regexp_esr.patch ...                                                                                                              [ ok ] 
 * Applying spidermonkey-45-dont-symlink-non-objfiles.patch ...                                                                                                 [ ok ] 
 * Applying patches from /var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/sm45/ff45 ... 
 *   7000_drop-Wl-build-id_v4.patch ...                                                                                                                         [ ok ] 
 *   7003_freebsd_jscpucfg.patch ...                                                                                                                            [ ok ] 
 *   8001_hppa_js_configure.patch ...                                                                                                                           [ ok ] 
 *   8007_nonejit_ppc64_fix_bug1253216.patch ...                                                                                                                [ ok ] 
 *   8008_nonejit_x86_fix_based_on_bug1253216.patch ...                                                                                                         [ ok ] 
 *   8014_ia64_js.patch ...                                                                                                                                     [ ok ] 
 * Running autoconf ...                                                                                                                                         [ ok ] 
>>> Source prepared. 
>>> Configuring source in /var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2 ... 
 * econf: updating mozjs-45.0.2/js/src/ctypes/libffi/config.sub with /usr/share/gnuconfig/config.sub 
 * econf: updating mozjs-45.0.2/js/src/ctypes/libffi/config.guess with /usr/share/gnuconfig/config.guess 
 * econf: updating mozjs-45.0.2/nsprpub/build/autoconf/config.sub with /usr/share/gnuconfig/config.sub 
 * econf: updating mozjs-45.0.2/nsprpub/build/autoconf/config.guess with /usr/share/gnuconfig/config.guess 
 * econf: updating mozjs-45.0.2/build/autoconf/config.sub with /usr/share/gnuconfig/config.sub 
 * econf: updating mozjs-45.0.2/build/autoconf/config.guess with /usr/share/gnuconfig/config.guess 
 * econf: updating mozjs-45.0.2/intl/icu/source/config.sub with /usr/share/gnuconfig/config.sub 
 * econf: updating mozjs-45.0.2/intl/icu/source/config.guess with /usr/share/gnuconfig/config.guess 
 * econf: updating mozjs-45.0.2/memory/jemalloc/src/config.sub with /usr/share/gnuconfig/config.sub 
 * econf: updating mozjs-45.0.2/memory/jemalloc/src/config.guess with /usr/share/gnuconfig/config.guess 
./configure --prefix=/usr --build=mips64el-unknown-linux-gnu --host=mips64el-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib32 --enable-jemalloc --enable-readline --enable-threadsafe --with-system-nspr --enable-system-ffi --disable-optimize --with-intl-api --with-system-icu --disable-debug --enable-yarr-jit --enable-ion --disable-static --disable-tests 
creating cache ./config.cache 
checking host system type... mips64el-unknown-linux-gnu 
checking target system type... mips64el-unknown-linux-gnu 
checking build system type... mips64el-unknown-linux-gnu 
checking for mawk... no 
checking for gawk... gawk 
checking for perl5... no 
checking for perl... /usr/bin/perl 
checking for gcc... mips64el-unknown-linux-gnu-gcc 
checking whether the C compiler (mips64el-unknown-linux-gnu-gcc -O2 -march=loongson2f -Wa,-mfix-loongson2f-nop -pipe -Wl,-O1 -Wl,--as-needed) works... yes 
checking whether the C compiler (mips64el-unknown-linux-gnu-gcc -O2 -march=loongson2f -Wa,-mfix-loongson2f-nop -pipe -Wl,-O1 -Wl,--as-needed) is a cross-compiler... no 
checking whether we are using GNU C... yes 
checking whether mips64el-unknown-linux-gnu-gcc accepts -g... yes 
checking for c++... mips64el-unknown-linux-gnu-g++ 
checking whether the C++ compiler (mips64el-unknown-linux-gnu-g++ -O2 -march=loongson2f -Wa,-mfix-loongson2f-nop -pipe -Wl,-O1 -Wl,--as-needed) works... yes 
checking whether the C++ compiler (mips64el-unknown-linux-gnu-g++ -O2 -march=loongson2f -Wa,-mfix-loongson2f-nop -pipe -Wl,-O1 -Wl,--as-needed) is a cross-compiler... no 
checking whether we are using GNU C++... yes 
checking whether mips64el-unknown-linux-gnu-g++ accepts -g... yes 
checking for ranlib... ranlib 
checking for as... /usr/bin/as 
checking for ar... ar 
checking for ld... mips64el-unknown-linux-gnu-ld 
checking for strip... strip 
checking for windres... no 
checking how to run the C preprocessor... mips64el-unknown-linux-gnu-gcc -E 
checking how to run the C++ preprocessor... mips64el-unknown-linux-gnu-g++ -E 
checking for rustc... no 
checking for sb-conf... no 
checking for ve... no 
checking for a BSD compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c 
checking whether ln -s works... yes 
checking for tar archiver... checking for gnutar... no 
checking for gtar... no 
checking for tar... tar 
tar 
checking for minimum required perl version >= 5.006... 5.026001 
checking for full perl installation... yes 
Using Python from environment variable $PYTHON 
Creating Python environment 
New python executable in /var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/js/src/_virtualenv/bin/python2.7 
Also creating executable in /var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/js/src/_virtualenv/bin/python 
Installing setuptools, pip... 
  Complete output from command /var/tmp/portage/dev...ualenv/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip: 
  Traceback (most recent call last): 
  File "<string>", line 1, in <module> 
  File "/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/__init__.py", line 2, in <module> 
ImportError: No module named __future__ 
---------------------------------------- 
...Installing setuptools, pip...done. 
Traceback (most recent call last): 
  File "/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/python/virtualenv/virtualenv.py", line 2352, in <module> 
    main() 
  File "/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/python/virtualenv/virtualenv.py", line 825, in main 
    symlink=options.symlink) 
  File "/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/python/virtualenv/virtualenv.py", line 993, in create_environment 
    install_wheel(to_install, py_executable, search_dirs) 
  File "/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/python/virtualenv/virtualenv.py", line 961, in install_wheel 
    'PIP_NO_INDEX': '1' 
  File "/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/python/virtualenv/virtualenv.py", line 903, in call_subprocess 
    % (cmd_desc, proc.returncode)) 
OSError: Command /var/tmp/portage/dev...ualenv/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1 
Traceback (most recent call last): 
  File "/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/python/mozbuild/mozbuild/virtualenv.py", line 485, in <module> 
    manager.ensure() 
  File "/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/python/mozbuild/mozbuild/virtualenv.py", line 128, in ensure 
    return self.build() 
  File "/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/python/mozbuild/mozbuild/virtualenv.py", line 381, in build 
    self.create() 
  File "/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/python/mozbuild/mozbuild/virtualenv.py", line 147, in create 
    raise Exception('Error creating virtualenv.') 
Exception: Error creating virtualenv. 
------ config.log ------ 
configure:3132: checking whether the C++ compiler (mips64el-unknown-linux-gnu-g++ -O2 -march=loongson2f -Wa,-mfix-loongson2f-nop -pipe -Wl,-O1 -Wl,--as-needed) is a cross-compiler 
configure:3137: checking whether we are using GNU C++ 
configure:3146: mips64el-unknown-linux-gnu-g++ -E conftest.C 
configure:3165: checking whether mips64el-unknown-linux-gnu-g++ accepts -g 
configure:3199: checking for ranlib 
configure:3231: checking for as 
configure:3285: checking for ar 
configure:3320: checking for ld 
configure:3355: checking for strip 
configure:3390: checking for windres 
configure:3680: checking how to run the C preprocessor 
configure:3701: mips64el-unknown-linux-gnu-gcc -E  conftest.c >/dev/null 2>conftest.out 
configure:3760: checking how to run the C++ preprocessor 
configure:3778: mips64el-unknown-linux-gnu-g++ -E  conftest.C >/dev/null 2>conftest.out 
configure:3806: checking for rustc 
configure:4306: checking for sb-conf 
configure:4306: checking for ve 
configure:4368: checking for a BSD compatible install 
configure:4421: checking whether ln -s works 
configure:4443: checking for tar archiver 
configure:4449: checking for gnutar 
configure:4449: checking for gtar 
configure:4449: checking for tar 
configure:4486: checking for minimum required perl version >= 5.006 
configure:4496: checking for full perl installation 

!!! Please attach the following file when seeking support: 
!!! /var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/js/src/config.log 
 * ERROR: dev-lang/spidermonkey-45.0.2::gentoo failed (configure phase): 
 *   econf failed 
 * 
 * Call stack: 
 *               ebuild.sh, line  124:  Called src_configure 
 *             environment, line 3943:  Called econf '--enable-jemalloc' '--enable-readline' '--enable-threadsafe' '--with-system-nspr' '--enable-system-ffi' '--disable-optimize' '--with-intl-api' '--with-system-icu' '--disable-debug' '--enable-yarr-jit' '--enable-ion' '--disable-static' '--disable-tests' 
 *        phase-helpers.sh, line  666:  Called __helpers_die 'econf failed' 
 *   isolated-functions.sh, line  117:  Called die 
 * The specific snippet of code: 
 *              die "$@" 
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/spidermonkey-45.0.2::gentoo'`, 
 * the complete build log and the output of `emerge -pqv '=dev-lang/spidermonkey-45.0.2::gentoo'`. 
 * The complete build log is located at '/var/tmp/portage/dev-lang/spidermonkey-45.0.2/temp/build.log'. 
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/spidermonkey-45.0.2/temp/environment'. 
 * Working directory: '/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/js/src' 
 * S: '/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2' 

>>> Failed to emerge dev-lang/spidermonkey-45.0.2, Log file: 

>>>  '/var/tmp/portage/dev-lang/spidermonkey-45.0.2/temp/build.log' 

 * Messages for package dev-lang/spidermonkey-45.0.2: 

 * ERROR: dev-lang/spidermonkey-45.0.2::gentoo failed (configure phase): 
 *   econf failed 
 * 
 * Call stack: 
 *               ebuild.sh, line  124:  Called src_configure 
 *             environment, line 3943:  Called econf '--enable-jemalloc' '--enable-readline' '--enable-threadsafe' '--with-system-nspr' '--enable-system-ffi' '--disable-optimize' '--with-intl-api' '--with-system-icu' '--disable-debug' '--enable-yarr-jit' '--enable-ion' '--disable-static' '--disable-tests' 
 *        phase-helpers.sh, line  666:  Called __helpers_die 'econf failed' 
 *   isolated-functions.sh, line  117:  Called die 
 * The specific snippet of code: 
 *              die "$@" 
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/spidermonkey-45.0.2::gentoo'`, 
 * the complete build log and the output of `emerge -pqv '=dev-lang/spidermonkey-45.0.2::gentoo'`. 
 * The complete build log is located at '/var/tmp/portage/dev-lang/spidermonkey-45.0.2/temp/build.log'. 
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/spidermonkey-45.0.2/temp/environment'. 
 * Working directory: '/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2/js/src' 
 * S: '/var/tmp/portage/dev-lang/spidermonkey-45.0.2/work/mozjs-45.0.2' 
yeeloong ~ #
Comment 1 Jonas Stein gentoo-dev 2018-05-29 09:17:51 UTC
Thank you for the report. 


> * IMPORTANT: 24 news items need reading for repository 'gentoo'. 
> * Use eselect news read to view new items. 

looks like you missed to read some news and your system needs several updates and adjustments first. We can not help with that via bug tracker, but you can look at out support channels, if you got stuck.
https://www.gentoo.org/support/

Please recompile and *attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:unconfirmed) afterwards.