Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640220 - sci-libs/hdf5-1.10.1 fails to configure with USE="threads": The thread-safe library is incompatible with the high-level library
Summary: sci-libs/hdf5-1.10.1 fails to configure with USE="threads": The thread-safe l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-07 22:16 UTC by Nikolaj Šujskij
Modified: 2017-12-19 07:16 UTC (History)
1 user (show)

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


Attachments
hdf5-1.10.1 config.log (config.log,161.26 KB, text/x-log)
2017-12-07 22:18 UTC, Nikolaj Šujskij
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaj Šujskij 2017-12-07 22:16:41 UTC
Here's config.log excerpt:

checking for szlib... suppressed
checking for thread safe support... configure: error: The thread-safe library is incompatible with the high-level library. --disable-hl can be used to prevent building the high-level library (recommended). Alternatively, --enable-unsupported will allow building the high-level library, though this configuration is not supported by The HDF Group.

sci-libs/hdf5-1.8.18 has mutually exclusive USE-flags "threads" and "hl".  1.10.1 has only the first one:

 % emerge -pqv hdf5
[ebuild   R   ] sci-libs/hdf5-1.10.1  USE="threads* zlib -cxx -debug -examples -fortran -mpi -static-libs -szip (-fortran2003%)" 

See also bug 594560.
Comment 1 Nikolaj Šujskij 2017-12-07 22:18:27 UTC
Created attachment 508760 [details]
hdf5-1.10.1 config.log
Comment 2 Larry the Git Cow gentoo-dev 2017-12-11 06:06:36 UTC
The bug has been closed via the following commit(s):

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

commit f86102f0cd7d458906386fc0b10ef4de792722a0
Author:     Benda Xu <heroxbd@gentoo.org>
AuthorDate: 2017-12-11 05:38:57 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2017-12-11 06:06:27 +0000

    sci-libs/hdf5: Add back hl USE flag and conditions.
    
    Suggested-by: Nikolaj Šujskij <skrattaren@yandex.ru>
    Closes: https://bugs.gentoo.org/640220
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sci-libs/hdf5/hdf5-1.10.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Nikolaj Šujskij 2017-12-11 07:44:25 UTC
Bringing back USE-flag is great, but without `$(use_enable hl)` in `src_configure` it doesn't do much.
Comment 4 Nikolaj Šujskij 2017-12-13 22:53:31 UTC
See PR: https://github.com/gentoo/gentoo/pull/6542
Comment 5 Larry the Git Cow gentoo-dev 2017-12-19 07:16:41 UTC
The bug has been closed via the following commit(s):

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

commit b269167ddba7b8485ec67042f77699bded47d296
Author:     Benda Xu <heroxbd@gentoo.org>
AuthorDate: 2017-12-13 05:56:07 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2017-12-19 07:16:01 +0000

    sci-libs/hdf5: Add back hl configuration options.
    
    Closes: https://bugs.gentoo.org/640220
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sci-libs/hdf5/hdf5-1.10.1.ebuild | 1 +
 1 file changed, 1 insertion(+)