To reproduce this bug, run dpkg-shlibdeps on a package that does not
yet have a debian/tmp/DEBIAN directory. 

For example, this displays the perl warning. It also generates an empty
substvars file despite the binaries linking to libc6 and stuff.

[EMAIL PROTECTED]:~package/aalib>dpkg-shlibdeps -Tdebian/libaa-bin.substvars 
-Ldebian/libaa1/DEBIAN/shlibs debian/libaa-bin/usr/bin/aainfo 
debian/libaa-bin/usr/bin/aatest debian/libaa-bin/usr/bin/aafire 
debian/libaa-bin/usr/bin/aasavefont

The above also displays many bogus warnings:

dpkg-shlibdeps: warning: symbol [EMAIL PROTECTED] used by 
debian/libaa-bin/usr/bin/aasavefont found in none of the libraries.
dpkg-shlibdeps: warning: symbol [EMAIL PROTECTED] used by 
debian/libaa-bin/usr/bin/aasavefont found in none of the libraries.
dpkg-shlibdeps: warning: symbol [EMAIL PROTECTED] used by 
debian/libaa-bin/usr/bin/aasavefont found in none of the libraries.
dpkg-shlibdeps: warning: symbol [EMAIL PROTECTED] used by 
debian/libaa-bin/usr/bin/aasavefont found in none of the libraries.
dpkg-shlibdeps: warning: symbol [EMAIL PROTECTED] used by 
debian/libaa-bin/usr/bin/aasavefont found in none of the libraries.
dpkg-shlibdeps: warning: symbol [EMAIL PROTECTED] used by 
debian/libaa-bin/usr/bin/aasavefont found in none of the libraries.
dpkg-shlibdeps: warning: symbol [EMAIL PROTECTED] used by 
debian/libaa-bin/usr/bin/aasavefont found in none of the libraries.
dpkg-shlibdeps: warning: symbol [EMAIL PROTECTED] used by 
debian/libaa-bin/usr/bin/aasavefont found in none of the libraries.
dpkg-shlibdeps: warning: symbol [EMAIL PROTECTED] used by 
debian/libaa-bin/usr/bin/aasavefont found in none of the libraries.
dpkg-shlibdeps: warning: symbol [EMAIL PROTECTED] used by 
debian/libaa-bin/usr/bin/aasavefont found in none of the libraries.
dpkg-shlibdeps: warning: symbol [EMAIL PROTECTED] used by 
debian/libaa-bin/usr/bin/aasavefont found in none of the libraries.

OTOH, this works fine:

[EMAIL PROTECTED]:~package/aalib>mkdir debian/libaa-bin/DEBIAN 
[EMAIL PROTECTED]:~package/aalib>dpkg-shlibdeps -Tdebian/libaa-bin.substvars 
-Ldebian/libaa1/DEBIAN/shlibs debian/libaa-bin/usr/bin/aainfo 
debian/libaa-bin/usr/bin/aatest debian/libaa-bin/usr/bin/aafire 
debian/libaa-bin/usr/bin/aasavefont

I suspect this breaks a large number of packages that build
with debhelper, as debhelper only creates the DEBIAN directory
on demand, so it's typically created after dpkg-shlibdeps is run.

So I think this bug should be RC..

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to