[Buildd-tools-devel] Bug#477790: Bug#477790: could check whether build needed at all before chrooting

Roger Leigh rleigh at whinlatter.ukfsn.org
Sun Apr 27 17:44:47 UTC 2008


martin f krafft <madduck at debian.org> writes:

> Automatic build of libfactory++_0.1.4-2 on lapse by sbuild/i386 0.57.0
> Build started at 20080425-1039
> ******************************************************************************
> libfactory++_0.1.4-2.dsc exists in .; copying to chroot
> libfactory++_0.1.4-2.dsc: i386 not in arch list: all -- skipping
>
> ... this happens after it unpacked the chroot tarball. It could
> really decide that it doesn't need to do anything, since it has not
> packages to build...

I did look at implementing this, but it gets a bit complicated due to
the two codepaths to get the source in fetch_source_files: 1) using
sources on disc, or 2) downloading them.  Currently, we always set up
the chroot first, because otherwise we need to fetch at two different
points.

I would like to make sbuild more intelligent about this, by splitting
up fetch_source_files.

I don't have a great deal of spare time at the moment, but it is
already on my TODO list.  I will try to take a look at some point, but
there are other higher priority tasks to take care of first.  I'm
always happy to take patches, though!


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080427/23e35168/attachment.pgp 


More information about the Buildd-tools-devel mailing list