Bug 54271 - pkg-config --print-variables prints an assertion failure if there are no variables
pkg-config --print-variables prints an assertion failure if there are no vari...
Status: RESOLVED FIXED
Product: pkg-config
Classification: Unclassified
Component: src
unspecified
Other All
: medium normal
Assigned To: Tollef Fog Heen
:
Depends on:
Blocks:
  Show dependency treegraph
 
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

Note You need to log in before you can comment on or make changes to this bug.
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.