Package: d-shlibs Version: 0.47 Hi Jonas,
Today when I tried to build ghostscript, I got a pile of messages: | dh_installmime -plibgs9 | d-shlibmove --commit \ | --devunversioned --ignorelibdep \ | --movedev "debian/tmp/usr/include/*" usr/include/ \ | debian/tmp/usr/lib/libgs.so | Library package automatic movement utility | devlibs error: There is no package matching [comerr-dev] and noone provide | devlibs error: There is no package matching [libc6-dev] and noone provides | devlibs error: There is no package matching [libcups2-dev] and noone provi [etc] and a build failure. Looking at the d-devlibdeps source, I see | case $(echo $(apt-cache --no-generate show $1 2> /dev/null| wc -l ) ) in | 0) | case $(echo $(apt-cache --no-generate showpkg $1 2> /dev/null | awk ' /^Reverse Provides: $/,/^$/ {if ($0 !~ /:/) {print $0}}' | wc -l) ) in and it dawns on me: this tool requires an up-to-date APT cache. An "apt-get update" would have worked around the trouble. Maybe validate_package could parse Build-Depends lines in addition to the Packages lines it already reads from debian/control, plus /usr/share/doc/build-essential/list, and assume at least those are real? That way, at least when the build-depends list is complete there would be no need to fall back to looking at the APT cache. Other thoughts welcome, too. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org