Summary: | media-libs/openimageio-1.7.17 - CMake Error at src/cmake/modules/FindOpenEXR.cmake:59 (string): string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to command. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tango <tango> |
Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bog, gentoobugs.pistos, israel.lugo, kutayboz, luke, tango |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 642288 | ||
Attachments: |
Emerge Info
openimageio-1.7.17+openexr-2.3.0-config.patch |
Description
Tango
2019-04-11 23:45:43 UTC
I have the same problem with openimageio-1.7.17, but 1.8.17 works fine. I have the exact same problem. Failing for me too with the same error message. Created attachment 572876 [details, diff]
openimageio-1.7.17+openexr-2.3.0-config.patch
I can confirm that media-libs/openimageio-1.7.17 doesn't build with media-libs/openexr-2.3.0.
For the latter, /usr/include/OpenEXR/OpenEXRConfig.h has been changed to a multilib wrapper, and openimageio's src/cmake/modules/FindOpenEXR.cmake doesn't find the version string it expects, leading to the error shown above.
The attached patch adds a pkgconfig check (taken from openimageio-1.8.17) to the cmake file to detect the version. Thus, the failing test is bypassed and the build succeeds.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aaca40c1636ae63b4fbe4fa04108f22607ae261 commit 3aaca40c1636ae63b4fbe4fa04108f22607ae261 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-04-21 17:18:12 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-04-21 18:21:40 +0000 media-libs/openimageio: Fix configure with openexr-2.3.0 Thanks-to: Alexander Miller <alex.miller@gmx.de> Closes: https://bugs.gentoo.org/683126 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/openimageio-1.7.17-openexr-2.3.0.patch | 51 ++++++++++++++++++++++ media-libs/openimageio/openimageio-1.7.17.ebuild | 1 + 2 files changed, 52 insertions(+) |