[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-10 14:07:28)
> And yet, only *_amd64.buildinfo was produced even when I run "sbuild -A -s
> --source-only-change" as suggested by the wiki[1].  What would be the correct
> way to let sbuild generate *_source.buildinfo?

the -s option to sbuild keeps causing problems. This is why in its man page it
is currently documented like this:

> -s, --source
>     Build the source package in addition to the other requested build
>     artifacts. By default, the dsc will not be rewritten because the source
>     package is the input to sbuild, not its output. Even when running from an
>     unpacked source tree sbuild will first build the source package using
>     dpkg-source and then pass that on to the sbuild machinery. Use this option
>     only when you know what you are doing. This will rewrite the original dsc
>     passed to sbuild.

Using the -s option with sbuild is like running "convert foo.jpg bar.png" and
then imagemagick overwrites foo.jpg (the input). Please don't use -s. The
wiki page you are quoting introduced the -s option 7 years ago with this
change:

https://wiki.debian.org/SourceOnlyUpload?action=diff&rev1=12&rev2=13

I corrected that wiki page. Thank you for sharing where you had this from.
Your sbuild command will do the right thing if you just omit the -s option.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature


Reply to: