Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414473 - dev-lang/spidermonkey: fix cross-compiling issue
Summary: dev-lang/spidermonkey: fix cross-compiling issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords: InOverlay, PATCH
Depends on:
Blocks:
 
Reported: 2012-05-03 11:10 UTC by DaboD
Modified: 2012-05-07 15:38 UTC (History)
2 users (show)

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


Attachments
this patch fix cross-compiling issue (spidermonkey-1.8.5-cross-compiling.ebuild,2.73 KB, patch)
2012-05-03 11:10 UTC, DaboD
Details | Diff
remove garbage from prior patch file (spidermonkey-1.8.5-cross-compiling.ebuild,1.07 KB, patch)
2012-05-03 11:22 UTC, DaboD
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description DaboD 2012-05-03 11:10:00 UTC
Created attachment 310687 [details, diff]
this patch fix cross-compiling issue

Fixed build issue below

$ sudo emerge =spidermonkey-1.8.5-r1

...

/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5/js/src/config/nsinstall -R nsinstall ../dist/bin
/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5/js/src/config/nsinstall: /var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5/js/src/config/nsinstall: cannot execute binary file
make[2]: *** [export] Error 126
make[2]: Leaving directory `/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5/js/src/config'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5/js/src'
make: *** [default] Error 2
emake failed
 * ERROR: dev-lang/spidermonkey-1.8.5-r1 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 5367:  Called die
 * The specific snippet of code:
 *       emake || die
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/spidermonkey-1.8.5-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/spidermonkey-1.8.5-r1'.
 * The complete build log is located at '/opt/hec-mx53sf/debug/var/log/dev-lang:spidermonkey-1.8.5-r1:20120503-110707.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5'

>>> Failed to emerge dev-lang/spidermonkey-1.8.5-r1 for /opt/hec-mx53sf/debug/, Log file:

>>>  '/opt/hec-mx53sf/debug/var/log/dev-lang:spidermonkey-1.8.5-r1:20120503-110707.log'

 * Messages for package dev-lang/spidermonkey-1.8.5-r1 merged to /opt/hec-mx53sf/debug/:

 * ERROR: dev-lang/spidermonkey-1.8.5-r1 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 5367:  Called die
 * The specific snippet of code:
 *       emake || die
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/spidermonkey-1.8.5-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/spidermonkey-1.8.5-r1'.
 * The complete build log is located at '/opt/hec-mx53sf/debug/var/log/dev-lang:spidermonkey-1.8.5-r1:20120503-110707.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5'
Comment 1 DaboD 2012-05-03 11:22:43 UTC
Created attachment 310689 [details, diff]
remove garbage from prior patch file
Comment 2 Jory A. Pratt gentoo-dev 2012-05-07 15:38:10 UTC
Will more to tree a bit later this afternoon.