Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590936 - dev-libs/c-blosc[hdf] should depend on sci-libs/hdf5[cxx]
Summary: dev-libs/c-blosc[hdf] should depend on sci-libs/hdf5[cxx]
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:
: 593964 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-10 12:41 UTC by Orivej Desh
Modified: 2017-12-04 03:30 UTC (History)
3 users (show)

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


Attachments
c-blosc-1.11.1.ebuild (c-blosc-1.11.1.ebuild,1.04 KB, text/plain)
2016-09-25 05:48 UTC, Nick Wallingford
Details
pytables-3.3.0.ebuild, with dependency on c-blosc[+hdf5] removed. (pytables-3.3.0.ebuild,1.25 KB, text/plain)
2016-09-25 05:49 UTC, Nick Wallingford
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Orivej Desh 2016-08-10 12:41:20 UTC
=dev-libs/c-blosc-1.5.3 [hdf] does not compile with =sci-libs/hdf5-1.8.15_p1 [-cxx] with an error:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
HDF5_hdf5_cpp_LIBRARY
    linked by target "blosc_filter_shared" in directory /var/tmp/portage/dev-libs/c-blosc-1.5.3/work/c-blosc-1.5.3/hdf5

rebuilding hdf5 with cxx use flag fixes c-blosc compilation.
Comment 1 Gangræna Gorgeous 2016-08-21 14:17:15 UTC
Same here. With cmake < 3.6 it compiles without this error.
Comment 2 Coacher 2016-09-16 21:09:00 UTC
*** Bug 593964 has been marked as a duplicate of this bug. ***
Comment 3 Juergen Rose 2016-09-17 07:09:59 UTC
(In reply to Gangræna Gorgeous from comment #1)
> Same here. With cmake < 3.6 it compiles without this error.

I can confirm, that after downgrading to cmake-3.5.2 the issue disappeared.
Comment 4 Nick Wallingford 2016-09-25 05:48:06 UTC
Created attachment 447806 [details]
c-blosc-1.11.1.ebuild
Comment 5 Nick Wallingford 2016-09-25 05:48:23 UTC
We are several minor versions behind upstream, nearly a year and a half out of date. We are at c-blosc-1.5.3, upstream is 1.11.1. Note that upstream has removed hdf5 support from c-blosc, and has started a new project to support c-blosc from within hdf5.

=dev-python/pytables-3.2.2 depends on dev-libs/c-blosc[+hdf5], and it looks like the ebuild takes a few extra steps to support the c-blosc-1.5.3 hdf5 function, rather than the hdf5 c-blosc interoperability thing built into pytables.

I have hastily thrown together ebuilds for c-blosc-1.11.1 and pytables-3.3.0. I can *not* speak to their quality, I am not an experienced ebuild writer.
Comment 6 Nick Wallingford 2016-09-25 05:49:14 UTC
Created attachment 447808 [details]
pytables-3.3.0.ebuild, with dependency on c-blosc[+hdf5] removed.
Comment 7 Larry the Git Cow gentoo-dev 2017-12-04 03:30:18 UTC
The bug has been closed via the following commit(s):

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

commit b684b52f051da7d2fdcbe8d0fe1dd6d38c2820a3
Author:     Benda Xu <heroxbd@gentoo.org>
AuthorDate: 2017-12-04 03:29:49 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2017-12-04 03:29:49 +0000

    dev-libs/c-blosc: drop old versions.
    
    Reported-by: Orivej Desh <orivej@gmx.fr>
    Closes: https://bugs.gentoo.org/590936
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-libs/c-blosc/Manifest                          |  6 +--
 dev-libs/c-blosc/c-blosc-1.11.1.ebuild             | 54 ----------------------
 dev-libs/c-blosc/c-blosc-1.3.2.ebuild              | 41 ----------------
 dev-libs/c-blosc/c-blosc-1.3.5.ebuild              | 41 ----------------
 dev-libs/c-blosc/c-blosc-1.5.3.ebuild              | 42 -----------------
 .../files/c-blosc-1.11.1-fix-build-system.patch    | 30 ------------
 .../c-blosc/files/c-blosc-1.3.2-shared-libs.patch  | 22 ---------
 .../c-blosc/files/c-blosc-1.5.3-shared-libs.patch  | 27 -----------
 8 files changed, 1 insertion(+), 262 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 6891e6348ac3444b82d655d97c244d05ef122a8e
Author:     Benda Xu <heroxbd@gentoo.org>
AuthorDate: 2017-12-04 03:23:15 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2017-12-04 03:23:15 +0000

    dev-python/pytables: drop old version.
    
    Reported-by: Orivej Desh <orivej@gmx.fr>
    Suggested-by: Nick Wallingford <nick@wallingford.cc>
    Bug: https://bugs.gentoo.org/590936
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-python/pytables/Manifest                       |  3 +-
 .../pytables/files/pytables-3.1.1-blosc.patch      | 16 -----
 .../files/pytables-3.1.1-cython-backport.patch     | 65 -------------------
 .../files/pytables-3.1.1-numpy19-backport.patch    | 51 ---------------
 dev-python/pytables/pytables-3.1.1-r2.ebuild       | 75 ----------------------
 5 files changed, 1 insertion(+), 209 deletions(-)}