Re: Bug in apgcc when encountering dependencies on non-lib libraries

Jan Niklas Hasse <[email protected]> Tue, 10 Mar 2009 16:53:04 +0100
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
Thanks for the description and the patch! I committed it in r2550.
http://trac.autopackage.org/changeset/2550

While testing your patch I recognized that apgcc only prints a confusing
error message when libuuid.so doesn't exist:

$ sudo mv /usr/lib/libuuid.so backup.so
$ env APBUILD_STATIC=uuid apgcc -o whatever whatever.c
objdump: '': No such file
$ sudo mv backup.so /usr/lib/libuuid.so
$ env APBUILD_STATIC=uuid apgcc -o whatever whatever.c
$

Isn't this a bug we should fix, too? Before your patch, there didn't seem to
be an error message at all. I don't know what causes this as I'm not that
familiar with apbuild.