<div dir="ltr">With an arbitrarily selected package, I’m not getting the expected result — dose-ceve lists fewer dependencies than ratt:<div><br></div><div>Running ratt as-is:<div><br></div><div><div>$ go run ratt.go -dry_run /tmp/golang-golang-x-tools_0.0\~git20150716.0.87156cb+dfsg1-4_amd64.changes </div><div>2015/10/14 18:57:01 Loading changes file "/tmp/golang-golang-x-tools_0.0~git20150716.0.87156cb+dfsg1-4_amd64.changes"</div><div>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</div><div>2015/10/14 18:57:01  - corresponding .debs (will be injected when building):</div><div>2015/10/14 18:57:01   golang-go.tools-dev_0.0~git20150716.0.87156cb+dfsg1-4_all.deb</div><div>2015/10/14 18:57:01   golang-go.tools_0.0~git20150716.0.87156cb+dfsg1-4_amd64.deb</div><div>2015/10/14 18:57:01   golang-golang-x-tools-dev_0.0~git20150716.0.87156cb+dfsg1-4_all.deb</div><div>2015/10/14 18:57:01   golang-golang-x-tools_0.0~git20150716.0.87156cb+dfsg1-4_amd64.deb</div><div>2015/10/14 18:57:01 Loading sources index "/var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_contrib_source_Sources"</div><div>2015/10/14 18:57:01 Loading sources index "/var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_main_source_Sources"</div><div>2015/10/14 18:57:03 Loading sources index "/var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_non-free_source_Sources"</div><div>2015/10/14 18:57:03 Setting -sbuild_dist=unstable (from .changes file)</div><div>2015/10/14 18:57:03 Building aptly_0.9.5-2 […]</div><div>2015/10/14 18:57:03 Building dh-make-golang_0.0~git20150913.0.1221041-1 […]</div><div>2015/10/14 18:57:03 Building etcd_2.2.0+dfsg-2 […]</div><div>2015/10/14 18:57:03 Building golang-github-aws-aws-sdk-go_0.9.9+dfsg-1 […]</div><div>2015/10/14 18:57:03 Building golint_0.0+git20150623.7b7f436-1 […]</div><div><br></div></div><div>(commands redacted for readability)</div><div><br></div><div>Whereas using dose-ceve:</div><div><br></div><div><div>$ 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       </div><div>Package: etcd</div><div>Version: 2.2.0+dfsg-2</div><div>Architecture: any all</div><div>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</div><div><br></div><div>Package: aptly</div><div>Version: 0.9.5-2</div><div>Architecture: any</div><div>Build-Depends: debhelper (>= 9.0.0), golang (>= 1.1), golang-go.tools, bash-completion</div><div><br></div></div><div>Do you know where that difference comes from?</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 13, 2015 at 12:14 PM, Johannes Schauer <span dir="ltr"><<a href="mailto:josch@debian.org" target="_blank">josch@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Quoting Michael Stapelberg (2015-10-13 09:53:33)<br>
<span class="">> Thanks for the hint, I wasn’t aware of dose-ceve. When trying to run it, I<br>
> have some trouble getting it working, though:<br>
><br>
> $ dose-ceve -T debsrc -r 'golang-github-jacobsa-gcloud-dev' -G pkg<br>
> deb:///var/lib/apt/lists/ftp.ch.debian.org_debian_dists_testing_main_binary-amd64_Packages<br>
> debsrc:///var/lib/apt/lists/ftp.ch.debian.org_debian_dists_testing_main_source_Sources<br>
><br>
> The applications raised this exception : Option.No_value<br>
> $ dose-ceve --version<br>
> Build version 4.0.1<br>
><br>
> Can you explain what I’m doing wrong?<br>
<br>
</span>you have to add the option --deb-native-arch=amd64<br>
<br>
I'll see how I can improve the error message upstream to be more descriptive<br>
about what it is missing.<br>
<br>
Thanks!<br>
<br>
cheers, josch<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards,<br>Michael</div>
</div>