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


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

Bug#1120549: sbuild: unclear how to do a source-only build

From Soren Stoutner <soren@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1120549: sbuild: unclear how to do a source-only build
Date 2025-11-20 20:30 +0100
Message-ID <LTivT-erJO-5@gated-at.bofh.it> (permalink)
References <LQ6rf-ch6s-5@gated-at.bofh.it> <LT1EJ-egpw-1@gated-at.bofh.it> <LQ6rf-ch6s-5@gated-at.bofh.it> <LT1EJ-egpw-1@gated-at.bofh.it>
Organization Debian

Show all headers | View raw


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

On Wednesday, November 19, 2025 6:23:59 PM Mountain Standard Time Johannes 
Schauer Marin Rodrigues wrote:
> you will end up uploading something else than you told sbuild to build. 
sbuild
> was building the dsc that got copied in (the one produced on the outside) 
but
> what you are uploading is the dsc which sbuild produced. And secondly, you
> are loosing your input as sbuild will overwrite it with the new build
> artifacts it created.

In what was would the .dsc be different?  Shouldn’t they be generated with 
identical information both times?

> > > I think I understand your problem now. Your problem is, that you do not
> > > get
> > > a *_$arch.changes file which includes references to the source package 
and
> > > adding the --source option or $build_source=1 does this and that's why 
you
> > > recommend adding it. Is that correct?
> > 
> > That is correct.  Properly generating complete source.changes and
> > $arch.changes files is an important aspect of the example .sbuildrc on the
> > wiki.
> 
> Would the $both_changes=1 option in your ~/.config/sbuild/config.pl do what
> you want? Use the patch of this MR:
> https://salsa.debian.org/debian/sbuild/-/merge_requests/211

Yes, it looks like that patch would address all my concerns.

-- 
Soren Stoutner
soren@debian.org

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


Thread

Bug#1120549: Reverting incorrect wiki changes Soren Stoutner <soren@debian.org> - 2025-11-18 03:10 +0100
  Bug#1120549: Reverting incorrect wiki changes Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-18 09:20 +0100
    Bug#1120549: sbuild: unclear how to do a source-only build Soren Stoutner <soren@debian.org> - 2025-11-19 03:00 +0100
      Bug#1120549: sbuild: unclear how to do a source-only build Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-19 07:30 +0100
        Bug#1120549: sbuild: unclear how to do a source-only build Soren Stoutner <soren@debian.org> - 2025-11-19 18:20 +0100
          Bug#1120549: sbuild: unclear how to do a source-only build Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-20 02:30 +0100
            Bug#1120549: sbuild: unclear how to do a source-only build Soren Stoutner <soren@debian.org> - 2025-11-20 20:30 +0100
              Bug#1120549: sbuild: unclear how to do a source-only build Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-20 23:00 +0100
                Bug#1120549: sbuild: unclear how to do a source-only build Soren Stoutner <soren@debian.org> - 2025-11-20 23:30 +0100
                Bug#1120549: sbuild: unclear how to do a source-only build Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-21 00:50 +0100
                Bug#1120549: sbuild: unclear how to do a source-only build Soren Stoutner <soren@debian.org> - 2025-11-22 05:10 +0100

csiph-web