[Pkg-phototools-devel] Bug#1015566: openjph: ftbfs with LTO (link time optimization) enabled
Matthias Klose
doko at debian.org
Tue Jul 19 17:57:37 BST 2022
Package: src:openjph
Version: 0.8.2-5
Severity: minor
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-lto
This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled. For a background
for LTO please see
https://wiki.debian.org/ToolChain/LTO
The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures. The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.
To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:
export DEB_BUILD_MAINT_OPTIONS = optimize=+lto
Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:
export DEB_BUILD_MAINT_OPTIONS = optimize=-lto
or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.
The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/openjph_0.8.2-5_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
_ZN4ojph11j2c_outfile5flushEv at Base 0.8.2
_ZN4ojph11j2c_outfile5writeEPKvm at Base 0.8.2
- _ZN4ojph11j2c_outfileD0Ev at Base 0.8.2
- _ZN4ojph11j2c_outfileD1Ev at Base 0.8.2
- _ZN4ojph11j2c_outfileD2Ev at Base 0.8.2
+#MISSING: 0.8.2-5# _ZN4ojph11j2c_outfileD0Ev at Base 0.8.2
+#MISSING: 0.8.2-5# _ZN4ojph11j2c_outfileD1Ev at Base 0.8.2
+#MISSING: 0.8.2-5# _ZN4ojph11j2c_outfileD2Ev at Base 0.8.2
_ZN4ojph11local_errorE at Base 0.8.2
_ZN4ojph11mem_outfile4openEm at Base 0.8.2
- _ZN4ojph11mem_outfile4tellEv at Base 0.8.2
+#MISSING: 0.8.2-5# _ZN4ojph11mem_outfile4tellEv at Base 0.8.2
_ZN4ojph11mem_outfile5closeEv at Base 0.8.2
_ZN4ojph11mem_outfile5writeEPKvm at Base 0.8.2
_ZN4ojph11mem_outfileC1Ev at Base 0.8.2
@@ -59,8 +59,8 @@
_ZN4ojph11mem_outfileD2Ev at Base 0.8.2
_ZN4ojph12error_streamE at Base 0.8.2
_ZN4ojph12message_infoclEiPKciS2_z at Base 0.8.2
- _ZN4ojph12outfile_base5closeEv at Base 0.8.2
- _ZN4ojph12outfile_base5flushEv at Base 0.8.2
+#MISSING: 0.8.2-5# _ZN4ojph12outfile_base5closeEv at Base 0.8.2
+#MISSING: 0.8.2-5# _ZN4ojph12outfile_base5flushEv at Base 0.8.2
_ZN4ojph13cpu_ext_levelEv at Base 0.8.2
_ZN4ojph13message_errorclEiPKciS2_z at Base 0.8.2
_ZN4ojph14configure_infoEPNS_12message_infoE at Base 0.8.2
@@ -113,7 +113,7 @@
_ZN4ojph5local11rct_forwardE at Base 0.8.2
_ZN4ojph5local12ict_backwardE at Base 0.8.2
_ZN4ojph5local12rct_backwardE at Base 0.8.2
- _ZN4ojph5local12rev_read_mrpEPNS0_10rev_structE at Base 0.8.2
+#MISSING: 0.8.2-5# _ZN4ojph5local12rev_read_mrpEPNS0_10rev_structE at Base 0.8.2
_ZN4ojph5local13bit_write_buf6neededE at Base 0.8.2
_ZN4ojph5local15LIFTING_FACTORS1KE at Base 0.8.2
_ZN4ojph5local15LIFTING_FACTORS5K_invE at Base 0.8.2
@@ -124,7 +124,7 @@
_ZN4ojph5local15sse_ict_forwardEPKfS2_S2_PfS3_S3_j at Base 0.8.2
_ZN4ojph5local16avx2_rct_forwardEPKiS2_S2_PiS3_S3_j at Base 0.8.2
_ZN4ojph5local16avx_ict_backwardEPKfS2_S2_PfS3_S3_j at Base 0.8.2
- _ZN4ojph5local16decode_init_uvlcEjjPj at Base 0.8.2
+#MISSING: 0.8.2-5# _ZN4ojph5local16decode_init_uvlcEjjPj at Base 0.8.2
_ZN4ojph5local16gen_ict_backwardEPKfS2_S2_PfS3_S3_j at Base 0.8.2
_ZN4ojph5local16gen_rct_backwardEPKiS2_S2_PiS3_S3_j at Base 0.8.2
_ZN4ojph5local16sse2_rct_forwardEPKiS2_S2_PiS3_S3_j at Base 0.8.2
@@ -234,11 +234,11 @@
_ZN4ojph5local9codeblock8recreateERKNS_4sizeEPNS0_15coded_cb_headerE at Base 0.8.2
_ZN4ojph5local9codeblock9pre_allocEPNS0_10codestreamERKNS_4sizeE at Base 0.8.2
_ZN4ojph5local9codeblock9pull_lineEPNS_8line_bufE at Base 0.8.2
- _ZN4ojph5local9frwd_readILi0EEEvPNS0_11frwd_structE at Base 0.8.2
- _ZN4ojph5local9frwd_readILi255EEEvPNS0_11frwd_structE at Base 0.8.2
+#MISSING: 0.8.2-5# _ZN4ojph5local9frwd_readILi0EEEvPNS0_11frwd_structE at Base 0.8.2
+#MISSING: 0.8.2-5# _ZN4ojph5local9frwd_readILi255EEEvPNS0_11frwd_structE at Base 0.8.2
_ZN4ojph5local9param_cap4readEPNS_11infile_baseE at Base 0.8.2
_ZN4ojph5local9param_cap5writeEPNS_12outfile_baseE at Base 0.8.2
- _ZN4ojph5local9param_cod14check_validityERKNS0_9param_sizE at Base 0.8.2
+#MISSING: 0.8.2-5# _ZN4ojph5local9param_cod14check_validityERKNS0_9param_sizE at Base 0.8.2
_ZN4ojph5local9param_cod4readEPNS_11infile_baseE at Base 0.8.2
_ZN4ojph5local9param_cod5writeEPNS_12outfile_baseE at Base 0.8.2
_ZN4ojph5local9param_qcc4readEPNS_11infile_baseEj at Base 0.8.2
@@ -341,5 +341,5 @@
_ZTVN4ojph12message_infoE at Base 0.8.2
_ZTVN4ojph13message_errorE at Base 0.8.2
_ZTVN4ojph15message_warningE at Base 0.8.2
- _ZZN4ojph5local16decode_init_uvlcEjjPjE3dec at Base 0.8.2
- _ZZN4ojph5local19decode_noninit_uvlcEjjPjE3dec at Base 0.8.2
+#MISSING: 0.8.2-5# _ZZN4ojph5local16decode_init_uvlcEjjPjE3dec at Base 0.8.2
+#MISSING: 0.8.2-5# _ZZN4ojph5local19decode_noninit_uvlcEjjPjE3dec at Base 0.8.2
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-phototools-devel
mailing list