Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 685080

Summary: www-client/elinks-9999 USE=javascript fails to include support for spidermonkey?
Product: Gentoo Linux Reporter: Dion Moult <dion>
Component: Current packagesAssignee: Felix Janda <felix.janda>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 731134    
Bug Blocks:    

Description Dion Moult 2019-05-05 05:50:28 UTC
www-client/elinks has a javascript useflag, which pulls in the spidermonkey dependency, which seems appropriate. However, even with the useflag enabled elinks-9999 is not compiled with javascript support. After looking at the older elinks version (-0.12*) ebuilds they seem to include code to handle javascript. Perhaps this is required for the live version?
Comment 1 Felix Janda 2019-05-06 13:55:22 UTC
Could you check that elinks-0.12_pre6-r4.ebuild also doesn't work, and
if so, upload a build log?
Comment 2 Dion Moult 2019-05-07 08:08:32 UTC
I have just checked and when I build elinks-0.12* with +javascript, it indeed recognises spidermonkey in the build output, and upon running, I indeed see the javascript options in the UI.

I don't quite know how to test javascript behavior on a website, of course :) I'm not even quite sure what subset of javascript it even support. A lot of javascript simply loses meaning in a terminal browser :) But hey, it compiles and I see hints of life!
Comment 3 Felix Janda 2019-05-07 15:56:57 UTC
Ok. Also how about elinks-0.13_pre_pre20180225?

If this does work, then how about trying to update elinks-9999 (there have been upstream changes recently).

In any case, you should probably direct this to https://github.com/rkd77/felinks .
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-29 14:56:02 UTC
Please attach the entire build log to this bug report.
Please post your `emerge --info www-client/elinks dev-lang/spidermonkey` output in a comment.
Comment 5 Felix Janda 2020-07-07 00:57:47 UTC
It seems that www-client/elinks[javascript] now depends on dev-lang/spidermonkey:17.
Comment 6 Larry the Git Cow gentoo-dev 2020-08-07 17:57:57 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d1f2a434037d6ec578b8b57fed7676ca446b6c0

commit 5d1f2a434037d6ec578b8b57fed7676ca446b6c0
Author:     Felix Janda <felix.janda@posteo.de>
AuthorDate: 2020-08-02 21:28:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-08-07 17:57:49 +0000

    www-client/elinks: USE=javascript needs dev-lang/spidermonkey:17
    
    Mask javascript use flag on arm64 and hppa due to missing keyword of
    dependency
    
    Bug: https://bugs.gentoo.org/685080
    Bug: https://bugs.gentoo.org/731134
    Signed-off-by: Felix Janda <felix.janda@posteo.de>
    Closes: https://github.com/gentoo/gentoo/pull/16604
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/arm64/package.use.mask   | 4 ++++
 profiles/arch/hppa/package.use.mask    | 4 ++++
 www-client/elinks/elinks-0.13.4.ebuild | 2 +-
 www-client/elinks/elinks-9999.ebuild   | 2 +-
 4 files changed, 10 insertions(+), 2 deletions(-)