Кросс-компиляция nspr-4.9 (зависимость firefox-11.0-r1)

Проблема со сборкой этой зависимости.

Почему то собирается бинарник nsinstall для ARM архитектуры, он должен выполнятся в процессе сборки. Подскажите, как исправить?

===
thunder367 ~ # armv7a-hardfloat-linux-gnueabi-emerge -bk firefox

.....

rm -f ../dist/bin/nspr-config
make[1]: Выход из каталога `/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/config'
make -C pr export
make[1]: Вход в каталог `/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/pr'
make -C include export
make[2]: Вход в каталог `/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/pr/include'
make -C md export
make[3]: Вход в каталог `/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/pr/include/md'
../../../config/./nsinstall -R -m 444 ../../../../mozilla/nsprpub/pr/include/md/_nec.cfg ../../../../mozilla/nsprpub/pr/include/md/_openbsd.cfg ../../../../mozilla/nsprpub/pr/include/md/_winnt.cfg ../../../../mozilla/nsprpub/pr/include/md/_osf1.cfg ../../../../mozilla/nsprpub/pr/include/md/_nto.cfg ../../../../mozilla/nsprpub/pr/include/md/_riscos.cfg ../../../../mozilla/nsprpub/pr/include/md/_dgux.cfg ../../../../mozilla/nsprpub/pr/include/md/_aix32.cfg ../../../../mozilla/nsprpub/pr/include/md/_hpux64.cfg ../../../../mozilla/nsprpub/pr/include/md/_os2.cfg ../../../../mozilla/nsprpub/pr/include/md/_linux.cfg ../../../../mozilla/nsprpub/pr/include/md/_qnx.cfg ../../../../mozilla/nsprpub/pr/include/md/_darwin.cfg ../../../../mozilla/nsprpub/pr/include/md/_bsdi.cfg ../../../../mozilla/nsprpub/pr/include/md/_beos.cfg ../../../../mozilla/nsprpub/pr/include/md/_irix32.cfg ../../../../mozilla/nsprpub/pr/include/md/_freebsd.cfg ../../../../mozilla/nsprpub/pr/include/md/_win95.cfg ../../../../mozilla/nsprpub/pr/include/md/_netbsd.cfg ../../../../mozilla/nsprpub/pr/include/md/_solaris.cfg ../../../../mozilla/nsprpub/pr/include/md/_scoos.cfg ../../../../mozilla/nsprpub/pr/include/md/_irix64.cfg ../../../../mozilla/nsprpub/pr/include/md/_unixware.cfg ../../../../mozilla/nsprpub/pr/include/md/_sunos4.cfg ../../../../mozilla/nsprpub/pr/include/md/_aix64.cfg ../../../../mozilla/nsprpub/pr/include/md/_symbian.cfg ../../../../mozilla/nsprpub/pr/include/md/_ncr.cfg ../../../../mozilla/nsprpub/pr/include/md/_sony.cfg ../../../../mozilla/nsprpub/pr/include/md/_nextstep.cfg ../../../../mozilla/nsprpub/pr/include/md/_hpux32.cfg ../../../../mozilla/nsprpub/pr/include/md/_unixware7.cfg ../../../../mozilla/nsprpub/pr/include/md/_reliantunix.cfg ../../../dist/include/nspr/md
../../../config/./nsinstall: ../../../config/./nsinstall: не могу запустить бинарный файл
make[3]: *** [export] Ошибка 126
make[3]: Выход из каталога `/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/pr/include/md'
make[2]: *** [export] Ошибка 2
make[2]: Выход из каталога `/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/pr/include'
make[1]: *** [export] Ошибка 2
make[1]: Выход из каталога `/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/pr'
make: *** [export] Ошибка 2
emake failed
* ERROR: dev-libs/nspr-4.9 failed (compile phase):
* failed to build
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2593: Called die
* The specific snippet of code:
* emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "failed to build"
*
* If you need support, post the output of 'emerge --info =dev-libs/nspr-4.9',
* the complete build log and the output of 'emerge -pqv =dev-libs/nspr-4.9'.
* The complete build log is located at '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/temp/build.log'.
* The ebuild environment file is located at '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/temp/environment'.
* S: '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9'

>>> Failed to emerge dev-libs/nspr-4.9 for /usr/armv7a-hardfloat-linux-gnueabi/, Log file:

>>> '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/temp/build.log'

* Messages for package dev-libs/nspr-4.9 merged to /usr/armv7a-hardfloat-linux-gnueabi/:

* ERROR: dev-libs/nspr-4.9 failed (compile phase):
* failed to build
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2593: Called die
* The specific snippet of code:
* emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "failed to build"
*
* If you need support, post the output of 'emerge --info =dev-libs/nspr-4.9',
* the complete build log and the output of 'emerge -pqv =dev-libs/nspr-4.9'.
* The complete build log is located at '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/temp/build.log'.
* The ebuild environment file is located at '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/temp/environment'.
* S: '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9'

thunder367 ~ # emerge --info =dev-libs/nspr-4.9
Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 2.6.32-5-amd64 x86_64)
=================================================================
System Settings
=================================================================
System uname:

Timestamp of tree: Mon, 23 Apr 2012 05:00:01 +0000
app-shells/bash: 4.2_p20
dev-lang/python: 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.5-r2
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 apng berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre pppd python readline session sse sse2 ssl sysfs tcpd unicode xorg zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
Package Settings
=================================================================

dev-libs/nspr-4.9 was built with the following:
USE="(multilib) -debug"

thunder367 ~ # armv7a-hardfloat-linux-gnueabi-emerge --info =dev-libs/nspr-4.9
Portage 2.1.10.49 (default/linux/arm/10.0, gcc-4.5.3, unavailable, 2.6.32-5-amd64 x86_64)
=================================================================
System Settings
=================================================================
System uname:

Timestamp of tree: Mon, 23 Apr 2012 05:00:01 +0000
app-shells/bash: 4.2_p20
dev-lang/python: 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.5-r2
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe -fomit-frame-pointer -I/usr/armv7a-hardfloat-linux-gnueabi/usr/include/ -I/usr/armv7a-hardfloat-linux-gnueabi/include/"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -pipe -fomit-frame-pointer -I/usr/armv7a-hardfloat-linux-gnueabi/usr/include/ -I/usr/armv7a-hardfloat-linux-gnueabi/include/"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-L/usr/armv7a-hardfloat-linux-gnueabi/lib -L/usr/armv7a-hardfloat-linux-gnueabi/usr/lib"
LINGUAS="ru"
PKGDIR="/usr/armv7a-hardfloat-linux-gnueabi/packages/"
PORTAGE_CONFIGROOT="/usr/armv7a-hardfloat-linux-gnueabi/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/armv7a-hardfloat-linux-gnueabi/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl apng arm berkdb bindist bzip2 cli cracklib crypt cups cxx fortran gdbm gpm iconv ipv6 make-symlinks minimal modules mudflap ncurses nls nptl nptlonly openmp pam pcre pppd readline session ssl sysfs tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev omapfb dummy v4l" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

thunder367 ~ # emerge -pqv =dev-libs/nspr-4.9
[ebuild R ] dev-libs/nspr-4.9 USE="-debug"

thunder367 ~ # armv7a-hardfloat-linux-gnueabi-emerge -pqv =dev-libs/nspr-4.9
[ebuild N ] dev-libs/nspr-4.9 to /usr/armv7a-hardfloat-linux-gnueabi/ USE="-debug"

===

Смотри configure --help на

Смотри configure --help на предмет кросс компиляции, попробуй погуглить - как собирать firefox для другой платформы

Working on Gentoo Linux for Asus P535 and Qtopia :-)

Хотелось бы понять, как можно

Хотелось бы понять, как можно решить данную проблему при помощи portage, make.conf например подправить.

"Эксперимент, авария, чтение документации" - нормальная последовательность действий сисадмина.

Никак, разве что ебилд

Никак, разве что ебилд поправить что бы правильно cross-компилировал :)

Working on Gentoo Linux for Asus P535 and Qtopia :-)

Флагов ответственных за этот

Флагов ответственных за этот компонент не нашел. Вывод урезан.

thunder367 / # armv7a-hardfloat-linux-gnueabi-emerge -pv nspr
[ebuild N ] dev-libs/nspr-4.9 to /usr/armv7a-hardfloat-linux-gnueabi/ USE="-debug" 0 kB

thunder367 / # armv7a-hardfloat-linux-gnueabi-emerge -pv firefox
[ebuild N ] www-client/firefox-11.0-r1 to /usr/armv7a-hardfloat-linux-gnueabi/ USE="bindist crashreporter dbus ipc minimal (-alsa) -custom-cflags -custom-optimization -debug -libnotify -pgo (-selinux) -startup-notification -system-sqlite (-webm) -wifi" LINGUAS="-af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu" 0 kB

Что править? Отключать компиляцию пакета nspr в ebuild'е firefox'а?

thunder367 / # grep nspr /usr/portage/www-client/firefox/firefox-11.0-r1.ebuild
>=dev-libs/nspr-4.9
-i "${S}"/nsprpub/configure{.in,} \

По листингу это зависимость пакета nss.

thunder367 / # armv7a-hardfloat-linux-gnueabi-emerge -pvt firefox
[nomerge ] dev-libs/nss-3.13.3 to /usr/armv7a-hardfloat-linux-gnueabi/ USE="-utils"
[ebuild N ] dev-libs/nspr-4.9 to /usr/armv7a-hardfloat-linux-gnueabi/ USE="-debug" 0 kB

thunder367 / # armv7a-hardfloat-linux-gnueabi-emerge -pv nss
[ebuild N ] dev-libs/nss-3.13.3 to /usr/armv7a-hardfloat-linux-gnueabi/ USE="-utils" 0 kB

"Эксперимент, авария, чтение документации" - нормальная последовательность действий сисадмина.

Смотри configure от firefox..

Смотри configure от firefox..

Working on Gentoo Linux for Asus P535 and Qtopia :-)

При чем здесь сам firefox,

При чем здесь сам firefox, если не собирается его зависимость? В любом случае тот баг уже исправили https://bugs.gentoo.org/show_bug.cgi?id=414099

После обновления ebuild'а для инсталляции стал использоваться x64 бинарник native-nsinstall, ошибка поменялась:

......
>>> Source compiled.
>>> Test phase [not enabled]: dev-libs/nspr-4.9

>>> Install nspr-4.9 into /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/image/ category dev-libs
make -j3 DESTDIR=/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/image/ install
make -C config install
make[1]: Вход в каталог `/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/config'
../config/./native-nsinstall -t -m 0755 nspr-config /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/image//usr/bin
../config/./native-nsinstall: cannot access nspr-config: Invalid argument
make[1]: *** [install] Ошибка 1
make[1]: Выход из каталога `/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/config'
make: *** [install] Ошибка 2
emake failed
......

thunder367 / # file /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/config/native-nsinstall
/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/config/native-nsinstall: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

thunder367 / # ./usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/config/native-nsinstall
usage: ./usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/config/native-nsinstall [-C cwd] [-L linkprefix] [-m mode] [-o owner] [-g group]
[-DdltR] file [file ...] directory

thunder367 / # ls -la ./usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/config/
итого 104
drwxr-xr-x 2 root root 4096 мая 13 08:58 .
drwxr-xr-x 7 root root 4096 мая 13 08:58 ..
-rw-r--r-- 1 root root 3577 мая 13 08:58 autoconf.mk
-rw-r--r-- 1 root root 4599 мая 13 08:58 Makefile
-rwxr-xr-x 1 root root 18731 мая 13 08:58 native-nsinstall
-rwxr-xr-x 1 root root 2005 мая 13 08:58 nfspwd
-rwxr-xr-x 1 root root 7423 мая 13 08:58 now
-rw-r--r-- 1 root root 1260 мая 13 08:58 now.o
-rwxr-xr-x 1 root root 17822 мая 13 08:58 nsinstall
-rw-r--r-- 1 root root 9688 мая 13 08:58 nsinstall.o
-rwxr-xr-x 1 root root 2497 мая 13 08:58 nspr-config
-rw-r--r-- 1 root root 152 мая 13 08:58 nsprincl.mk
-rw-r--r-- 1 root root 141 мая 13 08:58 nsprincl.sh
-rw-r--r-- 1 root root 243 мая 13 08:58 nspr.pc

thunder367 / # ls -la /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/image/usr/bin/
итого 8
drwxr-xr-x 2 root root 4096 мая 13 09:16 .
drwxr-xr-x 3 root root 4096 мая 13 09:16 ..

thunder367 / # cd /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/config
thunder367 config # strace ../config/./native-nsinstall -t -m 0755 nspr-config /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/image//usr/bin
execve("../config/./native-nsinstall", ["../config/./native-nsinstall", "-t", "-m", "0755", "nspr-config", "/usr/armv7a-hardfloat-linux-gnue"...], [/* 28 vars */]) = 0
brk(0) = 0x13c2000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4447204000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=35240, ...}) = 0
mmap(NULL, 35240, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f44471fb000
close(3) = 0
open("/lib64/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@l\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=135548, ...}) = 0
mmap(NULL, 2212768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4446dc8000
mprotect(0x7f4446de0000, 2093056, PROT_NONE) = 0
mmap(0x7f4446fdf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f4446fdf000
mmap(0x7f4446fe1000, 13216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4446fe1000
close(3) = 0
open("/lib64/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300#\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1621200, ...}) = 0
mmap(NULL, 3730440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4446a39000
mprotect(0x7f4446bbe000, 2097152, PROT_NONE) = 0
mmap(0x7f4446dbe000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x185000) = 0x7f4446dbe000
mmap(0x7f4446dc3000, 19464, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4446dc3000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f44471fa000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f44471f9000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f44471f8000
arch_prctl(ARCH_SET_FS, 0x7f44471f9700) = 0
mprotect(0x7f4446dbe000, 16384, PROT_READ) = 0
mprotect(0x7f4446fdf000, 4096, PROT_READ) = 0
mprotect(0x602000, 4096, PROT_READ) = 0
mprotect(0x7f4447205000, 4096, PROT_READ) = 0
munmap(0x7f44471fb000, 35240) = 0
set_tid_address(0x7f44471f99d0) = 2152
set_robust_list(0x7f44471f99e0, 0x18) = 0
futex(0x7fff4419f8ac, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fff4419f8ac, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f44471f9700) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7f4446dce6b0, [], SA_RESTORER|SA_SIGINFO, 0x7f4446dd8420}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f4446dce740, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f4446dd8420}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
mkdir("/usr", 0777) = -1 EEXIST (File exists)
mkdir("/usr/armv7a-hardfloat-linux-gnueabi", 0777) = -1 EEXIST (File exists)
mkdir("/usr/armv7a-hardfloat-linux-gnueabi/tmp", 0777) = -1 EEXIST (File exists)
mkdir("/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage", 0777) = -1 EEXIST (File exists)
mkdir("/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs", 0777) = -1 EEXIST (File exists)
mkdir("/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9", 0777) = -1 EEXIST (File exists)
mkdir("/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/image", 0777) = -1 EEXIST (File exists)
mkdir("/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/image//usr", 0777) = -1 EEXIST (File exists)
mkdir("/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/image//usr/bin", 0777) = -1 EEXIST (File exists)
brk(0) = 0x13c2000
brk(0x13e4000) = 0x13e4000
getcwd("/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/config", 4096) = 93
chdir("/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/image//usr/bin") = 0
getcwd("/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/image/usr/bin", 4096) = 80
chdir("/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/nspr-4.9/work/nspr-4.9/build/config") = 0
open("nspr-config", O_RDONLY) = 3
write(2, "../config/./native-nsinstall: ", 30../config/./native-nsinstall: ) = 30
write(2, "cannot access nspr-config", 25cannot access nspr-config) = 25
write(2, ": Invalid argument", 18: Invalid argument) = 18
write(2, "\n", 1
) = 1
exit_group(1) = ?

https://bugs.gentoo.org/show_bug.cgi?id=415705

"Эксперимент, авария, чтение документации" - нормальная последовательность действий сисадмина.

Смотри configure зависимости

Смотри configure зависимости, исправь ебилд

Working on Gentoo Linux for Asus P535 and Qtopia :-)

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".