Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377291 - =dev-lang/spidermonkey-1.8.2.15 does not install the /usr/bin/js interpreter
Summary: =dev-lang/spidermonkey-1.8.2.15 does not install the /usr/bin/js interpreter
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-08-01 15:36 UTC by Raphaël Droz
Modified: 2011-12-29 17:49 UTC (History)
5 users (show)

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


Attachments
qlist -e spidermonkey (qlist.spidermonkey.log,1.52 KB, text/plain)
2011-08-09 22:43 UTC, Raphaël Droz
Details
emerge log (emerge.log,85.09 KB, text/plain)
2011-08-22 08:25 UTC, Raphaël Droz
Details
emerge --info (emerge.info,5.10 KB, text/plain)
2011-08-22 08:26 UTC, Raphaël Droz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphaël Droz 2011-08-01 15:36:39 UTC
work/mozilla-1.9.2/js/src/js
is a symlink to
work/mozilla-1.9.2/js/src/shell/js
The 'js' binary is not installed by this ebuild, I didn't test it was the case in previous versions, but /usr/bin/js used to be installed by the previous version of
dev-lang/spidermonkey.

Reproducible: Always
Comment 1 Agostino Sarubbo gentoo-dev 2011-08-02 11:23:06 UTC
post also qlist -e spidermonkey
Comment 2 Raphaël Droz 2011-08-09 22:43:30 UTC
Created attachment 282769 [details]
qlist -e spidermonkey
Comment 3 Raphaël Droz 2011-08-22 08:25:39 UTC
Created attachment 284195 [details]
emerge log

I tried to re-emerge dev-lang/spidermonkey-1.8.2.15 today but still no /usr/bin/js installed ?
Am I alone ? did I miss a point ? can anyone reproduce ?
Comment 4 Raphaël Droz 2011-08-22 08:26:50 UTC
Created attachment 284197 [details]
emerge --info
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2011-09-28 17:51:35 UTC
This is true for both 1.8.2* and 1.8.5; a simple 'dobin shell/js ||die ' added to src_install() will take care of it.

At least one package in the tree (net-misc/plowshare) requires the js-shell.
Comment 6 Fabian Köster 2011-11-04 18:11:20 UTC
I can confirm that adding 'dobin shell/js ||die ' to src_install() works for dev-lang/spidermonkey-1.8.2.15 and I can use jsawk [1] with it.


[1] https://github.com/micha/jsawk
Comment 7 Jory A. Pratt gentoo-dev 2011-11-14 21:01:36 UTC
Thanks for reporting, bugs have been addressed if problem persists do not hesitate to reopen.
Comment 8 Joakim Tjernlund 2011-12-02 15:17:12 UTC
dev-lang/spidermonkey-1.8.2.15 still lacks 'dobin shell/js ||die '
Comment 9 Ian Stakenvicius (RETIRED) gentoo-dev 2011-12-02 15:36:14 UTC
We (mozilla herd) decided not to add it to that one, as if we did then we would have to revbump it and mark it ~arch -- in which case, there is no benefit since spidermonkey-1.8.5 (which is already ~arch) has been fixed to provide the js shell.

Is upgrading to spidemronkey-1.8.5 not an option for you?
Comment 10 Joakim Tjernlund 2011-12-05 12:32:23 UTC
We use the stable version and it broke after upgrading from 1.7

If you going to stabilize 1.8.5 any day now I suppose we
can wait a few days. Just need some stable version with a
working /usr/bin/js
Comment 11 Joakim Tjernlund 2011-12-29 14:58:41 UTC
Turns out that 1.8.5 does not work some js scripts.
Possibly because the script is buggy but I think it would
be a good idea to fix 1.8.2.15 to install the missing
file. Especially since 1.8.5 doesn't seem go stable any time soon.
Comment 12 Ian Stakenvicius (RETIRED) gentoo-dev 2011-12-29 17:49:56 UTC
a'ight.


+  29 Dec 2011; Ian Stakenvicius <axs@gentoo.org>
+  +spidermonkey-1.8.2.15-r1.ebuild:
+  Added js shell to spidermonkey-1.8.2.15, as per user request in bug 377291