Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77713 - [libdiscid] broken pc file

Attached to Project: Community Packages
Opened by Antonio Rojas (arojas) - Friday, 03 March 2023, 17:02 GMT
Last edited by Brett Cornwall (ainola) - Saturday, 04 March 2023, 19:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Brett Cornwall (ainola)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since version 0.6.3, which switched the package to build with cmake, the pc file shipped in the libdiscid package is broken: the variables are not populated and, in particular, Libs contains a spurious '-L' that breaks compilation of any package that relies on this pc file (such as cmus)
This task depends upon

Closed by  Brett Cornwall (ainola)
Saturday, 04 March 2023, 19:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  I'm sorry for the breakage and for missing the problem! I've pushed libdiscid-0.6.4-2 to [community] and verified that the pc file is proper as it was before.
Comment by Hugo Hromic (hhromic) - Saturday, 04 March 2023, 18:27 GMT
I stumbled on this issue as well while trying to compile the ocp package (Open Cubic Player).
Not only the libs entry contains a spurious '-L', but also the cflags entry contains a spurious '-I'.
I can confirm that manually removing these spurious flags in the installed '.pc' file makes ocp compile again.

Loading...