Bug 54271 - pkg-config --print-variables prints an assertion failure if there are no variables
Summary: pkg-config --print-variables prints an assertion failure if there are no vari...
Status: RESOLVED FIXED
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Tollef Fog Heen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-30 16:04 UTC by Peter Wu
Modified: 2012-10-13 16:08 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Wu 2012-08-30 16:04:46 UTC
Version: 0.27.1

Consider a minimal foo.pc file like the below:

Name: foo
Description: Bar
Version: 4.2

If you run `pkg-config --libs foo`, it will print an assertion failure:

GLib-CRITICAL **: g_hash_table_foreach: assertion `hash_table != NULL' failed
Comment 1 Dan Nicholson 2012-10-13 16:08:23 UTC
Thanks for the report. Fixed in commit 1184d20.


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.