| Summary: |
pkg-config 0.24 fails to find 'foo' if foo.pc has an empty Cflags field |
| Product: |
pkg-config
|
Reporter: |
Ingmar Vanhassel <ingmar> |
| Component: |
src | Assignee: |
Tollef Fog Heen <tfheen> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
medium
|
|
|
| Version: |
unspecified | |
|
| Hardware: |
x86-64 (AMD64) | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
The latest pkg-config release fails to find packages that contain an empty Cflags field: ingmar@cannonball ~/development/git/FDO/pkg-config (git)-[master]- % pkg-config --atleast-version 2.22.0 gthread-2.0 --print-errors ; echo $? 0 ingmar@cannonball ~/development/git/FDO/pkg-config (git)-[master]- % pkg-config --atleast-version 2.22.0 glib-2.0 --print-errors ; echo $? 0 ingmar@cannonball ~/development/git/FDO/pkg-config (git)-[master]- % pkg-config --atleast-version 2.22.0 gio-2.0 --print-errors ; echo $? Couldn't parse Cflags field into an argument vector: missing argument 1 ingmar@cannonball ~/development/git/FDO/pkg-config (git)-[master]- % pkg-config --atleast-version 2.22.0 gobject-2.0 --print-errors ; echo $? Couldn't parse Cflags field into an argument vector: missing argument 1 Both packages have an empty 'Cflags:' field: % ack '^Cflags:\s+$' /usr/lib64/pkgconfig/{gio,gobject}-2.0.pc /usr/lib64/pkgconfig/gio-2.0.pc 14:Cflags: /usr/lib64/pkgconfig/gobject-2.0.pc 11:Cflags: Since this affects glib, this breaks quite a few packages.