Hello all, I am trying to package up kcdlabel, and am having a little trouble getting the Build-Depends and Depends fields correct. I used the script from the New Maintainer's Guide to get the Build-Depends, but it appears to have not worked in quite the way I expected. I get a list of Build-Depends that correctly builds the package, but only because of dependencies pulled in with the Build-Depends packages - e.g., kdelibs-dev depends on libjpeg62-dev, as does this package, but libjpeg62-dev does not show up as a Buid-Depend. Is this behavior expected? I would like a way to make all direct Build-Depends show up, so that if, e.g., kdelibs-dev changes it's dependencies at some point, the build still succeeds. Any one have other ways of doing this? The Depends problem seems related to this, although I am not sure. In my control file, I just use ${shlibs:Depends} in the Depends: field. After building (in a Woody chroot, thanks to pbuilder - great tool!) I get a Depends: that looks like this: Depends: kdelibs3 (>= 4:2.2.2-1), libc6 (>= 2.2.4-4), libfam0, libjpeg62, libpng2(>=1.0.12), libqt2 (>= 3:2.3.1-1), libstdc++2.10-glibc2.2 (>= 1:2.95.4-0.010810), xlibs (>> 4.1.0), zlib1g (>= 1:1.1.4) But: steve@gashuffer:~$ for i in `ldd /usr/bin/kcdlabel | cut -f3 -d\ ` ; do dpkg -S $i ; done | sort | cut -f1 -d':' | uniq kdelibs3 libc6 libfam0 libfreetype6 libjpeg62 liblcms libmng1 libpng2 libqt2 libstdc++2.10-glibc2.2 xlibs zlib1g There's 3 more library packages that aren't found by dpkg-shlibdeps. Am I misinterpreting here, and I should in fact put these missing packages in manually, or am I somehow building poorly, and that is causing the discrepancy in the output? Packages are available at http://www.lobefin.net/steve/~debian/ The latest build (-5) is lintian clean except for the /usr/share link warning - this was added automatically by dh_make, so I'll get around to taking care of that, but I'd like to figure out the problem with Depends first. Any help/suggestions/pointers to FM greatly appreciated. Thanks a lot, Steve -- One of the signs of Napoleon's greatness is the fact that he once had a publisher shot. -- Siegfried Unseld
Attachment:
pgp5mhDoKVnee.pgp
Description: PGP signature