Bug#845742: yade: FTBFS (error: unable to find numeric literal operator)

Santiago Vila sanvila at debian.org
Sat Nov 26 11:28:01 UTC 2016


Package: src:yade
Version: 2016.06a-5
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --builddirectory=/<<PKGBUILDDIR>>/debian/build --with python2
   dh_testdir -i -O--builddirectory=/<<PKGBUILDDIR>>/debian/build
   dh_update_autotools_config -i -O--builddirectory=/<<PKGBUILDDIR>>/debian/build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DruntimePREFIX="/usr" -DCMAKE_INSTALL_PREFIX="/usr" -DNOSUFFIX=ON -DLIBRARY_OUTPUT_PATH=lib/x86_64-linux-gnu -DUSE_QT5=ON -DENABLE_SPH=ON
	cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DruntimePREFIX=/usr -DCMAKE_INSTALL_PREFIX=/usr -DNOSUFFIX=ON -DLIBRARY_OUTPUT_PATH=lib/x86_64-linux-gnu -DUSE_QT5=ON -DENABLE_SPH=ON
-- The C compiler identification is GNU 6.2.0
-- The CXX compiler identification is GNU 6.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info

[... snipped ...]

                 from /usr/include/boost/math/special_functions/factorials.hpp:14,
                 from /usr/include/boost/math/special_functions/binomial.hpp:14,
                 from /usr/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:31,
                 from /usr/include/boost/numeric/odeint.hpp:45,
                 from /<<PKGBUILDDIR>>/pkg/dem/RungeKuttaCashKarp54Integrator.hpp:5,
                 from /<<PKGBUILDDIR>>/pkg/dem/RungeKuttaCashKarp54Integrator.cpp:2:
/usr/include/boost/math/special_functions/detail/erf_inv.hpp:361:92: error: unable to find numeric literal operator 'operator""Q'
                boost::math::erfc_inv(static_cast<T>(BOOST_MATH_BIG_CONSTANT(T, 64, 1e-800)), Policy());
                                                                                            ^~~~~~~
/usr/include/boost/math/special_functions/detail/erf_inv.hpp:361:92: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
In file included from /usr/include/boost/math/special_functions/erf.hpp:1149:0,
                 from /usr/include/boost/math/special_functions/gamma.hpp:2070,
                 from /usr/include/boost/math/special_functions/factorials.hpp:14,
                 from /usr/include/boost/math/special_functions/binomial.hpp:14,
                 from /usr/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:31,
                 from /usr/include/boost/numeric/odeint.hpp:45,
                 from /<<PKGBUILDDIR>>/pkg/dem/RungeKuttaCashKarp54Integrator.hpp:5,
                 from /<<PKGBUILDDIR>>/pkg/dem/RungeKuttaCashKarp54Integrator.cpp:2:
/usr/include/boost/math/special_functions/detail/erf_inv.hpp:362:88: error: unable to find numeric literal operator 'operator""Q'
             if(is_value_non_zero(static_cast<T>(BOOST_MATH_BIG_CONSTANT(T, 64, 1e-900))))
                                                                                        ^~     
/usr/include/boost/math/special_functions/detail/erf_inv.hpp:362:88: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
In file included from /usr/include/boost/math/special_functions/erf.hpp:1149:0,
                 from /usr/include/boost/math/special_functions/gamma.hpp:2070,
                 from /usr/include/boost/math/special_functions/factorials.hpp:14,
                 from /usr/include/boost/math/special_functions/binomial.hpp:14,
                 from /usr/include/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp:31,
                 from /usr/include/boost/numeric/odeint.hpp:45,
                 from /<<PKGBUILDDIR>>/pkg/dem/RungeKuttaCashKarp54Integrator.hpp:5,
                 from /<<PKGBUILDDIR>>/pkg/dem/RungeKuttaCashKarp54Integrator.cpp:2:
/usr/include/boost/math/special_functions/detail/erf_inv.hpp:363:92: error: unable to find numeric literal operator 'operator""Q'
                boost::math::erfc_inv(static_cast<T>(BOOST_MATH_BIG_CONSTANT(T, 64, 1e-900)), Policy());
                                                                                            ^~~~~~~
/usr/include/boost/math/special_functions/detail/erf_inv.hpp:363:92: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
CMakeFiles/yade.dir/build.make:2201: recipe for target 'CMakeFiles/yade.dir/pkg/dem/RungeKuttaCashKarp54Integrator.cpp.o' failed
make[3]: *** [CMakeFiles/yade.dir/pkg/dem/RungeKuttaCashKarp54Integrator.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
CMakeFiles/Makefile2:174: recipe for target 'CMakeFiles/yade.dir/all' failed
make[2]: *** [CMakeFiles/yade.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
Makefile:130: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
dh_auto_build: make -j1 returned exit code 2
debian/rules:7: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

This also happens here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/yade.html

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

Thanks.



More information about the debian-science-maintainers mailing list