Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920645 - sci-libs/symengine-0.11.1: fails to build against sci-mathematics/flint-3.0.1
Summary: sci-libs/symengine-0.11.1: fails to build against sci-mathematics/flint-3.0.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-24 06:27 UTC by Michał Górny
Modified: 2023-12-25 07:06 UTC (History)
1 user (show)

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


Attachments
sci-libs:symengine-0.11.1:20231224-060536.log (sci-libs:symengine-0.11.1:20231224-060536.log,263.49 KB, text/plain)
2023-12-24 06:27 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-12-24 06:27:58 UTC
Created attachment 880277 [details]
sci-libs:symengine-0.11.1:20231224-060536.log

/tmp/portage/sci-libs/symengine-0.11.1/work/symengine-0.11.1/symengine/flint_wrapper.h: In member function ‘SymEngine::fmpz_poly_wrapper SymEngine::fmpz_poly_wrapper::derivative() const’:
/tmp/portage/sci-libs/symengine-0.11.1/work/symengine-0.11.1/symengine/flint_wrapper.h:684:9: error: ‘fmpz_poly_derivative’ was not declared in this scope; did you mean ‘fmpq_poly_derivative’?
  684 |         fmpz_poly_derivative(*r.get_fmpz_poly_t(), poly);
      |         ^~~~~~~~~~~~~~~~~~~~
      |         fmpq_poly_derivative


and similar.  I think it may be a case of missing #include.
Comment 1 Larry the Git Cow gentoo-dev 2023-12-25 07:06:27 UTC
The bug has been closed via the following commit(s):

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

commit b9383d127d02605200977c760165bfb04552dbf5
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-12-25 07:00:16 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-12-25 07:06:24 +0000

    sci-libs/symengine: Backportfix flint-3 build fix
    
    Closes: https://bugs.gentoo.org/920645
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../symengine/files/symengine-0.11.1-flint-3.patch | 41 ++++++++++++++++++++++
 sci-libs/symengine/symengine-0.11.1.ebuild         |  2 ++
 2 files changed, 43 insertions(+)