Web lists-archives.com

Re: Failed to create sbuild chroot for cross-compiling


Raphael Hertzog <hertzog@xxxxxxxxxx> wrote:
> Hi Holger,
> On Sat, 25 Aug 2018, Holger Wansing wrote:
> > I need to get some debian-installer packages uploaded for s390x and mips.
> FTR, Holger is referring to packages which are built only on those
> architectures (and that can't be built on amd64).
> > Since I have no hardware for that archs, I suspect the way to go is to create
> > a chroot for that archs, right?
> No. You just have to do a source only upload and let the auto-builder
> take care of actually compiling the packages.
> Use "debuild -S" or "gbp buildpackage -S" and upload the resulting
> *_source.changes.

My intention was indeed, to do a source-only upload. But apparently
sbuild builds the binary package nevertheless, even when told to prepare
for a source-only upload.

So the main point here is: don't use sbuild, it's the wrong tool for this.


Holger Wansing <hwansing@xxxxxxxxxxx>
PGP-Finterprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076