Package: src:librecad
Version: 2.2.0.2-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202603/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:librecad, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean
rm -rf unix/
find . -name *.qm -delete
rm -rf debian/librecad.1 debian/librecad.desktop \
           debian/librecad.sharedmimeinfo debian/librecad.mime \
           debian/librecad.png debian/librecad.xpm debian/librecad.svg \
           plugins/intermediate \
           generated/ custom.pro
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary

[... snipped ...]

In file included from /usr/include/boost/math/tools/roots.hpp:14,
                 from lib/engine/rs_ellipse.cpp:49:
/usr/include/boost/math/tools/config.hpp:28:6: warning: #warning "Boost.Math 
requires C++14" [-Wcpp]
   28 | #    warning "Boost.Math requires C++14"
      |      ^~~~~~~
g++ -c -pipe -g -fext-numeric-literals -g -O2 -ffile-prefix- 
[too-long-redacted] tity.o lib/engine/rs_entity.cpp
In file included from lib/engine/rs_ellipse.cpp:33:
lib/gui/rs_graphicview.h:64:66: warning: ‘constexpr QFlags<T>::QFlags(Zero) 
[with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]’ 
is deprecated: Use default constructor instead [-Wdeprecated-declarations]
   64 |         RS_GraphicView(QWidget * parent = 0, Qt::WindowFlags f = 0);
      |                                                                  ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1307,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QColor:1,
                 from lib/engine/rs_color.h:32,
                 from lib/engine/rs_pen.h:32,
                 from lib/engine/rs_entity.h:34,
                 from lib/engine/rs_atomicentity.h:31,
                 from lib/engine/rs_ellipse.h:32,
                 from lib/engine/rs_ellipse.cpp:28:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here
  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR 
inline QFlags(Zero) noexcept : i(0) {}
      |                                                                         
       ^~~~~~
In file included from lib/engine/rs_entity.cpp:40:
lib/gui/rs_graphicview.h:64:66: warning: ‘constexpr QFlags<T>::QFlags(Zero) 
[with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]’ 
is deprecated: Use default constructor instead [-Wdeprecated-declarations]
   64 |         RS_GraphicView(QWidget * parent = 0, Qt::WindowFlags f = 0);
      |                                                                  ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1307,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpolygon.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPolygon:1,
                 from lib/engine/rs_entity.cpp:31:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here
  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR 
inline QFlags(Zero) noexcept : i(0) {}
      |                                                                         
       ^~~~~~
In file included from /usr/include/boost/math/tools/is_detected.hpp:11,
                 from /usr/include/boost/math/tools/complex.hpp:14,
                 from /usr/include/boost/math/tools/roots.hpp:15:
/usr/include/boost/math/tools/type_traits.hpp:206:12: error: ‘is_final’ has 
not been declared in ‘std’
  206 | using std::is_final;
      |            ^~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:257:12: error: ‘remove_cv_t’ 
has not been declared in ‘std’
  257 | using std::remove_cv_t;
      |            ^~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:259:12: error: 
‘remove_const_t’ has not been declared in ‘std’
  259 | using std::remove_const_t;
      |            ^~~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:261:12: error: 
‘remove_volatile_t’ has not been declared in ‘std’
  261 | using std::remove_volatile_t;
      |            ^~~~~~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:263:12: error: ‘add_cv_t’ has 
not been declared in ‘std’
  263 | using std::add_cv_t;
      |            ^~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:265:12: error: ‘add_const_t’ 
has not been declared in ‘std’
  265 | using std::add_const_t;
      |            ^~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:267:12: error: 
‘add_volatile_t’ has not been declared in ‘std’
  267 | using std::add_volatile_t;
      |            ^~~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:271:12: error: 
‘remove_reference_t’ has not been declared in ‘std’
  271 | using std::remove_reference_t;
      |            ^~~~~~~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:273:12: error: 
‘add_lvalue_reference_t’ has not been declared in ‘std’
  273 | using std::add_lvalue_reference_t;
      |            ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:275:12: error: 
‘add_rvalue_reference_t’ has not been declared in ‘std’
  275 | using std::add_rvalue_reference_t;
      |            ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:279:12: error: 
‘remove_pointer_t’ has not been declared in ‘std’
  279 | using std::remove_pointer_t;
      |            ^~~~~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:281:12: error: 
‘add_pointer_t’ has not been declared in ‘std’
  281 | using std::add_pointer_t;
      |            ^~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:285:12: error: 
‘make_signed_t’ has not been declared in ‘std’
  285 | using std::make_signed_t;
      |            ^~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:287:12: error: 
‘make_unsigned_t’ has not been declared in ‘std’
  287 | using std::make_unsigned_t;
      |            ^~~~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:291:12: error: 
‘remove_extent_t’ has not been declared in ‘std’
  291 | using std::remove_extent_t;
      |            ^~~~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:293:12: error: 
‘remove_all_extents_t’ has not been declared in ‘std’
  293 | using std::remove_all_extents_t;
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:297:12: error: ‘decay_t’ has 
not been declared in ‘std’
  297 | using std::decay_t;
      |            ^~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:299:12: error: ‘enable_if_t’ 
has not been declared in ‘std’
  299 | using std::enable_if_t;
      |            ^~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:301:12: error: 
‘conditional_t’ has not been declared in ‘std’
  301 | using std::conditional_t;
      |            ^~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:303:12: error: 
‘common_type_t’ has not been declared in ‘std’
  303 | using std::common_type_t;
      |            ^~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:305:12: error: 
‘underlying_type_t’ has not been declared in ‘std’
  305 | using std::underlying_type_t;
      |            ^~~~~~~~~~~~~~~~~
/usr/include/boost/math/tools/type_traits.hpp:397:60: error: ‘is_final’ is 
not a member of ‘boost::math’; did you mean ‘is_final_v’?
  397 | BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = 
boost::math::is_final<T>::value;
      |                                                            ^~~~~~~~
      |                                                            is_final_v
/usr/include/boost/math/tools/type_traits.hpp:397:70: error: expected 
primary-expression before ‘>’ token
  397 | BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = 
boost::math::is_final<T>::value;
      |                                                                      ^
/usr/include/boost/math/tools/type_traits.hpp:397:73: error: ‘::value’ has 
not been declared
  397 | BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = 
boost::math::is_final<T>::value;
      |                                                                         
^~~~~
In file included from /usr/include/boost/math/special_functions/math_fwd.hpp:28,
                 from /usr/include/boost/math/special_functions/sign.hpp:20,
                 from /usr/include/boost/math/tools/roots.hpp:20:
/usr/include/boost/math/tools/promotion.hpp:90:36: error: ‘common_type_t’ 
in namespace ‘boost::math’ does not name a template type; did you mean 
‘common_type’? [-Wtemplate-body]
   90 |          using type = boost::math::common_type_t<T1, T2, float>;
      |                                    ^~~~~~~~~~~~~
      |                                    common_type
In file included from /usr/include/boost/math/special_functions/math_fwd.hpp:31:
/usr/include/boost/math/policies/policy.hpp:945:90: error: 
‘remove_reference_t’ in namespace ‘boost::math’ does not name a 
template type; did you mean ‘remove_reference’? [-Wtemplate-body]
  945 |    static constexpr bool value = 
(sizeof(detail::test_is_policy(static_cast<boost::math::remove_reference_t<boost::math::remove_cv_t<P>>*>(nullptr)))
 == sizeof(char));
      |                                                                         
                 ^~~~~~~~~~~~~~~~~~
      |                                                                         
                 remove_reference
/usr/include/boost/math/policies/policy.hpp:945:108: error: expected ‘>’ 
before ‘<’ token [-Wtemplate-body]
  945 |    static constexpr bool value = 
(sizeof(detail::test_is_policy(static_cast<boost::math::remove_reference_t<boost::math::remove_cv_t<P>>*>(nullptr)))
 == sizeof(char));
      |                                                                         
                                   ^
/usr/include/boost/math/special_functions/math_fwd.hpp:639:61: error: 
‘boost::math::enable_if_t’ has not been declared; did you mean 
‘boost::math::enable_if’?
  639 |    template <class T1, class T2, class Policy, 
boost::math::enable_if_t<policies::is_policy_v<Policy>, bool> = true>
      |                                                             ^~~~~~~~~~~
/usr/include/boost/math/special_functions/math_fwd.hpp:639:72: error: expected 
‘>’ before ‘<’ token
  639 |    template <class T1, class T2, class Policy, 
boost::math::enable_if_t<policies::is_policy_v<Policy>, bool> = true>
      |                                                                        ^
/usr/include/boost/math/special_functions/math_fwd.hpp:643:57: error: 
‘boost::math::enable_if_t’ has not been declared; did you mean 
‘boost::math::enable_if’?
  643 |    template <class T1, class T2, class T3, 
boost::math::enable_if_t<!policies::is_policy_v<T3>, bool> = true>
      |                                                         ^~~~~~~~~~~
/usr/include/boost/math/special_functions/math_fwd.hpp:643:68: error: expected 
‘>’ before ‘<’ token
  643 |    template <class T1, class T2, class T3, 
boost::math::enable_if_t<!policies::is_policy_v<T3>, bool> = true>
      |                                                                    ^
In file included from /usr/include/boost/math/special_functions/next.hpp:22,
                 from /usr/include/boost/math/tools/roots.hpp:25:
/usr/include/boost/math/special_functions/trunc.hpp:324:44: error: 
‘enable_if_t’ in namespace ‘boost::math’ does not name a template type; 
did you mean ‘enable_if’?
  324 | BOOST_MATH_GPU_ENABLED inline 
boost::math::enable_if_t<boost::math::is_constructible_v<int, T>, int>
      |                                            ^~~~~~~~~~~
      |                                            enable_if
/usr/include/boost/math/special_functions/trunc.hpp:331:44: error: 
‘enable_if_t’ in namespace ‘boost::math’ does not name a template type; 
did you mean ‘enable_if’?
  331 | BOOST_MATH_GPU_ENABLED inline 
boost::math::enable_if_t<!boost::math::is_constructible_v<int, T>, int>
      |                                            ^~~~~~~~~~~
      |                                            enable_if
/usr/include/boost/math/special_functions/trunc.hpp:339:44: error: 
‘enable_if_t’ in namespace ‘boost::math’ does not name a template type; 
did you mean ‘enable_if’?
  339 | BOOST_MATH_GPU_ENABLED inline 
boost::math::enable_if_t<boost::math::is_constructible_v<long, T>, long>
      |                                            ^~~~~~~~~~~
      |                                            enable_if
/usr/include/boost/math/special_functions/trunc.hpp:346:44: error: 
‘enable_if_t’ in namespace ‘boost::math’ does not name a template type; 
did you mean ‘enable_if’?
  346 | BOOST_MATH_GPU_ENABLED inline 
boost::math::enable_if_t<!boost::math::is_constructible_v<long, T>, long>
      |                                            ^~~~~~~~~~~
      |                                            enable_if
/usr/include/boost/math/special_functions/trunc.hpp:354:44: error: 
‘enable_if_t’ in namespace ‘boost::math’ does not name a template type; 
did you mean ‘enable_if’?
  354 | BOOST_MATH_GPU_ENABLED inline 
boost::math::enable_if_t<boost::math::is_constructible_v<long long, T>, long 
long>
      |                                            ^~~~~~~~~~~
      |                                            enable_if
/usr/include/boost/math/special_functions/trunc.hpp:361:53: error: 
‘enable_if_t’ in namespace ‘boost::math’ does not name a template type; 
did you mean ‘enable_if’?
  361 | BOOST_MATH_GPU_ENABLED inline typename 
boost::math::enable_if_t<!boost::math::is_constructible_v<long long, T>, long 
long>
      |                                                     ^~~~~~~~~~~
      |                                                     enable_if
/usr/include/boost/math/special_functions/trunc.hpp:361:64: error: expected 
unqualified-id before ‘<’ token
  361 | BOOST_MATH_GPU_ENABLED inline typename 
boost::math::enable_if_t<!boost::math::is_constructible_v<long long, T>, long 
long>
      |                                                                ^
/usr/include/boost/math/special_functions/trunc.hpp:369:76: error: 
‘enable_if_t’ in namespace ‘boost::math’ does not name a template type; 
did you mean ‘enable_if’?
  369 | BOOST_MATH_GPU_ENABLED [[deprecated("Use llconvert")]] inline 
boost::math::enable_if_t<boost::math::is_constructible_v<long long, T>, long 
long>
      |                                                                         
   ^~~~~~~~~~~
      |                                                                         
   enable_if
/usr/include/boost/math/special_functions/trunc.hpp:376:85: error: 
‘enable_if_t’ in namespace ‘boost::math’ does not name a template type; 
did you mean ‘enable_if’?
  376 | BOOST_MATH_GPU_ENABLED [[deprecated("Use llconvert")]] inline typename 
boost::math::enable_if_t<!boost::math::is_constructible_v<long long, T>, long 
long>
      |                                                                         
            ^~~~~~~~~~~
      |                                                                         
            enable_if
/usr/include/boost/math/special_functions/trunc.hpp:376:96: error: expected 
unqualified-id before ‘<’ token
  376 | BOOST_MATH_GPU_ENABLED [[deprecated("Use llconvert")]] inline typename 
boost::math::enable_if_t<!boost::math::is_constructible_v<long long, T>, long 
long>
      |                                                                         
                       ^
In file included from 
/usr/include/boost/math/special_functions/ellint_rg.hpp:19,
                 from /usr/include/boost/math/special_functions/ellint_2.hpp:28,
                 from lib/engine/rs_ellipse.cpp:50:
/usr/include/boost/math/special_functions/pow.hpp:126:79: error: redeclaration 
‘constexpr typename boost::math::tools::promote_args<T2>::type 
boost::math::pow(T, const Policy&)’ differs in ‘constexpr’ from previous 
declaration
  126 | BOOST_MATH_GPU_ENABLED constexpr inline typename 
tools::promote_args<T>::type pow(T base, const Policy& policy)
      |                                                                         
      ^~~
/usr/include/boost/math/special_functions/math_fwd.hpp:1181:79: note: previous 
declaration ‘boost::math::tools::promote_args_t<T> boost::math::pow(T, const 
Policy&)’
 1181 |    BOOST_MATH_GPU_ENABLED BOOST_MATH_CXX14_CONSTEXPR 
tools::promote_args_t<T> pow(T base, const Policy& policy);
      |                                                                         
      ^~~
/usr/include/boost/math/special_functions/pow.hpp:133:79: error: redeclaration 
‘constexpr typename boost::math::tools::promote_args<T2>::type 
boost::math::pow(T)’ differs in ‘constexpr’ from previous declaration
  133 | BOOST_MATH_GPU_ENABLED constexpr inline typename 
tools::promote_args<T>::type pow(T base)
      |                                                                         
      ^~~
/usr/include/boost/math/special_functions/math_fwd.hpp:1184:79: note: previous 
declaration ‘boost::math::tools::promote_args_t<T> boost::math::pow(T)’
 1184 |    BOOST_MATH_GPU_ENABLED BOOST_MATH_CXX14_CONSTEXPR 
tools::promote_args_t<T> pow(T base);
      |                                                                         
      ^~~
/usr/include/boost/math/tools/promotion.hpp: In instantiation of ‘struct 
boost::math::tools::promote_args_permissive<double, double>’:
/usr/include/boost/math/tools/promotion.hpp:119:16:   required from ‘struct 
boost::math::tools::promote_args<double, double>’
  119 |          using type = typename promote_args_permissive<Args...>::type;
      |                ^~~~
/usr/include/boost/math/tools/promotion.hpp:129:13:   required by substitution 
of ‘template<class ... Args> using boost::math::tools::promote_args_t = 
typename boost::math::tools::promote_args::type [with Args = {double, 
double}]’
  129 |       using promote_args_t = typename promote_args<Args...>::type;
      |             ^~~~~~~~~~~~~~
/usr/include/boost/math/special_functions/next.hpp:702:42:   required by 
substitution of ‘template<class T, class U> 
boost::math::tools::promote_args_t<RT1, RT2> boost::math::float_distance(const 
T&, const U&) [with T = double; U = double]’
  702 | typename tools::promote_args<T, U>::type float_distance(const T& a, 
const U& b)
      |                                          ^~~~~~~~~~~~~~
/usr/include/boost/math/tools/roots.hpp:677:39:   required from ‘T 
boost::math::tools::detail::second_order_root_finder(F, T, T, T, int, 
uintmax_t&) [with Stepper = halley_step; F = 
{anonymous}::EllipseDistanceFunctor; T = double; uintmax_t = long unsigned 
int]’
  677 |                if (fabs(float_distance(min, max)) < 2)
      |                         ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/boost/math/tools/roots.hpp:755:64:   required from ‘T 
boost::math::tools::halley_iterate(F, T, T, T, int, uintmax_t&) [with F = 
{anonymous}::EllipseDistanceFunctor; T = double; uintmax_t = long unsigned 
int]’
  755 |    return detail::second_order_root_finder<detail::halley_step>(f, 
guess, min, max, digits, max_iter);
      |           
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/math/tools/roots.hpp:762:25:   required from ‘T 
boost::math::tools::halley_iterate(F, T, T, T, int) [with F = 
{anonymous}::EllipseDistanceFunctor; T = double]’
  762 |    return halley_iterate(f, guess, min, max, digits, m);
      |           ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/engine/rs_ellipse.cpp:135:49:   required from here
  135 |                         halley_iterate<EllipseDistanceFunctor,double>(X,
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  136 |                                                                         
                                          guess,
      |                                                                         
                                          ~~~~~~
  137 |                                                                         
                                          x1,
      |                                                                         
                                          ~~~
  138 |                                                                         
                                          x1 + 2 * M_PI - RS_TOLERANCE_ANGLE,
      |                                                                         
                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139 |                                                                         
                                          digits);
      |                                                                         
                                          ~~~~~~~
/usr/include/boost/math/tools/promotion.hpp:105:16: error: no type named 
‘type’ in ‘struct 
boost::math::tools::pa2_integral_already_removed<double, double, true>’
  105 |          using type = typename pa2_integral_already_removed<
      |                ^~~~
/usr/include/boost/math/tools/roots.hpp: In instantiation of ‘T 
boost::math::tools::detail::second_order_root_finder(F, T, T, T, int, 
uintmax_t&) [with Stepper = halley_step; F = 
{anonymous}::EllipseDistanceFunctor; T = double; uintmax_t = long unsigned 
int]’:
/usr/include/boost/math/tools/roots.hpp:755:64:   required from ‘T 
boost::math::tools::halley_iterate(F, T, T, T, int, uintmax_t&) [with F = 
{anonymous}::EllipseDistanceFunctor; T = double; uintmax_t = long unsigned 
int]’
  755 |    return detail::second_order_root_finder<detail::halley_step>(f, 
guess, min, max, digits, max_iter);
      |           
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/math/tools/roots.hpp:762:25:   required from ‘T 
boost::math::tools::halley_iterate(F, T, T, T, int) [with F = 
{anonymous}::EllipseDistanceFunctor; T = double]’
  762 |    return halley_iterate(f, guess, min, max, digits, m);
      |           ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/engine/rs_ellipse.cpp:135:49:   required from here
  135 |                         halley_iterate<EllipseDistanceFunctor,double>(X,
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  136 |                                                                         
                                          guess,
      |                                                                         
                                          ~~~~~~
  137 |                                                                         
                                          x1,
      |                                                                         
                                          ~~~
  138 |                                                                         
                                          x1 + 2 * M_PI - RS_TOLERANCE_ANGLE,
      |                                                                         
                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139 |                                                                         
                                          digits);
      |                                                                         
                                          ~~~~~~~
/usr/include/boost/math/tools/roots.hpp:677:39: error: no matching function for 
call to ‘float_distance(double&, double&)’
  677 |                if (fabs(float_distance(min, max)) < 2)
      |                         ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/boost/math/tools/roots.hpp:677:39: note: there are 2 candidates
/usr/include/boost/math/special_functions/next.hpp:668:49: note: candidate 1: 
‘template<class T, class U, class Policy> 
boost::math::tools::promote_args_t<RT1, RT2> boost::math::float_distance(const 
T&, const U&, const Policy&)’
  668 | inline typename tools::promote_args<T, U>::type float_distance(const T& 
a, const U& b, const Policy& pol)
      |                                                 ^~~~~~~~~~~~~~
/usr/include/boost/math/special_functions/next.hpp:668:49: note: candidate 
expects 3 arguments, 2 provided
/usr/include/boost/math/special_functions/next.hpp:702:42: note: candidate 2: 
‘template<class T, class U> boost::math::tools::promote_args_t<RT1, RT2> 
boost::math::float_distance(const T&, const U&)’
  702 | typename tools::promote_args<T, U>::type float_distance(const T& a, 
const U& b)
      |                                          ^~~~~~~~~~~~~~
/usr/include/boost/math/special_functions/next.hpp:702:42: note: substitution 
of deduced template arguments resulted in errors seen above
/usr/include/boost/math/tools/roots.hpp:707:39: error: no matching function for 
call to ‘float_distance(double&, double&)’
  707 |                if (fabs(float_distance(min, max)) < 2)
      |                         ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/boost/math/tools/roots.hpp:707:39: note: there are 2 candidates
/usr/include/boost/math/special_functions/next.hpp:668:49: note: candidate 1: 
‘template<class T, class U, class Policy> 
boost::math::tools::promote_args_t<RT1, RT2> boost::math::float_distance(const 
T&, const U&, const Policy&)’
  668 | inline typename tools::promote_args<T, U>::type float_distance(const T& 
a, const U& b, const Policy& pol)
      |                                                 ^~~~~~~~~~~~~~
/usr/include/boost/math/special_functions/next.hpp:668:49: note: candidate 
expects 3 arguments, 2 provided
/usr/include/boost/math/special_functions/next.hpp:702:42: note: candidate 2: 
‘template<class T, class U> boost::math::tools::promote_args_t<RT1, RT2> 
boost::math::float_distance(const T&, const U&)’
  702 | typename tools::promote_args<T, U>::type float_distance(const T& a, 
const U& b)
      |                                          ^~~~~~~~~~~~~~
/usr/include/boost/math/special_functions/next.hpp:702:42: note: template 
argument deduction/substitution failed:
make[3]: *** [Makefile:5746: ../../generated/librecad/obj/rs_ellipse.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/librecad/src'
make[2]: *** [Makefile:47: sub-src-make_first] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/librecad'
make[1]: *** [Makefile:93: sub-librecad-make_first-ordered] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to