Pkg-config fails when a package is flagged as conflicting with itself
thomas.moulard at gmail.com
Tue Jul 14 21:11:50 PDT 2009
I ran into this problem by chance.
It is quite easy to reproduce you just have to make a package conflict
and any call of pkg-config refering to that package will produce a segv.
pkg-config --modversion foo
zsh: segmentation fault pkg-config --modversion foo
$ pkg-config --version
Also, if a package requires itself, it enters an infinite loop and
stop when open fails
because too many files are opened.
pkg-config then stop properly but I think that loop detection would
to read error messages and wouldn't be that hard to implement.
Any thoughts about this or maybe is it already fixed in recent versions...?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 309 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pkg-config/attachments/20090715/5d0ed52a/attachment.obj
More information about the pkg-config