[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1



Hi,

Quoting Xiyue Deng (2025-11-11 02:02:33)
> Thanks for the tip!  Though unfortunately dropping "-s" didn't seem to make
> any difference: it still produces *_amd64.buildinfo only.

yes. That is expected. The buildinfo file describes your binary artifacts which
are produced by sbuild from the source. So the *_source.changes you upload will
reference a *_amd64.buildinfo.

> I took a closer look at `man sbuild' and thought that this could be the
> default behavior for --arch-all where it will try to build arch:all packages
> and hence produced the buildinfo with the host arch (amd64). I tried to turn
> it off but it will cause the build to fail due to the following error:
> 
> ,----
> | E: dsc: amd64 not in arch list or does not match any arch wildcards: all -- skipping
> `----
> 
> So I guess that's probably only used for special cases (e.g. buildd)?

It has other uses as well but is not relevant to your problem which is not a
problem anymore.

> Anyway, I guess it's probably easier to just use "dgit push-source" or
> tag2upload.
> 
> P.S. Do you think it's beneficial to also change the sbuild wiki page[1]
> which also turns on --source by suggesting `$build_source = 1;'?
> 
> [1] https://wiki.debian.org/sbuild

I do not see that page recommending -s or --source. Where does it do that?

You really do *not* want to run sbuild with -s or --source. If you have ideas
on how I could make the documentation more clear about this I'd be happy to
improve it.

So many people add -s to sbuild that I am tempted to remove the option for
good.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature


Reply to: