Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906644 - dev-libs/c-blosc2-2.9.1 needs a patch to include/blosc2.h
Summary: dev-libs/c-blosc2-2.9.1 needs a patch to include/blosc2.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL: https://github.com/Blosc/c-blosc2/com...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-05-17 18:28 UTC by Maciej S. Szmigiero
Modified: 2023-05-18 03:14 UTC (History)
0 users

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 Maciej S. Szmigiero 2023-05-17 18:28:32 UTC
dev-libs/c-blosc2-2.9.1 needs a patch at ${URL} to include/blosc2.h otherwise consumers fail to build.

For example dev-python/pytables-3.8.0-r3 fails as follows:
> INFO: x86_64-pc-linux-gnu-gcc: hdf5-blosc/src/blosc_filter.c
> INFO: x86_64-pc-linux-gnu-gcc: hdf5-blosc2/src/blosc2_filter.c
> INFO: x86_64-pc-linux-gnu-gcc: src/H5ATTR.c
> INFO: x86_64-pc-linux-gnu-gcc: src/H5TB-opt.c
> In file included from hdf5-blosc2/src/blosc2_filter.h:8,
>                  from src/H5TB-opt.c:39:
> /usr/include/blosc2.h:1109:21: error: ‘BLOSC_STUNE’ undeclared here (not in a function); did you mean ‘BLOSC_LAST_TUNE’?
>  1109 | static int g_tune = BLOSC_STUNE;
>       |                     ^~~~~~~~~~~
>       |                     BLOSC_LAST_TUNE
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-05-18 02:50:31 UTC
Thanks a lot!
Comment 2 Larry the Git Cow gentoo-dev 2023-05-18 03:14:57 UTC
The bug has been closed via the following commit(s):

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

commit 2d98ac7635f457e5f1c74fa9f7cd8227cb059c35
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-05-18 02:50:40 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-05-18 03:14:44 +0000

    dev-libs/c-blosc2: Backport a header fix
    
    Closes: https://bugs.gentoo.org/906644
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 ...losc2-2.9.1.ebuild => c-blosc2-2.9.1-r1.ebuild} |  5 +++++
 .../c-blosc2/files/c-blosc2-2.9.1-header.patch     | 26 ++++++++++++++++++++++
 2 files changed, 31 insertions(+)