[buildd-tools-devel] Bug#674669: sbuild: Unable to get .changes when using --debbuildopt=-A

Daniel Dehennin daniel.dehennin at baby-gnu.org
Thu Jun 28 22:13:22 UTC 2012


Roger Leigh <rleigh at codelibre.net> writes:

> Hi Daniel,

Hello,


> Please could you provide the complete sbuild command line you used
> to build this package?  If it's for a package that's currently in
> the archive that I can use to reproduce the bug, that would be
> even better.

You can test for whatever package declared as "Architecture: all", for
example:

  apt-get -d source sbuild
  sbuild -d unstable -A --debbuildopt=-A sbuild_0.63.1-1.dsc
  ╔══════════════════════════════════════════════════════════════════════════════╗
  ║ sbuild 0.63.1-1 (amd64)                                   28 juin 2012 23:48 ║
  ╚══════════════════════════════════════════════════════════════════════════════╝
  
  Package: sbuild
  Version: 0.63.1-1
  Source Version: 0.63.1-1
  Distribution: unstable
  Machine Architecture: amd64
  Host Architecture: amd64
  Build Architecture: amd64

  [...]

  dpkg-genchanges -b -A >../sbuild_0.63.1-1_all.changes
  dpkg-genchanges: arch-indep upload - not including arch-specific packages
  dpkg-genchanges: binary-only upload - not including any source code
   dpkg-source --after-build sbuild-0.63.1
  dpkg-buildpackage: binary only upload (no source included)
  ────────────────────────────────────────────────────────────────────────────────
  Build finished at 20120628-2350
  
  Finished
  ────────
  
  I: Built successfully
  
  ┌──────────────────────────────────────────────────────────────────────────────┐
  │ Changes                                                                      │
  └──────────────────────────────────────────────────────────────────────────────┘
  
  Can't find sbuild_0.63.1-1_amd64.changes -- can't dump info


It seems that since last upgrade, the product of the build is not copied
in my current directory because it use the .changes file:

  ls -l
  total 584K
  -rw-rw-r-- 1 dad dad  43K juin  28 23:50 sbuild_0.63.1-1_amd64-20120628-2348.build
  lrwxrwxrwx 1 dad dad   43 juin  28 23:48 sbuild_0.63.1-1_amd64.build -> ./sbuild_0.63.1-1_amd64-20120628-2348.build
  -rw-r--r-- 1 dad dad   20 juin  28 16:10 sbuild_0.63.1-1.diff.gz
  -rw-r--r-- 1 dad dad 2,1K juin   1 00:03 sbuild_0.63.1-1.dsc
  -rw-r--r-- 1 dad dad 528K juin   1 00:03 sbuild_0.63.1.orig.tar.gz

Using sbuild version 0.62.6-1 I got the deb and changes copied in my
current directory event if the .changes file name was *_all.changes and
not *_amd64.changes.

Regards.  

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20120629/24d1a63f/attachment-0001.pgp>


More information about the Buildd-tools-devel mailing list