Summary: | media-gfx/openvdb-4.0.2-r3: fails tests with newer dev-libs/c-blosc (/TestFile.cc:2669:54: error: invalid conversion from ‘char**’ to ‘const char**’ ...) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Adrian <agrigo2001> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mgorny, proxy-maint, sci |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/17154 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 734030 | ||
Attachments: | build.log |
Description
Sam James
2020-07-27 14:34:25 UTC
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdb48fb7dff718b541d13aefafdf53d5cd4fccbc commit cdb48fb7dff718b541d13aefafdf53d5cd4fccbc Author: Adrian Grigo <agrigo2001@yahoo.com.au> AuthorDate: 2020-08-18 02:36:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-08-24 13:41:49 +0000 media-gfx/openvdb: Fix build failure with newer c-blosc and doc The c-blosc 1.19 function blosc_compcode_to_compname now expects a const char** rather than char**. This patch uses const_cast to fix the compiler error. When building with doc USE flag enabled, the doc target is not built by default and the missing docs cause an install failure. This patch ensures that when the doc target is defined, it will be built. With these two patches, openvdb builds with all USE flags enabled. Signed-off-by: Adrian Grigo <agrigo2001@yahoo.com.au> Closes: https://bugs.gentoo.org/734102 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/openvdb/files/openvdb-4.0.2-fix-build-docs.patch | 12 ++++++++++++ .../openvdb-4.0.2-fix-const-correctness-for-unittest.patch | 12 ++++++++++++ media-gfx/openvdb/openvdb-4.0.2-r3.ebuild | 6 ++++-- media-gfx/openvdb/openvdb-5.2.0-r1.ebuild | 4 ++-- 4 files changed, 30 insertions(+), 4 deletions(-) |