Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883813 - dev-python/h5py-3.7.0 fails to compile (CLANG-STRICTER-SYSTEM): _errors.c:2180:64: error: incompatible function pointer types passing herr_t (int, H5E_error2_t , void ) (aka int (int, struct H5E_error2_t , void )) to parameter of type H5E_walk2_t (aka in
Summary: dev-python/h5py-3.7.0 fails to compile (CLANG-STRICTER-SYSTEM): _errors.c:218...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
Keywords: PATCH
Depends on:
Blocks: clang-16-porting
  Show dependency tree
Reported: 2022-12-01 07:43 UTC by Agostino Sarubbo
Modified: 2022-12-01 14:35 UTC (History)
1 user (show)

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

build.log (build.log,156.98 KB, text/plain)
2022-12-01 07:43 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-01 07:43:51 UTC

Issue: dev-python/h5py-3.7.0 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-01 07:43:54 UTC
Created attachment 838647 [details]

build log and emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2022-12-01 14:35:19 UTC
The bug has been closed via the following commit(s):

commit 0a1c3e816e104ea1e0833fd1c8cc2f529c879469
Author:     Michał Górny <>
AuthorDate: 2022-12-01 14:32:20 +0000
Commit:     Michał Górny <>
CommitDate: 2022-12-01 14:32:39 +0000

    dev-python/h5py: Backport -Wincompatible-function-pointer-types fix
    Signed-off-by: Michał Górny <>

 dev-python/h5py/files/h5py-3.7.0-types.patch | 36 ++++++++++++++++++++++++++++
 dev-python/h5py/h5py-3.7.0.ebuild            |  4 ++++
 2 files changed, 40 insertions(+)