[buildd-tools-devel] Bug#488827: [Buildd-tools-devel] Bug#488827: fails to obtain orig tarball when building a -2 package

Roger Leigh rleigh at codelibre.net
Sun Oct 31 21:29:10 UTC 2010


On Tue, Jul 01, 2008 at 03:44:07PM +0200, martin f krafft wrote:
> Package: sbuild
> Version: 0.57.3-1
> Severity: normal
> 
> I am trying to build a source package with Debian revision -2 and
> thus no orig.tar.gz. At first, sbuild complained:
> 
>   Automatic build of molly-guard_0.4.4-2 on pulse by sbuild/amd64 0.57.0        
>   Build started at 20080701-1530
>   ******************************************************************************
>   /usr/bin/md5sum: ./molly-guard_0.4.4.orig.tar.gz: No such file or directory
>   Checking available source versions...
>   E: You must put some 'source' URIs in your sources.list
>   /usr/bin/apt-cache returned no information about molly-guard source
>   Are there any deb-src lines in your /etc/apt/sources.list?
> 
> After I put in the line and ran the upgrade, I get
> 
>   Automatic build of molly-guard_0.4.4-2 on pulse by sbuild/amd64 0.57.0        
>   Build started at 20080701-1533
>   ******************************************************************************
>   /usr/bin/md5sum: ./molly-guard_0.4.4.orig.tar.gz: No such file or directory
>   Checking available source versions...
>   Checking available source versions...
>   Can't find source for molly-guard_0.4.4-2
>   (only different version(s) molly-guard 0.4.4-1 found)
> 
> It's looking for the wrong thing and thus fails.
> 
>   apt-get --tar-only source molly-guard
> 
> would have obtained the file...

Sorry for the long delay.

What command did you use to build?  I only see the log output above.

Did you have all of the source files in the working directory (or
whichever directory the .dsc was in)?  If working locally (rather
than from a mirror), you do need to .dsc, .diff.gz and .orig.tar.gz
(or the dpkg-source v3 equivalents); sbuild and/or apt-get aren't
clever enough to get some locally and some remote e.g. .dsc/.diff.gz
locally and the .orig from a mirror).

If it was all on the mirror, is it possible the mirror was out of
sync?

Does "sbuild -A -d unstable molly-guard_0.4.4-2" do the right thing?
It works for me (see attached).



Thanks,
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: molly-guard_0.4.4-2-amd64-20101031-2117.bz2
Type: application/octet-stream
Size: 6587 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20101031/d84ed0c3/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20101031/d84ed0c3/attachment.pgp>


More information about the Buildd-tools-devel mailing list