Created attachment 710994 [details] build.log.gz Hi! While cgal-5.2.1 formally builds fine, it doesn't build libCGAL library, which completely breaks everything which uses it (if library is not preserved, e.g. if this is a new build): $ qlist -e cgal | grep -i '/usr/lib.*libCGAL' [empty output] Excerpt from the build.log: >>> Compiling source in /var/tmp/portage/sci-mathematics/cgal-5.2.1/work/CGAL-5.2.1 ... * Working in BUILD_DIR: "/var/tmp/portage/sci-mathematics/cgal-5.2.1/work/cgal-5.2.1_build" ninja -v -j8 -l10 ninja: no work to do. >>> Source compiled. Obviously this is wrong.
Created attachment 710997 [details] emerge --info cgal
*** Bug 791694 has been marked as a duplicate of this bug. ***
*** Bug 790779 has been marked as a duplicate of this bug. ***
I suppose it’s: -DCGAL_HEADER_ONLY=ON. I wonder why it’s there?
https://github.com/gentoo/gentoo/pull/20509#discussion_r619079198
(In reply to Sam James from comment #5) > https://github.com/gentoo/gentoo/pull/20509#discussion_r619079198 Apparently we still need this library for backward compatibility with other packages.
I think the most reasonable solution will be to add USE flag to control whether library is needed or not. In Gentoo we should provide users the freedom of choose how to build package, not decide for them. Defaults may follow upstream, though, if maintainer feels this is right thing to do.
I had the impression this was working as planned. (In reply to Andrew Savchenko from comment #7) > I think the most reasonable solution will be to add USE flag to control > whether library is needed or not. In Gentoo we should provide users the > freedom of choose how to build package, not decide for them. Defaults may > follow upstream, though, if maintainer feels this is right thing to do. Sounds good to me. I should've done a reverse dep test.
USE=+shared has been introduced.