[buildd-tools-devel] sbuild a new version

Roger Leigh rleigh at codelibre.net
Sun Mar 29 20:59:21 UTC 2009


On Sun, Mar 29, 2009 at 10:36:38PM +0200, Ferenc Wagner wrote:
> 
> Is it possible to sbuild a new upstream version of a package, whose
> source isn't present in any archive?  I couldn't get sbuild find the
> .orig.tar.gz on the local disk; it keeps trying to fetch it from some
> archive and fails.  Do I really have to push it into a local
> repository, or am I simply too blind to find the suitable option?

sbuild accepts sources in two main ways:

package_version
- the source package /package/ with version /version/ is downloaded
  and built from the archive.
./package_version.dsc
- the source package /package/ with version /version/ is copied into
  the build chroot from the specified directory and built.  This is
  most likely the method you want.

You do need a .dsc, .diff.gz (if present) and .orig.tar.gz.  If you
don't have these, you need to do one build with dpkg-buildpackage
before then rebuilding the resulting package with sbuild.

I would like to support building in a directory just like you can
with dpkg-buildpackage, but this isn't currently implemented.


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: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20090329/8c4fd62a/attachment.pgp 


More information about the Buildd-tools-devel mailing list