Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789705 - media-gfx/freecad-0.19.2 with opencascade 7.4.0: Could NOT find OCC (missing: OCC_INCLUDE_DIR)
Summary: media-gfx/freecad-0.19.2 with opencascade 7.4.0: Could NOT find OCC (missing:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernd
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-05-12 16:08 UTC by xiaojie+bugzillagentoo
Modified: 2021-05-31 19:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,13.46 KB, text/plain)
2021-05-12 16:09 UTC, xiaojie+bugzillagentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xiaojie+bugzillagentoo 2021-05-12 16:08:31 UTC
Freecad-0.19.1 compiles and runs ok. 
Freecad-0.19.2 fails to compile because it does not find opencascade 7.4 (which is installed).

If we copy/rename the 0.19.1 ebuild (and remove one patchfile from the list), freecad-0.19.2 compiles and runs ok.

It looks somehow like bug #788274, but with OpenCascade 7.4

Reproducible: Always

Actual Results:  
Should configure/compile

Expected Results:  
Configure fails
Comment 1 xiaojie+bugzillagentoo 2021-05-12 16:09:31 UTC
Created attachment 707634 [details]
Build log
Comment 2 Bernd 2021-05-12 17:28:13 UTC
There seems to be a typo for the opencascade-7.4.0 branch: Could NOT find OCC (missing: OCC_INCLUDE_DIR), but the line reads -DOCC_INCLUDEDIR

Thanks for reporting this.
Comment 3 Larry the Git Cow gentoo-dev 2021-05-31 19:26:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b83b3eaf0c8423672624c1cb06cc0ff5bc4aa360

commit b83b3eaf0c8423672624c1cb06cc0ff5bc4aa360
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2021-05-18 18:40:01 +0000
Commit:     Alexey Shvetsov <alexxy@gentoo.org>
CommitDate: 2021-05-31 19:26:02 +0000

    media-gfx/freecad: fix opencascade issue
    
    Fix an issue with sci-libs/opencascade:7.4.0, where a wrong options
    has been passed to cmake.
    Additionally improves testing which version of opencascade has been
    installed and adds some guards to select correct options.
    
    Closes: https://bugs.gentoo.org/789705
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

 media-gfx/freecad/freecad-0.19.2.ebuild | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)