Bug 1794625 - h5cc shouldn't use Fedora build flags
Summary: h5cc shouldn't use Fedora build flags
Alias: None
Product: Fedora
Classification: Fedora
Component: hdf5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2020-01-24 04:44 UTC by Christoph Junghans
Modified: 2020-02-08 02:00 UTC (History)
5 users (show)

Fixed In Version: hdf5-1.10.5-5.fc32 hdf5-1.10.5-5.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-01-27 02:36:29 UTC
Type: Bug

Attachments (Terms of Use)

Description Christoph Junghans 2020-01-24 04:44:46 UTC
Description of problem:

h5cc includes "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" in its flags, which is provided by redhat-rpm-config, but isn't installed when install hdf5-devel.

Version-Release number of selected component (if applicable):


How reproducible:

Compile anything with h5cc without having redhat-rpm-config installed.

Comment 1 Orion Poplawski 2020-01-27 01:01:34 UTC
Actually, I think h5cc shouldn't be specifying any special Fedora build flags that are not absolutely needed.  Taking a look...

Comment 2 Orion Poplawski 2020-01-27 02:20:02 UTC
Hopefully fixed in hdf5-1.10.5-5.fc32.  Let me know if you have any issues with that.

Comment 3 Christoph Junghans 2020-01-27 02:27:26 UTC
Thanks, looks good to me.

Just out of curiosity, why didn't you overwrite CPPFLAGS as well? (see https://src.fedoraproject.org/rpms/hdf5/blob/6a442e16217e3eee5ecd670a57297c73cd81cdc5/f/hdf5-wrappers.patch#_83)

Comment 4 Orion Poplawski 2020-01-27 02:36:29 UTC
It's not set to anything at the moment, and not sure it it might be needed in the future.

Comment 5 Fedora Update System 2020-01-31 01:29:07 UTC
hdf5-1.10.5-5.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-1e7bcc29a8

Comment 6 Fedora Update System 2020-02-08 02:00:11 UTC
hdf5-1.10.5-5.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.