Bug 2175812

Summary: python3-sip contains bad reference to package_note file
Product: [Fedora] Fedora Reporter: Nianqing Yao <imbearchild>
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, orion, than
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
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:11 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 Nianqing Yao 2023-03-06 15:23:34 UTC
Description of problem:

Current build of python3-sip-devel contains wrong reference to package_note files. This make linker failed on compiling some python and C++ related projects. 

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

python3-sip-deve-4.19.25-5

How reproducible:

Use sip to generate Python bindings for any C++ class library. I found this problem when building qt_gui_cpp module from ROS2.

Steps to Reproduce:

See offical ROS2 document for how to build ROS2 from source.

https://docs.ros.org/en/rolling/Installation/Alternatives/Fedora-Development-Setup.html

Actual results:

Fail to compile with following info from stderr:

/usr/bin/ld: cannot open linker script file /builddir/build/BUILD/sip-4.19.25/.package_note-sip-4.19.25-5.fc37.x86_64.ld: No such file or directory

Expected results:

Compile without this problem.

Additional info:

These location contains reference to package_note files:

/usr/lib64/python3.11/site-packages/sipconfig.py:42
/usr/lib64/python3.11/site-packages/sipconfig.py:104

Comment 1 Orion Poplawski 2023-03-06 23:29:43 UTC
Re-assigning.  python3-sip is an EPEL-only package.

Comment 2 Than Ngo 2023-03-07 15:49:22 UTC
it is fixed in sip-4.19.25-6.fc37, https://koji.fedoraproject.org/koji/taskinfo?taskID=98406175

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

Comment 4 Fedora Update System 2023-03-08 01:26:58 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 5 Fedora Update System 2023-03-16 18:32:11 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.