Bug#1110520: jpeg-xl: FTBFS on riscv64: undefined reference to `__cxa_call_terminate'
Pranav P
pranav.p7 at ibm.com
Tue Aug 19 13:40:20 BST 2025
Hi,
I tried compiling with gcc-14 and ran tests on the salsa repository as well as on the latest github repo.
I was able to see the test case failures in salsa repo. But they all passed in the github repo.
So, looks like they have already fixed these failures.
The following was the way I compiled and ran the tests:
(clone the salsa/github repo and cd into it)
> git clone https://salsa.debian.org/debian-phototools-team/libjxl-testdata testdata # only required for salsa repo
> mkdir build && cd build
> cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON -GNinja -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g\+\+-14 -DBUILD_TESTING:BOOL=ON -DCMAKE_BUILD_RPATH_USE_ORIGIN=OFF -DJPEGXL_BUNDLE_SKCMS:BOOL=OFF -DJPEGXL_ENABLE_BENCHMARK:BOOL=ON -DJPEGXL_ENABLE_DEVTOOLS:BOOL=ON -DJPEGXL_ENABLE_DOXYGEN:BOOL=ON -DJPEGXL_ENABLE_EXAMPLES:BOOL=ON -DJPEGXL_ENABLE_JNI:BOOL=ON -DJPEGXL_ENABLE_OPENEXR:BOOL=ON -DJPEGXL_ENABLE_PLUGINS:BOOL=ON -DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF:BOOL=ON -DJPEGXL_ENABLE_PLUGIN_GIMP210:BOOL=OFF -DJPEGXL_ENABLE_PLUGIN_MIME:BOOL=OFF -DJPEGXL_ENABLE_SJPEG:BOOL=OFF -DJPEGXL_ENABLE_SKCMS:BOOL=OFF -DJPEGXL_ENABLE_TCMALLOC:BOOL=ON -DJPEGXL_FORCE_SYSTEM_BROTLI:BOOL=ON -DJPEGXL_FORCE_SYSTEM_GTEST:BOOL=ON -DJPEGXL_FORCE_SYSTEM_HWY:BOOL=ON -DJPEGXL_FORCE_SYSTEM_LCMS2:BOOL=ON
> cmake --build . -j$(nproc)
> ctest -j64
All the test cases in the upstream repo are passing while 20 test cases are failing in the salsa repo.
So, probably updating the package might fix the issue.
Thanks,
Pranav
More information about the Pkg-phototools-devel
mailing list