Skip to content

"®" symbol in pkg-config file breaking downstream build tools #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
elldritch opened this issue Jan 10, 2024 · 3 comments · Fixed by #121
Closed

"®" symbol in pkg-config file breaking downstream build tools #117

elldritch opened this issue Jan 10, 2024 · 3 comments · Fixed by #121
Labels
bug Something isn't working

Comments

@elldritch
Copy link

elldritch commented Jan 10, 2024

Hi there! I've been digging into haskell/cabal#9608, which is caused by being unable to parse output from pkg-config --list-all when libvpl is installed.

This is because a "®" symbol was added to the Name and Description properties of vpl.pc when this project was renamed from "oneVPL" to "libvpl". See the file https://github.com/intel/libvpl/blob/master/libvpl/pkgconfig/vpl.pc.in in commit 44df6e0.

This results in an invalid pkg-config file. Note that the pkg-config manpages (link) define:

Properties are set using RFC822-style stanzas which consist of a keyword, followed by a colon (:) and then the value the property should be set to.

And RFC-822 defines property field bodies to be ASCII characters only, and "®" is not an ASCII character.

Can you please remove this ISO/IEC 8859-1 symbol from the .pc output files? Thanks!

@mav-intel
Copy link
Contributor

@elldritch Thanks for the report! We will make sure is fixed in the next release!

@mav-intel mav-intel added the bug Something isn't working label Jan 11, 2024
@elldritch
Copy link
Author

@mav-intel Thank you! When do you expect the next release to be? This is breaking my builds today, so I am figuring out whether to work around it by temporarily downgrading or whether to temporarily patch it myself.

@mav-intel mav-intel changed the title "®" symbol in pkg-config file breaks downstream build tools "®" symbol in pkg-config file breaking downstream build tools Jan 11, 2024
@mav-intel
Copy link
Contributor

Fixed by #121

@mav-intel mav-intel linked a pull request Jan 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants