Package: src:libsvm
Version: 3.24+ds-6
Severity: minor
Tags: sid bookworm
User: [email protected]
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/libsvm_3.24+ds-6_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
- (c++)"ONE_CLASS_Q::~ONE_CLASS_Q()@Base" 3.21+ds
- (c++)"SVC_Q::get_Q(int, int) const@Base" 3.21+ds
- (c++)"SVC_Q::get_QD() const@Base" 3.21+ds
- (c++)"SVC_Q::swap_index(int, int) const@Base" 3.21+ds
- (c++)"SVC_Q::~SVC_Q()@Base" 3.21+ds
- (c++|optional)"SVR_Q::SVR_Q(svm_problem const&, svm_parameter const&)@Base" 
3.21+ds
- (c++)"SVR_Q::get_Q(int, int) const@Base" 3.21+ds
- (c++)"SVR_Q::get_QD() const@Base" 3.21+ds
- (c++)"SVR_Q::swap_index(int, int) const@Base" 3.21+ds
- (c++)"SVR_Q::~SVR_Q()@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"ONE_CLASS_Q::get_Q(int, int) const@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"ONE_CLASS_Q::get_QD() const@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"ONE_CLASS_Q::swap_index(int, int) const@Base" 
3.21+ds
+#MISSING: 3.24+ds-6# (c++)"ONE_CLASS_Q::~ONE_CLASS_Q()@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"SVC_Q::get_Q(int, int) const@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"SVC_Q::get_QD() const@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"SVC_Q::swap_index(int, int) const@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"SVC_Q::~SVC_Q()@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++|optional)"SVR_Q::SVR_Q(svm_problem const&, 
svm_parameter const&)@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"SVR_Q::get_Q(int, int) const@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"SVR_Q::get_QD() const@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"SVR_Q::swap_index(int, int) const@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"SVR_Q::~SVR_Q()@Base" 3.21+ds
  (c++)"Solver::Solve(int, QMatrix const&, double const*, signed char const*, 
double*, double, double, double, Solver::SolutionInfo*, int)@Base" 3.21+ds
  (c++)"Solver::be_shrunk(int, double, double)@Base" 3.21+ds
  (c++)"Solver::calculate_rho()@Base" 3.21+ds
@@ -36,12 +36,12 @@
  (c++)"Solver::reconstruct_gradient()@Base" 3.21+ds
  (c++)"Solver::select_working_set(int&, int&)@Base" 3.21+ds
  (c++)"Solver::swap_index(int, int)@Base" 3.21+ds
- (c++)"Solver::~Solver()@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"Solver::~Solver()@Base" 3.21+ds
  (c++)"Solver_NU::be_shrunk(int, double, double, double, double)@Base" 3.21+ds
  (c++)"Solver_NU::calculate_rho()@Base" 3.21+ds
  (c++)"Solver_NU::do_shrinking()@Base" 3.21+ds
  (c++)"Solver_NU::select_working_set(int&, int&)@Base" 3.21+ds
- (c++)"Solver_NU::~Solver_NU()@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"Solver_NU::~Solver_NU()@Base" 3.21+ds
  libsvm_version@Base 3.21+ds
  (c++)"read_model_header(_IO_FILE*, svm_model*)@Base" 3.21+ds
  svm_check_parameter@Base 3.21+ds
@@ -64,10 +64,10 @@
  svm_set_print_string_function@Base 3.21+ds
  svm_train@Base 3.21+ds
  (c++)"typeinfo for Kernel@Base" 3.21+ds
- (c++)"typeinfo for ONE_CLASS_Q@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"typeinfo for ONE_CLASS_Q@Base" 3.21+ds
  (c++)"typeinfo for QMatrix@Base" 3.21+ds
- (c++)"typeinfo for SVC_Q@Base" 3.21+ds
- (c++)"typeinfo for SVR_Q@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"typeinfo for SVC_Q@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"typeinfo for SVR_Q@Base" 3.21+ds
  (c++)"typeinfo for Solver@Base" 3.21+ds
  (c++)"typeinfo for Solver_NU@Base" 3.21+ds
  (c++)"typeinfo name for Kernel@Base" 3.21+ds
@@ -78,8 +78,8 @@
  (c++)"typeinfo name for Solver@Base" 3.21+ds
  (c++)"typeinfo name for Solver_NU@Base" 3.21+ds
  (c++)"vtable for Kernel@Base" 3.21+ds
- (c++)"vtable for ONE_CLASS_Q@Base" 3.21+ds
- (c++)"vtable for SVC_Q@Base" 3.21+ds
- (c++)"vtable for SVR_Q@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"vtable for ONE_CLASS_Q@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"vtable for SVC_Q@Base" 3.21+ds
+#MISSING: 3.24+ds-6# (c++)"vtable for SVR_Q@Base" 3.21+ds
  (c++)"vtable for Solver@Base" 3.21+ds
  (c++)"vtable for Solver_NU@Base" 3.21+ds
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:39: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to