Bug#583341: [buildd-tools-devel] Bug#583341: orig tarball not copied into build chroot

2010-05-30 Thread Roger Leigh
tags 583341 + fixed-upstream pending
thanks

On Thu, May 27, 2010 at 10:18:57AM +0200, martin f krafft wrote:
> Package: sbuild
> Version: 0.60.0-1
> Severity: normal
> 
> sbuild does not seem to copy the orig tarball into the build chroot.
> I have no idea what the heck is going on, but I wanted to file this
> bug since I can't spend any more time on this. I did check three
> things:
> 
> 1. the build chroot actually only gets the .dsc and the debian tarball
> 2. if I manually copy the orig tarball there while the dependencies
>are being installed, it all works.
> 3. No combination of --arch=amd64, --source, and --arch-all made it
>work.

As mentioned on IRC, this is due to sbuild looking for an
orig.tar.gz (not bz2) in the DSC.  This is fixed in git, and I'll
upload a new version as soon as I have some free time.

commit ba54dd628d1f5a3c72286242e5e6c6731fe3367a
Author: Roger Leigh 
Date:   Mon May 3 13:55:48 2010 +0100

Sbuild::Build: Remove DSC filename assumptions breaking new source formats


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.


signature.asc
Description: Digital signature


Bug#583341: orig tarball not copied into build chroot

2010-05-27 Thread martin f krafft
Package: sbuild
Version: 0.60.0-1
Severity: normal

sbuild does not seem to copy the orig tarball into the build chroot.
I have no idea what the heck is going on, but I wanted to file this
bug since I can't spend any more time on this. I did check three
things:

1. the build chroot actually only gets the .dsc and the debian tarball
2. if I manually copy the orig tarball there while the dependencies
   are being installed, it all works.
3. No combination of --arch=amd64, --source, and --arch-all made it
   work.

Debug log is attached.


wots:/tmp% dcmd mdadm_3.1.2-1.dsc
mdadm_3.1.2.orig.tar.bz2
mdadm_3.1.2-1.debian.tar.gz
mdadm_3.1.2-1.dsc

wots:/tmp% sbuild --verbose --debbuildopt=-j9 --source --arch-all --arch=amd64 
--dist=unstable mdadm_3.1.2-1.dsc
sbuild (Debian sbuild) 0.60.0 (23 Feb 2010) on wots.madduck.net

╔══╗
║ mdadm 3.1.2-1 (amd64)  27 May 2010 10:11 ║
╚══╝

Package: mdadm
Version: 3.1.2-1
Architecture: amd64
Chroot Build Dir: 
/var/lib/schroot/mount/sid-amd64-9c4a4025-6d0f-44b8-8382-2cdaa0d1fff0/build/madduck-mdadm_3.1.2-1-amd64-CXfpC8
Start Time: 20100527-1011

┌──┐
│ Fetch source files   │
└──┘


Local sources
─

mdadm_3.1.2-1.dsc exists in .; copying to chroot

Check arch
──
[…]

┌──┐
│ Build│
└──┘


Unpack source
─

dpkg-source: warning: -sn is not a valid option for 
Dpkg::Source::Package::V3::quilt
dpkg-source: warning: extracting unsigned source package (mdadm_3.1.2-1.dsc)
dpkg-source: error: cannot fstat file ./mdadm_3.1.2.orig.tar.bz2: No such file 
or directory
FAILED [dpkg-source died]
Purging 
/var/lib/schroot/mount/sid-amd64-9c4a4025-6d0f-44b8-8382-2cdaa0d1fff0/build/madduck-mdadm_3.1.2-1-amd64-CXfpC8
Not removing build depends: cloned chroot in use

Finished at 20100527-1011
Build needed 00:00:00, 0k disc space


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sbuild depends on:
ii  adduser   3.112  add and remove users and groups
ii  libsbuild-perl0.60.0-1   Tool for building Debian binary pa
ii  perl  5.10.1-12  Larry Wall's Practical Extraction 
ii  perl-modules  5.10.1-12  Core Perl modules

Versions of packages sbuild recommends:
ii  debootstrap   1.0.23 Bootstrap a basic Debian system
ii  fakeroot  1.14.4-1   Gives a fake root environment

Versions of packages sbuild suggests:
pn  deborphan  (no description available)
ii  wget  1.12-2 retrieves files from the web

-- no debconf information


-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems


typescript.gz
Description: Binary data


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)