Summary: | =sci-electronics/kicad-5.0.0-r1[-oce,occ] fails to find opencascade headers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bernd <waebbl-gentoo> |
Component: | Current packages | Assignee: | Zoltan Puskas <zoltan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kripton, proxy-maint, rossi.f |
Priority: | Normal | Keywords: | PATCH, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/10535 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
kicad-5.0.0-r1-occ.patch |
Created attachment 556888 [details]
kicad-5.0.0-r1-occ.patch
Patch to detect include directories for kicad-5.0.0-r1 using opencascade-7.3.0
This patch is needed because the opencascade ebuild changes its default path for include files. The standard solution for opencascade is to install files to /usr/lib64/opencascade-7.3.0/ros/lin/ while the ebuild shortens this base path to /usr/lib64/opencascade-7.3.0/ Additionally, the relative path ../inc is changed to ../include. As we are changing the default paths, i.e. some effort is already foreseen to fix things, why don't install the files in the proper places? E.g. the includes would go below: /usr/include/opencascade-${PV}/ Patched in kicad-5.0.1, as kicad-5.0.0 has some bugs too, I'm actually dropping it from tee in favour of 5.0.1. Finally, 5.1.0 has been released and I should be ready with the ebuilds for that shortly. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94e6bff5744cbe1ddf0bff4774dd10e018ac972b commit 94e6bff5744cbe1ddf0bff4774dd10e018ac972b Author: Zoltan Puskas <zoltan@sinustrom.info> AuthorDate: 2019-03-25 01:45:58 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-03-31 08:43:40 +0000 sci-electronics/kicad: Drop 5.0.0 Closes: https://bugs.gentoo.org/672348 Closes: https://bugs.gentoo.org/672350 Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Package-Manager: Portage-2.3.62, Repoman-2.3.12 Closes: https://github.com/gentoo/gentoo/pull/11486 Signed-off-by: Michał Górny <mgorny@gentoo.org> sci-electronics/kicad-footprints/Manifest | 1 - .../kicad-footprints/kicad-footprints-5.0.0.ebuild | 18 --- sci-electronics/kicad-i18n/Manifest | 1 - sci-electronics/kicad-i18n/kicad-i18n-5.0.0.ebuild | 18 --- sci-electronics/kicad-meta/kicad-meta-5.0.0.ebuild | 27 ----- sci-electronics/kicad-packages3d/Manifest | 1 - .../kicad-packages3d/kicad-packages3d-5.0.0.ebuild | 21 ---- sci-electronics/kicad-symbols/Manifest | 1 - .../kicad-symbols/kicad-symbols-5.0.0.ebuild | 18 --- sci-electronics/kicad-templates/Manifest | 1 - .../kicad-templates/kicad-templates-5.0.0.ebuild | 18 --- sci-electronics/kicad/Manifest | 1 - sci-electronics/kicad/kicad-5.0.0-r1.ebuild | 133 --------------------- 13 files changed, 259 deletions(-) |
Created attachment 556886 [details] emerge --info The ebuild fails to find the include directory for opencascade-7.3.0 *** OpenCascade header files missing *** Verify your OpenCascade installation or pass CMake the header directory as '-DOCC_INCLUDE_DIR=<path>' CMake Error at CMakeModules/FindOpenCASCADE.cmake:158 (message): Call Stack (most recent call first): CMakeLists.txt:638 (find_package) A simple patch in src_configure solves this issue.