On the one hand, this is literally the only package in the tree depending on dev-lang/spidermonkey:68. On the other, at least on my system it has been trivial to bump this dependency to slot 78 - all I had to do to make libproxy build, test and install against it without any problems was change "mozjs-68" to "mozjs-78" in libproxy/cmake/modules/pacrunner_mozjs.cmk.
(In reply to Marek Szuba from comment #0) > this is literally the only package in the tree depending on > dev-lang/spidermonkey:68. To clarify: I meant that this is the only package depending EXCLUSIVELY on this slot. We have got some dev-libs/gjs and sys-auth/polkit ebuilds in the tree which depend on it as well but in either case, ebuilds for newer versions exist which use slot 78.
Could you send a patch upstream? By the way, this might be relevant to you (duktape support!) https://github.com/libproxy/libproxy/commit/bcde153760ee885d2c633994e78ac447f8ec0713
I tried to build against spidermonkey-78, however it doesn't work: FAILED: libproxy/CMakeFiles/libproxy.dir/modules/pacrunner_mozjs.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -D_POSIX_C_SOURCE=200112L -Dlibproxy_EXPORTS -DLIBEXECDIR=\"/usr/libexec\" -DMM_MODULE_BUILTIN=pacrunner_mozjs -I/var/tmp/porta ge/net-libs/libproxy-0.4.17/work/libproxy-0.4.17 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/nspr -I/usr/include/mozjs-78 -fvisibility =hidden -O2 -pipe -include /usr/include/mozjs-78/js/RequiredDefines.h -isystem /usr/include/mozjs-78 -I/usr/include/nspr -fPIC -MD -MT libproxy/CMakeFiles/libpr oxy.dir/modules/pacrunner_mozjs.cpp.o -MF libproxy/CMakeFiles/libproxy.dir/modules/pacrunner_mozjs.cpp.o.d -o libproxy/CMakeFiles/libproxy.dir/modules/pacrunner _mozjs.cpp.o -c /var/tmp/portage/net-libs/libproxy-0.4.17/work/libproxy-0.4.17/libproxy/modules/pacrunner_mozjs.cpp /var/tmp/portage/net-libs/libproxy-0.4.17/work/libproxy-0.4.17/libproxy/modules/pacrunner_mozjs.cpp: In member function 'virtual std::string mozjs_pacrunner::ru n(const libproxy::url&)': /var/tmp/portage/net-libs/libproxy-0.4.17/work/libproxy-0.4.17/libproxy/modules/pacrunner_mozjs.cpp:180:21: error: 'AutoValueArray' is not a member of 'JS'; did you mean 'ValueArray'? 180 | JS::AutoValueArray<2> args(this->jsctx); | ^~~~~~~~~~~~~~ | ValueArray /var/tmp/portage/net-libs/libproxy-0.4.17/work/libproxy-0.4.17/libproxy/modules/pacrunner_mozjs.cpp:180:39: error: 'args' was not declared in this scope 180 | JS::AutoValueArray<2> args(this->jsctx); | ^~~~
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10a0530ce687b5f01ae4b3dc2c831841dff77907 commit 10a0530ce687b5f01ae4b3dc2c831841dff77907 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-06-21 04:26:35 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-06-21 04:40:44 +0000 profiles: Mask USE=spidermonkey on >=net-libs/libproxy-0.4.18 Bug: https://bugs.gentoo.org/754954 Bug: https://bugs.gentoo.org/807772 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/base/package.use.mask | 5 +++++ 1 file changed, 5 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec23388563499d3a750850b6c3aa17246ac85ca1 commit ec23388563499d3a750850b6c3aa17246ac85ca1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-24 03:13:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-24 07:20:40 +0000 profiles/base: mask net-libs/libproxy[spidermonkey], depends on older SM Bug: https://bugs.gentoo.org/807772 Signed-off-by: Sam James <sam@gentoo.org> profiles/base/package.use.mask | 5 +++++ 1 file changed, 5 insertions(+)