Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] spidermonkey 78.6.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 509

PostPosted: Thu Apr 01, 2021 12:06 pm    Post subject: [solved] spidermonkey 78.6.0 Reply with quote

Hallo community,

I can't install Spidermonkey 78.6.0 on my ARM Gentoo.

Code:
DEBUG: Creating `/var/tmp/portage/dev-lang/spidermonkey-78.6.0/temp/conftestzh8y2uf0.rs` with content:
DEBUG: | pub extern fn hello() { println!("Hello world"); }
DEBUG: Executing: `/usr/bin/rustc --crate-type staticlib --target=armv7-gentoo-linux-musleabihf -o /var/tmp/portage/dev-lang/spidermonkey-78.6.0/temp/conftestt3qqsesz.rlib /var/tmp/portage/dev-lang/spidermonkey-78.6.0/temp/conftestzh8y2uf0.rs`
DEBUG: The command returned non-zero exit status 1.
DEBUG: Its error output was:
DEBUG: | error[E0463]: can't find crate for `std`
DEBUG: |   |
DEBUG: |   = note: the `armv7-gentoo-linux-musleabihf` target may not be installed
DEBUG: |
DEBUG: | error: aborting due to previous error
DEBUG: |
DEBUG: | For more information about this error, try `rustc --explain E0463`.
ERROR: Cannot compile for armv7a-hardfloat-linux-gnueabi with /usr/bin/rustc
The target may be unsupported, or you may not have
a rust std library for that target installed. Try:

  rustup target add armv7-gentoo-linux-musleabihf


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-lang/spidermonkey-78.6.0/work/build/config.log
 * ERROR: dev-lang/spidermonkey-78.6.0::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 3288:  Called econf '--host=armv7a-hardfloat-linux-gnueabi' '--target=armv7a-hardfloat-linux-gnueabi' '--disable-jemalloc' '--disable-optimize' '--disable-strip' '--enable-readline' '--enable-shared-js' '--with-intl-api' '--with-system-icu' '--with-system-nspr' '--with-system-zlib' '--with-toolchain-prefix=armv7a-hardfloat-linux-gnueabi-' '--disable-debug' '--enable-jit' '--disable-tests' 'XARGS=/usr/bin/xargs'
 *        phase-helpers.sh, line  680:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-lang/spidermonkey-78.6.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/spidermonkey-78.6.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/spidermonkey-78.6.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/spidermonkey-78.6.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/spidermonkey-78.6.0/work/build'
 * S: '/var/tmp/portage/dev-lang/spidermonkey-78.6.0/work/firefox-78.6.0/js/src'


Code:
Portage 3.0.17 (python 3.8.8-final-0, default/linux/arm/17.0/armv7a/desktop, gcc-9.3.0, glibc-2.32-r7, 4.9.44 armv7l)
=================================================================
System uname: Linux-4.9.44-armv7l-ARMv7_Processor_rev_3_-v7l-with-glibc2.4
KiB Mem:     2041904 total,     59556 free
KiB Swap:    4189180 total,   3871564 free
Timestamp of repository gentoo: Thu, 01 Apr 2021 08:30:01 +0000
Head commit of repository gentoo: 22d7e93bc6489644e12055980ec2d5271261bb35
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18_p7::gentoo, 3.6.12::gentoo, 3.7.10::gentoo, 3.8.8::gentoo, 3.9.2::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo, 2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
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.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
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=armv7-a"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j8"
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="X a52 aac acl airplay alsa apache2 arm berkdb bluetooth bluray branding bzip2 cairo caps cdda cdr cec cli crypt css cups curl dbus dri dts dvd dvdr elogind emboss encode exif flac fortran fpm ftp gd gdbm gif gpm gtk gui iconv icu ipv6 java jce jpeg lcms libglvnd libnotify mad mng mp3 mp4 mpeg ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf pdo php phython png policykit postgres ppds qt5 readline sdl seccomp spell split-usr sqlite ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xmlreader xmlwriter xv xvid zip zlib" ADA_TARGET="gnat_2018" 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_ARM="edsp thumb thumb2 v4 v5 v6 v7 vfp" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="de en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 python3_7" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Everyone a idea what I can try? Thank you in advance!


Last edited by misterxx on Tue Apr 13, 2021 10:08 am; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Thu Apr 01, 2021 12:12 pm    Post subject: Reply with quote

A similar bug
https://bugs.gentoo.org/761298
Have you tried with rust-bin?
Many more similar bugs
https://www.google.com/search?q=ERROR%3A+Cannot+compile+for+armv7a-hardfloat-linux-gnueabi+with+%2Fusr%2Fbin%2Frustc+The+target+may+be+unsupported%2C+or+you+may+not+have+a+rust+std+library+for+that+target+installed.+Try%3A+rustup+target+add+armv7-gentoo-linux-musleabihf&oq=ERROR%3A+Cannot+compile+for+armv7a-hardfloat-linux-gnueabi+with+%2Fusr%2Fbin%2Frustc+The+target+may+be+unsupported%2C+or+you+may+not+have+a+rust+std+library+for+that+target+installed.+Try%3A++%C2%A0+rustup+target+add+armv7-gentoo-linux-musleabihf&aqs=chrome..69i57j69i58&sourceid=chrome&ie=UTF-8
_________________
:)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30965
Location: here

PostPosted: Thu Apr 01, 2021 12:26 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on ARM.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 509

PostPosted: Thu Apr 01, 2021 3:43 pm    Post subject: Reply with quote

alamahant wrote:

Have you tried with rust-bin?


I switched from rust to rust-bin and compiling spidermonkey is continue to run!

Thank you for your hint!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum