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

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



Hi Johannes,

Johannes Schauer Marin Rodrigues <josch@debian.org> writes:

> 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.
>

Ah I see!  I missed that part and had been trying to find a
*_source.changes and failed of course.  Problem solved indeed.  Thanks!

>> 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.
>

Ack.

>> 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.
>

The option is named `$build_source' in the example config.  I attempted
to updated the comment of this part and set its value to 0[1].  Please
feel free to update it in a more definitive manner.

[1] https://wiki.debian.org/sbuild?action=diff&rev1=330&rev2=331

> Thanks!
>
> cheers, josch

-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature


Reply to: