Bug 474701

Summary: [KF6 build] rpmlint errors after compile: double-slash-in-pkgconfig-path
Product: [Frameworks and Libraries] frameworks-bluez-qt Reporter: Steve Cossette <farchord>
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Steve Cossette 2023-09-19 17:26:13 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Upon compiling the kf6 version of this framework, we get some rpm lint errors:

kf6-bluez-qt-devel.x86_64: E: double-slash-in-pkgconfig-path /usr/lib64/pkgconfig/KF6BluezQt.pc libdir=${prefix}//usr/lib64
kf6-bluez-qt-devel.x86_64: E: double-slash-in-pkgconfig-path /usr/lib64/pkgconfig/KF6BluezQt.pc Libs: -L${prefix}//usr/lib64 -lKF6BluezQt

This is the rpmlint explanation of the error:
double-slash-in-pkgconfig-path:
This pkg-config file contains a path with a double slash ('//') in it. This
will break debugedit when stripping debug symbols during package building if
these paths have been passed to gcc, and fail with the following error:
canonicalization unexpectedly shrank by one character.


Would it be possible to fix the double slash?
Comment 1 Steve Cossette 2023-09-19 17:41:00 UTC
Oh, forgot to mention. This is as-of commit fe828b861140534ed728142acf03bd64ca13821e dated September 1st.
Comment 2 Nicolas Fella 2023-09-24 13:28:04 UTC

*** This bug has been marked as a duplicate of bug 474820 ***