Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 788706

Summary: media-gfx/librecad-2.1.3-r5 fails to build (error: no match for call to ‘({anonymous}::EllipseDistanceFunctor) (double)’)
Product: Gentoo Linux Reporter: Michael <voron1>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, voron1
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/LibreCAD/LibreCAD/issues/1342
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 763201    
Attachments: Build log

Description Michael 2021-05-07 10:05:47 UTC
Created attachment 706482 [details]
Build log

Fails with:

/usr/include/boost/math/tools/roots.hpp:675:86: error: no match for call to ‘({anonymous}::EllipseDistanceFunctor) (double)’
  675 | T halley_iterate(F f, T guess, T min, T max, int digits, boost::uintmax_t& max_iter) BOOST_NOEXCEPT_IF(policies::is_noexcept_error_policy<policies::policy<> >::value&& BOOST_MATH_IS_FLOAT(T) && noexcept(std::declval<F>()(std::declval<T>())))

The suspected culprit is newly upgraded boost-1.76.0
Build log attached.
Comment 1 Larry the Git Cow gentoo-dev 2021-05-09 19:12:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f26b020e95bf497d99a8398226cf08288f93909b

commit f26b020e95bf497d99a8398226cf08288f93909b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-05-09 18:38:38 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-05-09 19:12:11 +0000

    media-gfx/librecad: Fix build with >=dev-libs/boost-1.76
    
    Closes: https://bugs.gentoo.org/788706
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../librecad/files/librecad-2.1.3-boost-1.76.patch | 29 ++++++++++++++++++++++
 media-gfx/librecad/librecad-2.1.3-r5.ebuild        | 11 ++++----
 2 files changed, 35 insertions(+), 5 deletions(-)