If you remove the --disable-exec-static-tramp option from libffi's spec file (see proposed change LIBFFI34_static_trampolines) cjs's build fails in the testsuite phase. Reproducible: Always Steps to Reproduce: 1. Install a libffi with static trampolines (for example, https://copr.fedorainfracloud.org/coprs/djdelorie/libffi-3.4.4/build/5865818/) 2. rpm install cjs src.rpm 3. rpmbuild -ba cjs.spec Actual Results: about 2/3 of the tests fail Expected Results: all tests pass We noted that the gi/* implementation in cjs upstream is behind the equivalent gi/* in gjs upstream, and is missing at least two closure-related commits: 8e1c28156b32765b4f6b2e41007281ddb07ccdee gi: fix the usage of closure in CallbackIn::release bcf9feeb96678ec698d76c4f7cb1dbc465972ad5 gi: Use new GObject Introspection callable API The first looks very relevent but was not trivially apply-able to the cjs sources.
cjs will be rebased for 5.8.x release. https://github.com/linuxmint/cjs/pull/111
Noting that this is a dependency for the libffi static trampoline change request: https://fedoraproject.org/wiki/Changes/LIBFFI34_static_trampolines Thanks!
(In reply to DJ Delorie from comment #2) > Noting that this is a dependency for the libffi static trampoline change > request: > https://fedoraproject.org/wiki/Changes/LIBFFI34_static_trampolines > > Thanks! This fixes the build issue for now and switch to git snapshots once the required changes are merged. https://src.fedoraproject.org/rpms/cjs/c/28d5d2330edbcd0f312f7ad07e9588a850efd9b9?branch=rawhide
that works for me. Thanks!
F39 cjs is now built against mozjs102. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b57fd5b3bc
FEDORA-2023-27423db0aa has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-27423db0aa
FEDORA-2023-27423db0aa has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-27423db0aa` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-27423db0aa See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-27423db0aa has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.