Bug 1548832

Summary: libtommath: Partial Fedora build flags injection
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: libtommathAssignee: Simone Caronni <negativo17>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: c.david86, jeremy, negativo17, pcahyna, rdossant
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libtommath-1.0.1-9.fc30 libtommath-1.0.1-9.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-11 02:41:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1539083    

Description Florian Weimer 2018-02-25 11:51:01 UTC
/usr/lib64/libtommath.so.1.0.1 in libtommath-1.0.1-4.fc28.x86_64 has not been linked with the standard Fedora linker flags (LDFLAGS) from redhat-rpm-config:

libtool: link: gcc -shared  -fPIC -DPIC  .libs/bncore.o .libs/bn_error.o .libs/bn_fast_mp_invmod.o […] .libs/bn_s_mp_sub.o      -Wl,-soname -Wl,libtommath.so.1 -o .libs/libtommath.so.1.0.1

LDFLAGS is completely missing.

This is different from the usual libtool problem involving dropped -specs= arguments.  It looks package-specific.

See https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md for information on RPM macros and environment variables provided by the build environment.

Comment 1 Rafael Fonseca 2018-04-06 15:58:32 UTC
PR submitted: https://src.fedoraproject.org/rpms/libtommath/pull-request/1

Comment 2 Jan Kurik 2018-08-14 10:13:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 3 Fedora Update System 2019-06-02 09:46:03 UTC
FEDORA-2019-5c3da65036 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5c3da65036

Comment 4 Fedora Update System 2019-06-03 01:20:51 UTC
libtommath-1.0.1-9.fc30 has been pushed to the Fedora 30 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-2019-aa13252e13

Comment 5 Fedora Update System 2019-06-03 03:24:47 UTC
libtommath-1.0.1-9.fc29 has been pushed to the Fedora 29 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-2019-5c3da65036

Comment 6 Fedora Update System 2019-06-11 02:41:35 UTC
libtommath-1.0.1-9.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2019-06-11 02:49:36 UTC
libtommath-1.0.1-9.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.