CJS ported to mozjs78 in October 2020, and Cinnamon is still finishing their 5.6x releases/making cleanups.
Considering upstream uses Ubuntu Jammy, mozjs102 isn’t an option unless they are willing to build it for their main development target. I think Cjs should rebase for mozjs91, Especially if mozjs78 is EOL. > On Jan 18, 2023, at 1:59 PM, Jeremy Bicha <jeremy.bi...@canonical.com> wrote: > > Source: mozjs78 > Version: 78.15.0-6 > Severity: serious > Tags: ftbfs > Justification: fails to build from source (but built successfully in the past) > X-Debbugs-Cc: debian-...@lists.debian.org, c...@packages.debian.org > User: debian-...@lists.debian.org > Usertags: armel armhf > > mozjs78 fails to build on armhf & armel. > > I have little interest in working on this bug myself. I only stumbled > across this bug because I applied a build fix needed by Debian's > switch to Python 3.11. mozjs78 has been End of Life since October 2021 > and is only still in Debian because Cinnamon hasn't switched to > mozjs102 yet. > > By the way, 0ad has an embedded copy of mozjs78 and still builds on > armhf so maybe it includes a fix or a workaround for this build > failure. > > I'm pasting the end of the build log below, but the actual build error > may have been earlier in the log. > > /usr/bin/arm-linux-gnueabihf-g++ -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 > -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall > -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith > -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings > -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond > -Wimplicit-fallthrough -Wunused-function -Wunused-variable > -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations > -Wno-error=array-bounds -Wno-error=coverage-mismatch > -Wno-error=free-nonheap-object -Wno-multistatement-macros > -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat > -Wformat-overflow=2 -Wno-noexcept-type -fno-sized-deallocation > -fno-aligned-new -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -fno-rtti > -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno > -pthread -pipe -g -freorder-blocks -O3 -fomit-frame-pointer > -funwind-tables -fPIC -shared -Wl,-z,defs -Wl,--gc-sections > -Wl,-h,libmozjs-78.so -o libmozjs-78.so > /<<PKGBUILDDIR>>/debian/build/js/src/build/libmozjs-78_so.list > -lpthread -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro > -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 > -fstack-protector-strong > -Wl,-rpath-link,/<<PKGBUILDDIR>>/debian/build/dist/bin > -Wl,-rpath-link,/usr/lib > /<<PKGBUILDDIR>>/debian/build/armv7-unknown-linux-gnueabihf/release/libjsrust.a > -Wl,--version-script,symverscript -Wl,-soname,libmozjs-78.so.0 -lm > -lz -lm -ldl > /usr/bin/ld: > /<<PKGBUILDDIR>>/debian/build/js/src/build/../../../config/external/icu/common/rbbi.o: > in function `std::type_info::operator!=(std::type_info const&) const': > /usr/include/c++/12/typeinfo:115: undefined reference to > `std::type_info::operator==(std::type_info const&) const' > /usr/bin/ld: > /<<PKGBUILDDIR>>/debian/build/js/src/build/../../../config/external/icu/common/schriter.o: > in function `std::type_info::operator!=(std::type_info const&) const': > /usr/include/c++/12/typeinfo:115: undefined reference to > `std::type_info::operator==(std::type_info const&) const' > /usr/bin/ld: > /<<PKGBUILDDIR>>/debian/build/js/src/build/../../../config/external/icu/common/stringtriebuilder.o: > in function > `icu_67::StringTrieBuilder::Node::operator==(icu_67::StringTrieBuilder::Node > const&) const': > ./debian/build/config/external/icu/common/./intl/icu/source/common/stringtriebuilder.cpp:388: > undefined reference to `std::type_info::operator==(std::type_info > const&) const' > /usr/bin/ld: > ./debian/build/config/external/icu/common/./intl/icu/source/common/stringtriebuilder.cpp:388: > undefined reference to `std::type_info::operator==(std::type_info > const&) const' > /usr/bin/ld: > ./debian/build/config/external/icu/common/./intl/icu/source/common/stringtriebuilder.cpp:388: > undefined reference to `std::type_info::operator==(std::type_info > const&) const' > /usr/bin/ld: > /<<PKGBUILDDIR>>/debian/build/js/src/build/../../../config/external/icu/common/stringtriebuilder.o:./debian/build/config/external/icu/common/./intl/icu/source/common/stringtriebuilder.cpp:388: > more undefined references to > `std::type_info::operator==(std::type_info const&) const' follow > collect2: error: ld returned 1 exit status > make[4]: *** [/<<PKGBUILDDIR>>/config/rules.mk:608: libmozjs-78.so] Error 1 > make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/js/src/build' > make[3]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:74: > js/src/build/target] Error 2 > make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build' > make[2]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:34: compile] Error 2 > make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build' > make[1]: *** [/<<PKGBUILDDIR>>/config/rules.mk:392: default] Error 2 > make[1]: Leaving directory '/<<PKGBUILDDIR>>/debian/build' > dh_auto_build: error: cd debian/build && make -j8 returned exit code 2 > > > Thank you, > Jeremy Bicha