Summary: | sci-mathematics/cgal-{5.4.1,5.5} does not install the shared libs with USE="shared" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander, nowa, sam, sci-physics, tamiko |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt.bz2 environment etc.portage.tar.bz2 logs.tar.bz2 sci-physics:fastjet-3.0.6-r3:20220614-095837.log temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 784916 [details]
emerge-info.txt
Created attachment 784919 [details]
emerge-history.txt.bz2
Created attachment 784922 [details]
environment
Created attachment 784925 [details]
etc.portage.tar.bz2
Created attachment 784928 [details]
logs.tar.bz2
Created attachment 784931 [details]
sci-physics:fastjet-3.0.6-r3:20220614-095837.log
Created attachment 784934 [details]
temp.tar.bz2
not fixed by bug 791811 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03033a9c9ffc67e6722c715340e678efed3b0828 commit 03033a9c9ffc67e6722c715340e678efed3b0828 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2022-07-22 09:41:08 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2022-07-22 09:42:45 +0000 sci-physics/fastjet: depend on cgal<5.3 cgal versions newer then 5.2 do not install the shared libraries that this package looks for in the configure phase even with USE="shared" Bug: https://bugs.gentoo.org/851912 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sci-physics/fastjet/fastjet-3.0.6-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f63c083c1a08e065b311a042f1ee273e9c30eda9 commit f63c083c1a08e065b311a042f1ee273e9c30eda9 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2022-07-22 09:38:07 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2022-07-22 09:42:43 +0000 sci-physics/fastjet: add 3.4.0 Closes: https://github.com/gentoo/sci/pull/1158 Bug: https://bugs.gentoo.org/851912 Co-authored-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sci-physics/fastjet/Manifest | 1 + sci-physics/fastjet/fastjet-3.4.0.ebuild | 75 ++++++++++++++++++++++ .../fastjet/files/fastjet-3.4.0-gfortran.patch | 11 ++++ .../files/fastjet-3.4.0-system-siscone.patch | 75 ++++++++++++++++++++++ 4 files changed, 162 insertions(+) The root of the problem here is that cgal versions newer then 5.2 do not install the shared libs that fastjet looks for in the configure phase, even with USE="shared" enabled. CC'ing previous committers to the cgal package. For now I adjusted fastjet to depend on cgal-5.2, the only version it compiles with. (In reply to Andrew Ammerlaan from comment #10) > The root of the problem here is that cgal versions newer then 5.2 do not > install the shared libs that fastjet looks for in the configure phase, even > with USE="shared" enabled. CC'ing previous committers to the cgal package. Actually newer cgal versions seem to not ship any shared (or static) libraries at all any more. A quick glance at the build system suggests this as well. cgal is now a header only template library. Sam kindly enough removed the "shared" use flag for the latest version bump to 5.5 Thus, the sci-physics/fastjet build system will have to be modified to work with newer header-only cgal installations Thank you for looking into this.
Indeed, in the latest documentation of fastjet fastjet.fr/repo/fastjet-doc-3.4.0.pdf.
Page 58 has a footnote explaining this:
> Since version 4.9, CGAL can be used as a header-only library (this is the default from version 5.0 of CGAL).
> In this case, FastJet requires an installed version of CGAL as well as the --enable-cgal-header-only configure argument, see e.g. section 4 of the CGAL manual.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2d04b525de8e18083fd96d02b3ca700b1e64e76 commit b2d04b525de8e18083fd96d02b3ca700b1e64e76 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2022-07-22 20:36:21 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2022-07-22 20:37:50 +0000 sci-physics/fastjet: fix USE="cgal" with versions 5.4 and up Closes: https://bugs.gentoo.org/851912 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sci-physics/fastjet/fastjet-3.4.0-r1.ebuild | 77 +++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) Great, fixed! Replacing --enable-cgal with --enable-cgal-header-only was indeed the solution. Thanks for your help. |