Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688078 - sci-libs/libmed-4.0.0-r1 should depend on >=sci-libs/hdf5-1.10.2
Summary: sci-libs/libmed-4.0.0-r1 should depend on >=sci-libs/hdf5-1.10.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernd
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-06-14 19:30 UTC by Brian G.
Modified: 2019-06-15 20:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian G. 2019-06-14 19:30:09 UTC
I attempted to build sci-libs/libmed-4.0.0-r1 and it failed with a message in the configure phase indicating that libmed requires hdf5 1.10.2 or greater.  The libmed ebuild specifies '>=sci-libs/hdf5-1.10.0' in its DEPEND/RDEPEND, and I had version 1.10.1 installed.

After manually emerging =sci-libs/hdf5-1.10.5:0/1.10.5 the libmed build was successful.

I think that RDEPEND should be updated to match the 1.10.2 requirement of the configure script.

Obviously let me know if you need more information.

Snippet of failed libmed build.log follows:

===========================================================================

>>> Configuring source in /var/tmp/portage/sci-libs/libmed-4.0.0-r1/work/med-4.0.0 ...

... SNIP ...

-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Check for HDF5 ...
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libsz.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr
/lib64/libm.so (found version "1.10.1")
-- Found HDF5 version 1.10.1 -- parallel flag is set to
-- _versionComponents=1;10;1
-- HDF5_VERSION=1.10.1
CMake Error at config/cmake_files/medMacros.cmake:402 (MESSAGE):
  HDF5 version is 1.10.1.  Only versions >= 1.10.2 are supported.
Call Stack (most recent call first):
  CMakeLists.txt:104 (MED_FIND_HDF5)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/sci-libs/libmed-4.0.0-r1/work/libmed-4.0.0_build/CMakeFiles/CMakeOutput.l
og".
 * ERROR: sci-libs/libmed-4.0.0-r1::gentoo-portage failed (configure phase):
 *   cmake failed
Comment 1 Bernd 2019-06-14 21:03:10 UTC
Thanks for pointing this out. Didn't notice this when updating the ebuild, because I used 1.10.5 already.
Comment 2 Larry the Git Cow gentoo-dev 2019-06-15 20:56:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1558b15854bbcb2e95802294775b4880911793e3

commit 1558b15854bbcb2e95802294775b4880911793e3
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2019-06-14 21:05:38 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-06-15 20:55:08 +0000

    sci-libs/libmed: fix hdf5 dependency version
    
    Needs at least hdf5-1.10.2 as noted in configure.ac.
    
    Reported-by: Brian G. <gissf1@yahoo.com>
    Closes: https://bugs.gentoo.org/688078
    Package-Manager: Portage-2.3.67, Repoman-2.3.14
    Signed-off-by: Bernd Waibel <waebbl@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/12255
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-libs/libmed/libmed-4.0.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)