Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788706 - media-gfx/librecad-2.1.3-r5 fails to build (error: no match for call to ‘({anonymous}::EllipseDistanceFunctor) (double)’)
Summary: media-gfx/librecad-2.1.3-r5 fails to build (error: no match for call to ‘({an...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://github.com/LibreCAD/LibreCAD/...
Whiteboard:
Keywords:
Depends on:
Blocks: boost-1.76
  Show dependency tree
 
Reported: 2021-05-07 10:05 UTC by Michael
Modified: 2021-05-09 19:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,868.33 KB, text/x-log)
2021-05-07 10:05 UTC, Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)