[Pkg-phototools-devel] Bug#975081: enblend-enfuse: FTBFS against boost_1.74
Anton Gladky
gladk at debian.org
Wed Nov 18 19:23:05 GMT 2020
Package: enblend-enfuse
Version: 4.2-6
Severity: important
Tags: ftbfs
User: team+boost at tracker.debian.org
Usertags: boost174
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Dear maintainer,
it was discovered that your package failed to build
against boost_1.74. Logs can be found here [1]. Most relevant
part is probably this:
=====================
../../src/minimizer.cc: In constructor ‘Minimizer::Minimizer(size_t)’:
../../src/minimizer.cc:29:53: error: ‘numeric_limits’ is not a member of ‘std’
29 | f_goal_(boost::none), absolute_error_(sqrt(std::numeric_limits<double>::epsilon()))
| ^~~~~~~~~~~~~~
../../src/minimizer.cc:29:68: error: expected primary-expression before ‘double’
29 | f_goal_(boost::none), absolute_error_(sqrt(std::numeric_limits<double>::epsilon()))
| ^~~~~~
../../src/minimizer.cc: In member function ‘Minimizer* Minimizer::set_absolute_error(double)’:
../../src/minimizer.cc:93:65: error: ‘numeric_limits’ is not a member of ‘std’
93 | absolute_error_ = std::max(an_absolute_error, sqrt(std::numeric_limits<double>::epsilon()));
| ^~~~~~~~~~~~~~
../../src/minimizer.cc:93:80: error: expected primary-expression before ‘double’
93 | absolute_error_ = std::max(an_absolute_error, sqrt(std::numeric_limits<double>::epsilon()));
| ^~~~~~
../../src/minimizer.cc: In member function ‘virtual double Minimizer::absolute_error() const’:
../../src/minimizer.cc:128:59: error: ‘numeric_limits’ is not a member of ‘std’
128 | return absolute_error_ ? *absolute_error_ : sqrt(std::numeric_limits<double>::epsilon());
| ^~~~~~~~~~~~~~
../../src/minimizer.cc:128:74: error: expected primary-expression before ‘double’
128 | return absolute_error_ ? *absolute_error_ : sqrt(std::numeric_limits<double>::epsilon());
| ^~~~~~
../../src/minimizer.cc: In constructor ‘MinimizerMultiDimensionNoDerivative::MinimizerMultiDimensionNoDerivative(const gsl_multimin_function&, const array_type&, const array_type&)’:
../../src/minimizer.cc:362:31: error: ‘numeric_limits’ is not a member of ‘std’
362 | characteristic_size_(std::numeric_limits<double>::max())
| ^~~~~~~~~~~~~~
../../src/minimizer.cc:362:46: error: expected primary-expression before ‘double’
362 | characteristic_size_(std::numeric_limits<double>::max())
| ^~~~~~
../../src/minimizer.cc: In constructor ‘MinimizerMultiDimensionNoDerivative::MinimizerMultiDimensionNoDerivative(const gsl_multimin_function&, const array_type&)’:
../../src/minimizer.cc:382:31: error: ‘numeric_limits’ is not a member of ‘std’
382 | characteristic_size_(std::numeric_limits<double>::max())
| ^~~~~~~~~~~~~~
../../src/minimizer.cc:382:46: error: expected primary-expression before ‘double’
382 | characteristic_size_(std::numeric_limits<double>::max())
=====================
The fix is trivial: adding #include <limits> in minimizer.cc
It is planned to push boost_1.74 as the default version in Debian/Bullseye.
[1] http://qa-logs.debian.net/2020/10/27-boost/boost/enblend-enfuse_4.2-6_unstable_boost.log
Best regards
Anton
- -- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.9.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAl+1dIsRHGdsYWRrQGRl
Ymlhbi5vcmcACgkQ0+Fzg8+n/wZ84g/+MfHQvTg6WiTn5cyTw2K466iCIE1znRl+
GtDd+d20gL71SJ2TILRgjvNKEBKmT83sKqjQgdWrJDwIXKxnoDUV6f/BgzdOi1Xi
hUhXy1AZGYkg70eKreJchYfAS1i1ibEeuJNLkGxr5qdE1WctHTQTz1RrIy1Y9L1F
ol/bwUgD+UqrMvcEWGF/PJlLcuI/P1jfNz7pbrbWbrcu4aYe3pC5Xq6tXh0wZ3YS
R2IaYsr1+tb2gZYOr7FVdU0wDvtgalXYt25UmPc+XDLSxvOCGWNYj7yiRWYyygot
kTsoZoKe5WE951Fif2Ohhc4KfNbFOiecz0+kfEqks1JTx0cHeMpuEp0nZl0W4Jr6
7OOD9vbm5eVlhfanRMdYYa4s6HuS4Kp1oxj7D0F0bP3QmI4jqbpRZFIud02LAh1a
E28fwDJe7SqPTjvHiC737fVsEVNeBxw9OJt475qOWpQwFqhyf9wDHBNMz5SwN85f
Nf29pwb2bstoKSnhgijRjryOWuslZZmc9/n6pQPU9Zmx1CLHs0RYbYaDbVc9IDds
sVcZVKw1haSvEEq1FKcjqy6GI16rfNq2l0n8uyLZXwSgUIwskpozYh9rTUucO/U4
Z79h5LIP7J/5d3taxAEhrFeUDwI48Xw0V1BWDWZVPcAk1xScsFK1ho0jNxDVAnO1
hTJDsZDeC8o=
=Qgit
-----END PGP SIGNATURE-----
More information about the Pkg-phototools-devel
mailing list