The build of jpeg-xl against new libhighway (1.2.0-3ubuntu4) is failing
because of a failing test:

...
        4785 - test_jxl_jni_wrapper (Subprocess aborted)
Errors while running CTest
FAILED: CMakeFiles/test.util 
cd /<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu && /usr/bin/ctest 
--force-new-ctest-process
ninja: build stopped: subcommand failed.
dh_auto_test: error: cd obj-powerpc64le-linux-gnu && LC_ALL=C.UTF-8 
MESON_TESTTHREADS=4 ninja test returned exit code 1
make: *** [debian/rules:61: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2
...

(More details: https://launchpadlibrarian.net/822773814/buildlog_ubuntu-
questing-ppc64el.jpeg-xl_0.11.1-6_BUILDING.txt.gz)


This issue has been reported by @schopin to highway upstream and fixed for 
highway at the version 1.2.0-3ubuntu4 by forcing the use of gcc-14.
The root cause is not yet well understood and this can only be considered as a 
work-around for now.

To fix jpeg-xl, there are 2 work-arounds:

- force the baseline to power8 instead of power9 (using cflag : -cpu=power8)
  this is confirmed to fix the issue with the upload to the PPA:
  https://launchpad.net/~hectorcao/+archive/ubuntu/lp2121375-jpeg-xl-baseline

- forcing the use of GCC-14
  this is confirmed to fix the issue with the upload to the PPA:
  https://launchpad.net/~hectorcao/+archive/ubuntu/lp2121375-jpeg-xl-gcc14


I propose to go with the latter that would be the less worse solution and it is 
similar to the work-around done for lib highway.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2121375

Title:
  FTBFS with GCC 15.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/2121375/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to