Pkg-config fails when a package is flagged as conflicting with itself
Thomas Moulard
thomas.moulard at gmail.com
Tue Jul 14 21:11:50 PDT 2009
Hello,
I ran into this problem by chance.
It is quite easy to reproduce you just have to make a package conflict
with itself
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
0.22
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
produce easier
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...?
Thanks,
--
Thomas Moulard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.pc
Type: application/octet-stream
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
mailing list