Summary: | media-libs/vigra[hdf5] with >=sci-libs/hdf5-1.12: hdf5impex.cxx: too few arguments to function H5Oget_info_by_name3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Karl-Johan Karlsson <creideiki+gentoo-bugzilla> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | atoth, b.buschinski, crabbedhaloablution, dschridde+gentoobugs, gentoo-bugs, gentoo, grozin, harrisl, hendrik, kripton, phobosk, sam, stefantalpalaru, zeekec |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/ukoethe/vigra/issues/476 | ||
Whiteboard: | Workaround applied | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 808733 | ||
Attachments: |
build.log for media-libs/vigra-1.11.1-r3 with sci-libs/hdf5-1.12.1
Patch for vigra ebuild to use older API |
Description
Karl-Johan Karlsson
2021-08-17 10:39:33 UTC
Created attachment 733525 [details]
build.log for media-libs/vigra-1.11.1-r3 with sci-libs/hdf5-1.12.1
HDF5 upstream describes the API break at https://portal.hdfgroup.org/display/HDF5/H5O_GET_INFO_BY_NAME . Created attachment 733607 [details, diff]
Patch for vigra ebuild to use older API
It was mentioned in the upstream bug report that setting the hdf5 API compatibility macros allows vigra to build using hdf5 1.12. The attached patch does this and makes vigra compile with hdf-1.12.1.
A working vigra-1.11.1-r4 is available in my overlay: https://github.com/stefantalpalaru/gentoo-overlay I used 'append-cppflags "-DH5_USE_110_API"' because defining CMAKE_C_FLAGS and CMAKE_CXX_FLAGS on the CMake command line overwrites the environment's CFLAGS and CXXFLAGS, respectively. (In reply to Ștefan Talpalaru from comment #4) > A working vigra-1.11.1-r4 is available in my overlay: > https://github.com/stefantalpalaru/gentoo-overlay > > I used 'append-cppflags "-DH5_USE_110_API"' because defining CMAKE_C_FLAGS > and CMAKE_CXX_FLAGS on the CMake command line overwrites the environment's > CFLAGS and CXXFLAGS, respectively. I confirm that this ebuild works. When will it be in the tree?? The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0ca3df14e110dba28d75a7023b423c79346b58b commit b0ca3df14e110dba28d75a7023b423c79346b58b Author: Sam James <sam@gentoo.org> AuthorDate: 2021-09-10 05:22:31 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-09-10 05:23:26 +0000 media-libs/vigra: add -DH5_USE_110_API workaround Bug: https://bugs.gentoo.org/808731 Signed-off-by: Sam James <sam@gentoo.org> media-libs/vigra/vigra-1.11.1-r3.ebuild | 6 +++++- media-libs/vigra/vigra-9999.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) |