Hi Johannes, Johannes Schauer Marin Rodrigues <josch@debian.org> writes: > Hi, > > Quoting Xiyue Deng (2025-11-10 09:36:05) >> Exactly, it didn't! Sorry if my previous email was not clear: `sbuild >> --source-only-changes' only produces *_amd64.buildinfo. >> >> The issue is that in this case, `debsign'ing *_source.changes fails because >> it's looking for *_source.buildinfo but only *_amd64.buildinfo is available. >> So I wonder, how to invoke sbuild so that `debsign'ing *_source.changes can >> succeed OOTB? > > debsign should only look for a *_source.buildinfo if that is what your > *_source.changes references. Is that the case? > That is the case indeed. See the excerpt below: ,---- | ... | Checksums-Sha1: | d90afa378e58b232fe21992cff1fbc7e42977fbd 2363 magit_4.3.5-1+deb13u1.dsc | 37eeba95c013f01e38f7ca39c96d1dbc48f1873a 10788 magit_4.3.5-1+deb13u1.debian.tar.xz | c18b554404aeca8d4c3fd2a50d414085f3c3674a 11079 magit_4.3.5-1+deb13u1_source.buildinfo | Checksums-Sha256: | be20fc0f824bec554d3d927a8783f7231896f5b7c85848491a23289c8784241a 2363 magit_4.3.5-1+deb13u1.dsc | 5659e1e66a333489299044b2860b57994a9094fd258b9584a7d754d8d8146957 10788 magit_4.3.5-1+deb13u1.debian.tar.xz | 9786481e217a4bec28b391d7d4eed5878c3a0b3a4f97c5cfdb23eb182ca5b520 11079 magit_4.3.5-1+deb13u1_source.buildinfo | Files: | 175446d13f8a78c2cbb474c3572e56d0 2363 editors optional magit_4.3.5-1+deb13u1.dsc | 3ef5785c43a8b9718b317ed9cf44af27 10788 editors optional magit_4.3.5-1+deb13u1.debian.tar.xz | 8c97cea70d25224eb52d2a31f05a3842 11079 editors optional magit_4.3.5-1+deb13u1_source.buildinfo | ... `---- 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? P.S. after some digging, it turns out that as a dgit user I should have just run "dgit push-source" which would just DTRT. Still, it would be good to know how to do that using sbuild. > Thanks! > > cheers, josch [1] https://wiki.debian.org/SourceOnlyUpload -- Regards, Xiyue Deng
Attachment:
signature.asc
Description: PGP signature