Summary: | pkg-config 0.23 should not exit on parse errors when using --list-all | ||
---|---|---|---|
Product: | pkg-config | Reporter: | Hans de Graaff <hans> |
Component: | src | Assignee: | Tollef Fog Heen <tfheen> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | djcb.bulk |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | https://bugs.gentoo.org/show_bug.cgi?id=284974 | ||
See Also: | http://bugs.debian.org/611563 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Hans de Graaff
2010-02-17 12:29:42 UTC
*** Bug 28609 has been marked as a duplicate of this bug. *** Still present in at least 0.26 Fixed in 715cc30. For the mentioned previous bug report there is a closing comment that commit 715cc30 fixes it, but when I checked the commit the parser exists as before in case of some heavier error in .pc file during '--list-all' command execution. Tests results of pkg-configs with simulated error (.pc without Name: tag): [commit 715cc30:] ./pkg-config --list-all | wc -l (pkg-config:9743): GLib-CRITICAL **: g_string_append: assertion 'val != NULL' failed 449 [patched 0.28 with my patch applied:] trevor@trevhomepc:/usr/local/src/pkg-config/pkg-config> pkg-config --list-all | wc -l Variable 'libjpeg_prefix' not defined in '/usr/lib/pkgconfig/libgdiplus.pc' Package 'gnome-icon-theme' has no Name: field 720 When the commit 715cc30 fixes something, it doesn't solve all problems with incorrectly prepared .pc files in pkg-config database in scope of '--list-all' command, regards, T. |
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.