Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1543858 - netpbm: Does not use Fedora build flags
Summary: netpbm: Does not use Fedora build flags
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: netpbm
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Josef Ridky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Fedora28BuildFlags
TreeView+ depends on / blocked
 
Reported: 2018-02-09 12:37 UTC by Florian Weimer
Modified: 2018-08-24 08:03 UTC (History)
3 users (show)

Fixed In Version: netpbm-10.83.01-1.fc27 netpbm-10.83.01-1.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-24 07:10:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2018-02-09 12:37:14 UTC
netpbm-10.81.00-2.fc28 does not use the Fedora build flags.  For example, /usr/bin/jpegtopnm is not linked with the LDFLAGS from redhat-rpm-config.

If I change the RPM spec file to use the proper LDFLAGS, linking fails on x86_64 because the CFLAGS injection is incomplete as well:

gcc -o typegen -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld typegen.o
/usr/bin/ld: typegen.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output

More information about RPM macros to set CFLAGS and LDFLAGS is available here:
https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md

Comment 1 Fedora End Of Life 2018-02-20 15:22:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 3 Fedora Update System 2018-06-05 07:04:41 UTC
netpbm-10.82.00-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-664840259f

Comment 4 Fedora Update System 2018-06-05 07:04:58 UTC
netpbm-10.82.00-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-525b048212

Comment 5 Fedora Update System 2018-06-05 14:50:37 UTC
netpbm-10.82.00-3.fc28 has been pushed to the Fedora 28 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-2018-525b048212

Comment 6 Fedora Update System 2018-06-05 15:23:32 UTC
netpbm-10.82.00-3.fc27 has been pushed to the Fedora 27 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-2018-664840259f

Comment 7 Fedora Update System 2018-07-24 09:52:03 UTC
netpbm-10.83.01-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b96c798490

Comment 8 Fedora Update System 2018-07-24 09:52:34 UTC
netpbm-10.83.01-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b71ffc1714

Comment 9 Fedora Update System 2018-07-24 15:12:02 UTC
netpbm-10.83.01-1.fc27 has been pushed to the Fedora 27 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-2018-b96c798490

Comment 10 Fedora Update System 2018-07-24 17:21:42 UTC
netpbm-10.83.01-1.fc28 has been pushed to the Fedora 28 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-2018-b71ffc1714

Comment 11 Fedora Update System 2018-08-24 07:10:48 UTC
netpbm-10.83.01-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2018-08-24 08:03:04 UTC
netpbm-10.83.01-1.fc28 has been pushed to the Fedora 28 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.