checking whether C++ compiler accepts -frounding-math... yes checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... yes checking for main in -lCGAL... no checking CGAL... no configure: error: CGAL explicitly requested and not found or not functional !!! Please attach the following file when seeking support: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20220611-050004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-12.1.1 * clang/llvm (if any): /usr/lib/llvm/14 14.0.5 Python 3.9.13 Available Ruby profiles: (none found) Available Rust versions: [1] rust-1.61.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-11 [3] openjdk-bin-17 The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 915a0f90772b114cbf0e032ad21f7202c58674c6 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Jun 14 09:18:23 2022 +0000 2022-06-14 09:18:23 UTC emerge -qpvO sci-physics/fastjet [ebuild N ] sci-physics/fastjet-3.0.6-r3 USE="cgal plugins -doc -examples"
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.