The ebuild thinks that opencascade-7.5.2 installs in /usr/{lib/include/..}/opencascade-7.5.2, but it seems that it installs in plain /usr/{lib/include/..}/opencascade/. I hand edited my ebuild to get rid of the special versioned case and it detects it and seems to build properly. Reproducible: Always
This is true, but any reason to not be on 6.x now?
I spoke too soon, it also fails to link. Reason to be on 5.x for me is I am working for a company that requires me to stay on 5 for a bit until we can migrate in a controlled fashion.
(In reply to David Flogeras from comment #2) > I spoke too soon, it also fails to link. > > Reason to be on 5.x for me is I am working for a company that requires me to > stay on 5 for a bit until we can migrate in a controlled fashion. OK, good excuse :) Please attach the log of it failing to link if you adjusted the ebuild (and how) so I know what not to try.
(In reply to Sam James from comment #3) > > OK, good excuse :) > > Please attach the log of it failing to link if you adjusted the ebuild (and > how) so I know what not to try. OK, after actually slowing down, I made it build _and_ link (my dumb). In the end, I _think_ the multiway if/else handling the occ 7.5.2, 7.5.1, and then 'anything older' can be boiled down to handling it one way (since 7.5.1 and older are no longer in tree, and following the 6.x ebuild). Attaching an ebuild patch for 5.1.12-r1.
Created attachment 764558 [details, diff] Proposed fix for 5.1.12-r1.ebuild
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed92943627a2995fd815d7ba7a383e2a85826150 commit ed92943627a2995fd815d7ba7a383e2a85826150 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-08 05:44:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-08 05:44:45 +0000 sci-electronics/kicad: fix finding opencascade Sync with logic in newer ebuilds to accommodate opencascade ebuild changes (slotting was abandoned). Closes: https://bugs.gentoo.org/832874 Thanks-to: David Flogeras <dflogeras2@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> ...icad-5.1.12-r1.ebuild => kicad-5.1.12-r2.ebuild} | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-)