Summary: | sci-libs/cgnslib-4.3.0 fails to configure with >=sci-libs/hdf5-14 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nowa, sam, uleysky |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: |
https://github.com/HDFGroup/hdf5/issues/2422 https://github.com/HDFGroup/hdf5/issues/2621 https://github.com/HDFGroup/hdf5/pull/2667 https://bugs.gentoo.org/show_bug.cgi?id=904691 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
Fix hdf5 configuration parameters |
Description
Leonid Kopylov
2023-04-18 15:10:39 UTC
Created attachment 860325 [details]
build.log
-- Configuring done (2.0s) CMake Error in src/CMakeLists.txt: Imported target "hdf5::hdf5-shared" includes non-existent path "/var/tmp/portage/sci-libs/hdf5-1.14.0/work/hdf5-1.14.0/src/H5FDsubfiling" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/CMakeLists.txt: Imported target "hdf5::hdf5-shared" includes non-existent path "/var/tmp/portage/sci-libs/hdf5-1.14.0/work/hdf5-1.14.0/src/H5FDsubfiling" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. * ERROR: sci-libs/cgnslib-4.3.0::gentoo failed (configure phase): * cmake failed --- so hdf5 update's fault, I assume.. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=311e3fd6822338b4313af27521bc57451b8cecc0 commit 311e3fd6822338b4313af27521bc57451b8cecc0 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2023-04-18 15:49:28 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2023-04-18 15:49:28 +0000 sci-libs/cgnslib: restrict to hdf5<14 Bug: https://bugs.gentoo.org/904515 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sci-libs/cgnslib/{cgnslib-4.3.0.ebuild => cgnslib-4.3.0-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Created attachment 860432 [details, diff]
Fix hdf5 configuration parameters
The problem is in hdf5. I have attached a patch that fixes it.
(In reply to Larry the Git Cow from comment #3) > The bug has been referenced in the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=311e3fd6822338b4313af27521bc57451b8cecc0 > > commit 311e3fd6822338b4313af27521bc57451b8cecc0 > Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> > AuthorDate: 2023-04-18 15:49:28 +0000 > Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> > CommitDate: 2023-04-18 15:49:28 +0000 > > sci-libs/cgnslib: restrict to hdf5<14 > I don't think the problem is specific to cgnslib at all and I think hdf5 is broken, so it would've been better to just mask it. (In reply to Michael Uleysky from comment #4) > Created attachment 860432 [details, diff] [details, diff] > Fix hdf5 configuration parameters > > The problem is in hdf5. I have attached a patch that fixes it. Thanks. It's not yet clear to me why this works but I'll look more. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=995c8aefa871da5ad197b29b782ff9e2d1e46e83 commit 995c8aefa871da5ad197b29b782ff9e2d1e46e83 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-20 19:34:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-20 19:36:51 +0000 sci-libs/hdf5: fix installed CMake files (exclude temporary include dir for build) Closes: https://bugs.gentoo.org/904515 Closes: https://bugs.gentoo.org/904691 Signed-off-by: Sam James <sam@gentoo.org> .../hdf5/files/hdf5-1.14.0-fix-include-path.patch | 34 ++++++++++++++++++++++ .../{hdf5-1.14.0.ebuild => hdf5-1.14.0-r1.ebuild} | 1 + 2 files changed, 35 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20a01868e67f513af7a45c44ec9ceb53877863d2 commit 20a01868e67f513af7a45c44ec9ceb53877863d2 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-20 19:35:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-20 19:36:52 +0000 Revert "sci-libs/cgnslib: restrict to hdf5<14" This reverts commit 311e3fd6822338b4313af27521bc57451b8cecc0. Not needed anymore and a better solution would've been to mask newer hdf5 given it was broken, not cgnslib. Bug: https://bugs.gentoo.org/904515 Signed-off-by: Sam James <sam@gentoo.org> sci-libs/cgnslib/{cgnslib-4.3.0-r1.ebuild => cgnslib-4.3.0-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |