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?
Could you check that elinks-0.12_pre6-r4.ebuild also doesn't work, and if so, upload a build log?
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!
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 .
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.
It seems that www-client/elinks[javascript] now depends on dev-lang/spidermonkey:17.
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(-)