Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1269766

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

From Xiyue Deng <manphiz@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.devel.release
Subject Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1
Date 2025-11-11 02:10 +0100
Message-ID <LPL3r-c2Ae-1@gated-at.bofh.it> (permalink)
References (2 earlier) <LPx0t-bSJ7-1@gated-at.bofh.it> <LPzOG-bUEm-15@gated-at.bofh.it> <LPArn-bUWK-5@gated-at.bofh.it> <LOjiV-b321-1@gated-at.bofh.it> <LPArn-bUWK-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Johannes,

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

> 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

Thanks for the tip!  Though unfortunately dropping "-s" didn't seem to
make any difference: it still produces *_amd64.buildinfo only.  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)?
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

-- 
Regards,
Xiyue Deng

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Xiyue Deng <manphiz@gmail.com> - 2025-11-07 02:20 +0100
  Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 "Adam D. Barratt" <adam@adam-barratt.org.uk> - 2025-11-07 20:40 +0100
    Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Xiyue Deng <manphiz@gmail.com> - 2025-11-08 07:00 +0100
      Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 "Adam D. Barratt" <adam@adam-barratt.org.uk> - 2025-11-08 23:00 +0100
        Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Xiyue Deng <manphiz@gmail.com> - 2025-11-09 06:00 +0100
          Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 "Adam D. Barratt" <adam@adam-barratt.org.uk> - 2025-11-09 11:30 +0100
            Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 "Adam D. Barratt" <adam@adam-barratt.org.uk> - 2025-11-10 07:30 +0100
  Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-10 09:20 +0100
    Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Xiyue Deng <manphiz@gmail.com> - 2025-11-10 09:40 +0100
      Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-10 11:10 +0100
        Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Xiyue Deng <manphiz@gmail.com> - 2025-11-10 14:10 +0100
          Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-10 14:50 +0100
            Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Xiyue Deng <manphiz@gmail.com> - 2025-11-11 02:10 +0100
              Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-11 06:40 +0100
  Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-11 09:50 +0100
    Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Soren Stoutner <soren@debian.org> - 2025-11-13 20:10 +0100
      Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Soren Stoutner <soren@debian.org> - 2025-11-18 03:00 +0100
        Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 "Adam D. Barratt" <adam@adam-barratt.org.uk> - 2025-11-18 07:30 +0100
        Bug#1120549: Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-18 09:10 +0100
  Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-11 14:00 +0100
    Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 "Adam D. Barratt" <adam@adam-barratt.org.uk> - 2025-11-11 18:10 +0100
      Bug#1120289: trixie-pu: magit/4.3.5-1+deb13u1 Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-11 22:20 +0100

csiph-web