On Mon, Jun 23, 2014 at 09:50:43AM +0200, Ralf Treinen wrote: > On Sat, Jun 21, 2014 at 07:11:17PM -0700, Vagrant Cascadian wrote: > If you wish to check build-dependencies you should rather use > dose-builddebcheck. You can "almost" run it on the .dsc file itself - > you just have to change in the dsc file the "Source: p" into "Package: p". > We probably should allow dose-debbuildcheck to support this syntax. > Does dose-builddebcheck the job? Yeah, I discovered dose-builddebcheck minutes after filing the bug report, but only just now spent the time figuring out how to use it. With your suggestiong to change the Source field to Package, it works well for what I had intended: dose-builddebcheck --deb-native-arch=amd64 /var/lib/apt/lists/ftp.us.debian.org_debian_dists_sid_main_binary-amd64_Packages test.dsc native-architecture: amd64 background-packages: 42679 foreground-packages: 1 broken-packages: 0 with an exit code of 0. test.dsc contains: Format: 3.0 (native) Package: test Binary: test Architecture: any Version: 0.0.1 Maintainer: Vagrant Cascadian <vagrant@debian.org> Standards-Version: 3.9.5 Build-Depends: debhelper (>= 9), bash, zsh Package-List: test deb devel optional arch=any Checksums-Sha1: 708dbc4f5d23c44c6483bc2d3b69dc74768dfb7c 487676 test_0.0.1.tar.xz Checksums-Sha256: 4877fe3274b48fb6ed6ab5ebe34194e2a19054ca039769f313d0ac772d7f4172 487676 test_0.0.1.tar.xz Files: 16fb69e219d3fbe046ee247e1bd19379 487676 test_0.0.1.tar.xz Adding a non-existant package or version constraint to Build-Depends reports a broken package, with an exit code of 1, so seems to work. Ideally it could treat Source: entries the way it treats Package: entries, and then it would work on .dsc files unmodified. If this should be default behavior, or require a commandline option doesn't matter much to me. Thanks! live well, vagrant
Attachment:
signature.asc
Description: Digital signature