[Debian-med-packaging] Bug#1015472: libatomic-queue: ftbfs with LTO (link time optimization) enabled

Matthias Klose doko at debian.org
Tue Jul 19 17:54:24 BST 2022


Package: src:libatomic-queue
Version: 0.0+git20211209.7db4cea-1
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/libatomic-queue_0.0+git20211209.7db4cea-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE12_M_assertionEv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE13_M_quantifierEv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE14_M_alternativeEv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE14_M_disjunctionEv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE16_M_cur_int_valueEi at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb0ELb0EEEbRSt4pairIbcERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb0ELb1EEEbRSt4pairIbcERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb1ELb0EEEbRSt4pairIbcERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb1ELb1EEEbRSt4pairIbcERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE21_M_bracket_expressionEv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE25_M_insert_bracket_matcherILb0ELb0EEEvb at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE25_M_insert_bracket_matcherILb0ELb1EEEvb at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE25_M_insert_bracket_matcherILb1ELb0EEEvb at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE25_M_insert_bracket_matcherILb1ELb1EEEvb at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE33_M_insert_character_class_matcherILb0ELb0EEEvv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE33_M_insert_character_class_matcherILb0ELb1EEEvv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE33_M_insert_character_class_matcherILb1ELb0EEEvv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE33_M_insert_character_class_matcherILb1ELb1EEEvv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE6_M_popEv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE7_M_atomEv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEEC1EPKcS6_RKSt6localeNSt15regex_constants18syntax_option_typeE at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEEC2EPKcS6_RKSt6localeNSt15regex_constants18syntax_option_typeE at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EE12_M_lookaheadEl at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EE16_M_rep_once_moreENSH_11_Match_modeEl at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EE6_M_dfsENSH_11_Match_modeEl at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EED1Ev at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EED2Ev at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb1EE12_M_lookaheadEl at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb1EE16_M_rep_once_moreENSH_11_Match_modeEl at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb1EE6_M_dfsENSH_11_Match_modeEl at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZNSt8__detail9_StateSeqINSt7__cxx1112regex_traitsIcEEE8_M_cloneEv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZSt13binary_searchIN9__gnu_cxx17__normal_iteratorIPKcSt6vectorIcSaIcEEEEcEbT_S8_RKT0_ at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZSt19__throw_regex_errorNSt15regex_constants10error_typeEPKc at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZSt4findIN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEES7_ET_SE_SE_RKT0_ at Base 0.0+git20201108.d9d66b6
  _ZTINSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb0EEE at Base 0.0+git20201007.df79403
  _ZTINSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb1EEE at Base 0.0+git20201007.df79403
  _ZTINSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb1ELb0EEE at Base 0.0+git20201007.df79403
@@ -198,7 +198,7 @@
  _ZTINSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EEE at Base 0.0+git20201007.df79403
  _ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
  _ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
- _ZTISt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZTISt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
  _ZTSNSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb0EEE at Base 0.0+git20201007.df79403
  _ZTSNSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb1EEE at Base 0.0+git20201007.df79403
  _ZTSNSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb1ELb0EEE at Base 0.0+git20201007.df79403
@@ -219,16 +219,16 @@
  _ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
  _ZTSSt19_Sp_make_shared_tag at Base 0.0+git20201007.df79403
  _ZTSSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
- _ZTVSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZTVSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
  _ZZNKSt7__cxx1112regex_traitsIcE16lookup_classnameIPKcEENS1_10_RegexMaskET_S6_bE12__classnames at Base 0.0+git20201007.df79403
  _ZZNKSt7__cxx1112regex_traitsIcE18lookup_collatenameIPKcEENS_12basic_stringIcSt11char_traitsIcESaIcEEET_SA_E14__collatenames at Base 0.0+git20201007.df79403
  _ZZNKSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb0EEclEcE5__nul at Base 0.0+git20201007.df79403
  _ZZNKSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb1EEclEcE5__nul at Base 0.0+git20201007.df79403
  _ZZNKSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb1ELb0EEclEcE5__nul at Base 0.0+git20201007.df79403
  _ZZNKSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb1ELb1EEclEcE5__nul at Base 0.0+git20201007.df79403
- _ZZNKSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb0ELb1EE8_M_applyEcSt17integral_constantIbLb0EEENKUlvE_clEv at Base 0.0+git20201007.df79403
- _ZZNKSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb0EE8_M_applyEcSt17integral_constantIbLb0EEENKUlvE_clEv at Base 0.0+git20201007.df79403
- _ZZNKSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EE8_M_applyEcSt17integral_constantIbLb0EEENKUlvE_clEv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZZNKSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb0ELb1EE8_M_applyEcSt17integral_constantIbLb0EEENKUlvE_clEv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZZNKSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb0EE8_M_applyEcSt17integral_constantIbLb0EEENKUlvE_clEv at Base 0.0+git20201007.df79403
+#MISSING: 0.0+git20211209.7db4cea-1# _ZZNKSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EE8_M_applyEcSt17integral_constantIbLb0EEENKUlvE_clEv at Base 0.0+git20201007.df79403
  _ZZNKSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EE10_M_is_wordEcE3__s at Base 0.0+git20201007.df79403
  _ZZNKSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb1EE10_M_is_wordEcE3__s at Base 0.0+git20201007.df79403
  _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag at Base 0.0+git20201007.df79403
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list