With an arbitrarily selected package, I’m not getting the expected result — dose-ceve lists fewer dependencies than ratt:
Running ratt as-is: $ go run ratt.go -dry_run /tmp/golang-golang-x-tools_0.0\~git20150716.0.87156cb+dfsg1-4_amd64.changes 2015/10/14 18:57:01 Loading changes file "/tmp/golang-golang-x-tools_0.0~git20150716.0.87156cb+dfsg1-4_amd64.changes" 2015/10/14 18:57:01 - 4 binary packages: golang-golang-x-tools golang-go.tools golang-golang-x-tools-dev golang-go.tools-dev 2015/10/14 18:57:01 - corresponding .debs (will be injected when building): 2015/10/14 18:57:01 golang-go.tools-dev_0.0~git20150716.0.87156cb+dfsg1-4_all.deb 2015/10/14 18:57:01 golang-go.tools_0.0~git20150716.0.87156cb+dfsg1-4_amd64.deb 2015/10/14 18:57:01 golang-golang-x-tools-dev_0.0~git20150716.0.87156cb+dfsg1-4_all.deb 2015/10/14 18:57:01 golang-golang-x-tools_0.0~git20150716.0.87156cb+dfsg1-4_amd64.deb 2015/10/14 18:57:01 Loading sources index "/var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_contrib_source_Sources" 2015/10/14 18:57:01 Loading sources index "/var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_main_source_Sources" 2015/10/14 18:57:03 Loading sources index "/var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_non-free_source_Sources" 2015/10/14 18:57:03 Setting -sbuild_dist=unstable (from .changes file) 2015/10/14 18:57:03 Building aptly_0.9.5-2 […] 2015/10/14 18:57:03 Building dh-make-golang_0.0~git20150913.0.1221041-1 […] 2015/10/14 18:57:03 Building etcd_2.2.0+dfsg-2 […] 2015/10/14 18:57:03 Building golang-github-aws-aws-sdk-go_0.9.9+dfsg-1 […] 2015/10/14 18:57:03 Building golint_0.0+git20150623.7b7f436-1 […] (commands redacted for readability) Whereas using dose-ceve: $ dose-ceve --deb-native-arch=amd64 -T debsrc -r golang-golang-x-tools -G pkg deb:///var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_main_binary-amd64_Packages debsrc:///var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_main_source_Sources Package: etcd Version: 2.2.0+dfsg-2 Architecture: any all Build-Depends: debhelper (>= 9), dh-golang (>= 1.6), dh-systemd, golang-clockwork-dev | golang-github-jonboulle-clockwork-dev, golang-codegangsta-cli-dev | golang-github-codegangsta-cli-dev, golang-context-dev | golang-github-gorilla-context-dev, golang-coreos-log-dev | golang-github-coreos-go-log-dev, golang-etcd-dev | golang-github-coreos-go-etcd-dev, golang-github-boltdb-bolt-dev, golang-github-bradfitz-http2-dev, golang-github-coreos-go-systemd-dev, golang-github-google-btree-dev, golang-github-gorilla-mux-dev | golang-mux-dev, golang-github-ugorji-go-codec-dev, golang-glog-dev | golang-github-golang-glog-dev, golang-go, golang-go-semver-dev | golang-github-coreos-go-semver-dev, golang-go.crypto-dev | golang-golang-x-go.crypto-dev, golang-go.tools, golang-gogoprotobuf-dev (>= 0.0~git20150828~) | golang-github-gogo-protobuf-dev (>= 0.0~git20150828~), golang-golang-x-net-dev, golang-golang-x-oauth2-dev, golang-golang-x-sys-dev, golang-google-cloud-compute-metadata-dev, golang-goprotobuf-dev | golang-github-golang-protobuf-dev, golang-metrics-dev | golang-github-rcrowley-go-metrics-dev, golang-objx-dev | golang-github-stretchr-objx-dev, golang-procfs-dev | golang-github-prometheus-procfs-dev, golang-prometheus-client-dev | golang-github-prometheus-client-golang-dev, golang-protobuf-extensions-dev | golang-github-matttproud-golang-protobuf-extensions-dev, golang-testify-dev | golang-github-stretchr-testify-dev, golang-toml-dev | golang-github-burntsushi-toml-dev, libprotobuf-dev, protobuf-compiler Package: aptly Version: 0.9.5-2 Architecture: any Build-Depends: debhelper (>= 9.0.0), golang (>= 1.1), golang-go.tools, bash-completion Do you know where that difference comes from? On Tue, Oct 13, 2015 at 12:14 PM, Johannes Schauer <jo...@debian.org> wrote: > Hi, > > Quoting Michael Stapelberg (2015-10-13 09:53:33) > > Thanks for the hint, I wasn’t aware of dose-ceve. When trying to run it, > I > > have some trouble getting it working, though: > > > > $ dose-ceve -T debsrc -r 'golang-github-jacobsa-gcloud-dev' -G pkg > > > deb:///var/lib/apt/lists/ftp.ch.debian.org_debian_dists_testing_main_binary-amd64_Packages > > > debsrc:///var/lib/apt/lists/ftp.ch.debian.org_debian_dists_testing_main_source_Sources > > > > The applications raised this exception : Option.No_value > > $ dose-ceve --version > > Build version 4.0.1 > > > > Can you explain what I’m doing wrong? > > you have to add the option --deb-native-arch=amd64 > > I'll see how I can improve the error message upstream to be more > descriptive > about what it is missing. > > Thanks! > > cheers, josch > -- Best regards, Michael