Bug 2157018

Summary: sipconfig.py contains building machine's LDFLAGS causing invalid LDFLAGS
Product: [Fedora] Fedora Reporter: Yupeng Chang <changyp6>
Component: sipAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: kde-sig, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sip-4.19.25-6.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-16 18:32:09 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:

Description Yupeng Chang 2022-12-30 06:13:19 UTC
Description of problem:
In python3, import sipconfig,
the _default_macros in sipconfig.py shows an invalid LFLAGS

It contains "-Wl,-dT,/builddir/build/BUILD/sip-4.19.25/.package_note-sip-4.19.25-5.fc37.x86_64.ld"

If use sipconfig's _default_macros to generate project's LDFLAGS, this parameter makes linking process fail.

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

Comment 1 Than Ngo 2023-03-07 16:31:53 UTC
it is fixed in sip-4.19.25-6.fc37

Comment 2 Fedora Update System 2023-03-07 16:37:49 UTC
FEDORA-2023-a5b7b6b33a has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a5b7b6b33a

Comment 3 Fedora Update System 2023-03-08 01:26:55 UTC
FEDORA-2023-a5b7b6b33a has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a5b7b6b33a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a5b7b6b33a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2023-03-16 18:32:09 UTC
FEDORA-2023-a5b7b6b33a has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.