Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 597142

Summary: dev-python/pytables-3.3.0 compile error hdf5-blosc/src/blosc_filter.c:172:19: error: ‘BLOSC_BITSHUFFLE’ undeclared
Product: Gentoo Linux Reporter: Jeff Kowalczyk <jeff.kowalczyk>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
pytables-3.3.0.ebuild
build.log

Description Jeff Kowalczyk 2016-10-14 23:26:38 UTC
Attempted version bump pytables-3.3.0 (attached), verbatim copy of portage latest pytables-3.2.2, with one minor diff to not rm dir (hdf5) no longer present in pytables release tarball as of 3.3.0:

--- /usr/portage/dev-python/pytables/pytables-3.2.2.ebuild      2016-10-12 13:01:36.063005705 -0700
+++ /home/jtk/jfkw-portage-overlay/dev-python/pytables/pytables-3.3.0.ebuild    2016-10-14 15:45:23.839346120 -0700
@@ -46,7 +46,7 @@
                -e "s:/usr:${EPREFIX}/usr:g" \
                -e 's:"c-blosc/hdf5/blosc_filter.c"::g' \
                -i setup.py || die
-       rm -r c-blosc/{blosc,hdf5,internal-complibs} || die
+       rm -r c-blosc/{blosc,internal-complibs} || die
        distutils-r1_python_prepare_all
 }

Compile error is as follows, build.log also attached:

hdf5-blosc/src/blosc_filter.c: In function ‘blosc_filter’:
hdf5-blosc/src/blosc_filter.c:172:19: error: ‘BLOSC_BITSHUFFLE’ undeclared (first use in this function)
  if (doshuffle == BLOSC_BITSHUFFLE) {
                   ^
hdf5-blosc/src/blosc_filter.c:172:19: note: each undeclared identifier is reported only once for each function it appears in
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

Will report this to upstream if determined that this is not a Gentoo related issue.
Comment 1 Jeff Kowalczyk 2016-10-14 23:27:26 UTC
Created attachment 450232 [details]
emerge --info
Comment 2 Jeff Kowalczyk 2016-10-14 23:28:03 UTC
Created attachment 450234 [details]
pytables-3.3.0.ebuild
Comment 3 Jeff Kowalczyk 2016-10-14 23:29:07 UTC
Created attachment 450236 [details]
build.log
Comment 4 Patrice Clement gentoo-dev 2016-10-15 12:52:31 UTC
Hi. Thanks for the bug report. Figure out with upstream what's the issue and then reopen this bug if it is indeed a Gentoo-related problem.