Bug#1099885: jpeg-xl: FTBFS due to undefined reference when linking tests

Julian Wollrath jwollrath at web.de
Sun Mar 9 11:03:08 GMT 2025


Source: jpeg-xl
Version: 0.11.1-1
Severity: normal
Tags: ftbfs

Dear Maintainer,

the package in experimental fails to build (see e.g.
https://buildd.debian.org/status/fetch.php?pkg=jpeg-xl&arch=i386&ver=0.11.1-1&stamp=1739052249&raw=0).
While I it is probably not the best way to fix it, not enabling LTO
makes it build for me.


Best regards,
Julian

--- jpeg-xl-0.11.1/debian/rules	2025-02-06 18:42:30.000000000
+0100 +++ jpeg-xl-0.11.1_fixed/debian/rules	2025-03-09
12:00:42.249586914 +0100 @@ -7,7 +7,7 @@ ifeq
($(DEB_HOST_ARCH),$(filter $(DEB_HO export CC=gcc-13
   export CXX=g++-13
 endif
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all

 # keep same order as
 https://buildd.debian.org/status/package.php?p=google-perftools&suite=sid
 # purposely remove i386 for Ubuntu compat



--
 ()  ascii ribbon campaign - against html e-mail
 /\                        - against proprietary attachments



More information about the Pkg-phototools-devel mailing list