Created attachment 680467 [details] output Trying to emerge sci-mathematics/gfan-0.6.2 fails with: setoper.h: No such file or directory This seems to be related to the problem https://github.com/NixOS/nixpkgs/issues/100622. Applying the patch https://raw.githubusercontent.com/omasanori/nixpkgs/096ef947170de11130edaeeb29b7568b954b92d9/pkgs/applications/science/math/gfan/gfan-0.6.2-cddlib-prefix.patch and removing the -DNOCDDPREFIX from the ebuild seems to resolve the problem. I've attached my output when trying to emerge without this fix.
Can reproduce and the proposed solution appears to work.
The patch nix is fine and certainly should end up upstream now that a decision on the location of cddlib headers has been made. However, there is a simpler fix that will work with both cddlib 094j and 094m. Add `-I${EPREFIX}/usr/include/cddlib` to CXXFLAGS. Appending flags to CXXFLAGS can be removed once upstream has a new release.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a29bad46e9208e1ad584d66e27ae2bfafe2f7f2 commit 9a29bad46e9208e1ad584d66e27ae2bfafe2f7f2 Author: François Bissey <frp.bissey@gmail.com> AuthorDate: 2021-02-26 01:13:26 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2021-03-03 02:46:15 +0000 sci-mathematics/gfan: adapt to newer cddlib Package-Manager: Portage-3.0.13, Repoman-3.0.2 Closes: https://github.com/gentoo/gentoo/pull/19661 Bug: https://bugs.gentoo.org/show_bug.cgi?id=762817 Signed-off-by: François René Pierre Bissey <frp.bissey@gmail.com> Signed-off-by: Michael Orlitzky <mjo@gentoo.org> sci-mathematics/gfan/gfan-0.6.2-r1.ebuild | 67 +++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+)
This bug should be closed. However now that cddlib-0.94m-r1 is stable and the only version available, the new revision of gfan needs stabilizing too and the old should be dropped since it won't compile.
amd64 done
Unable to check for sanity: > no match for package: sci-mathematics/gfan-0.6.2-r1
All sanity-check issues have been resolved
I'll open a new stabilization bug for -r4 in a bit. Something changed with LaTeX and the doc build stopped working in earlier revisions anyway.