When a *.pc file contains paths with UTF-8 characters in them, pkg-config returns a corrupted string sequence (which appears as gibberish on the terminal.)
To reproduce, glib-2.0.pc can be temporarily edited to contain this:
This results in:
$ pkg-config glib-2.0 --cflags
Because of this, packages using this will fail to build.
I'm using pkg-config 0.28 on Gentoo Linux AMD64.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pkg-config/pkg-config/issues/3.