Bug 474701 - [KF6 build] rpmlint errors after compile: double-slash-in-pkgconfig-path
Summary: [KF6 build] rpmlint errors after compile: double-slash-in-pkgconfig-path
Status: RESOLVED DUPLICATE of bug 474820
Alias: None
Product: frameworks-bluez-qt
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-19 17:26 UTC by Steve Cossette
Modified: 2023-09-24 13:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***