Hello Helge, Am 13.01.2023 um 21:16 schrieb Helge Kreutzmann:
> Hello Sven, > On Fri, Jan 13, 2023 at 09:05:21PM +0100, Sven Joachim wrote: >> Am 12.01.2023 um 11:29 schrieb Helge Kreutzmann: >> >> > Package: dpkg-dev >> > Version: 1.21.17 >> > Severity: normal >> > >> > I got a linitian error for my package (linuxinfo) that the upstream >> > signature is missing and should be put alongside the .orig.tar.xz >> > during the build. >> > >> > This worked, the signature was included in the .changes file. However, >> > it is not included in the .dsc file. >> >> I cannot reproduce this. If I provide the upstream signature as >> linuxinfo_4.1.2.orig.tar.xz.asc, it ends up in both the .changes and the >> .dsc files. The .changes file for linuxinfo 4.1.2-1 which you uploaded[1] >> does not contain it. > > Maybe we use the tools differently? > > Since we use source only uploads, I run: > dpkg-buildpackage --changes-option=-S I was a bit lazier and ran "dpkg-buildpackage -S", not even bothering to build binaries. But it does not really matter, as ultimately every tool eventually runs "dpkg-source -b ." to create the .dsc file. Here is what I got with your command: ,---- | $ LANG=C dpkg-buildpackage -uc -us --changes-option=-S | dpkg-buildpackage: info: source package linuxinfo | dpkg-buildpackage: info: source version 4.1.2-3 | dpkg-buildpackage: info: source distribution unstable | dpkg-buildpackage: info: source changed by Helge Kreutzmann <deb...@helgefjell.de> | dpkg-source --before-build . | dpkg-buildpackage: info: host architecture amd64 | debian/rules clean | dh clean | dh_clean | dpkg-source -b . | dpkg-source: info: using source format '3.0 (quilt)' | dpkg-source: info: verifying ./linuxinfo_4.1.2.orig.tar.xz.asc | dpkg-source: info: building linuxinfo using existing ./linuxinfo_4.1.2.orig.tar.xz | dpkg-source: info: building linuxinfo using existing ./linuxinfo_4.1.2.orig.tar.xz.asc | dpkg-source: info: building linuxinfo in linuxinfo_4.1.2-3.debian.tar.xz | dpkg-source: info: building linuxinfo in linuxinfo_4.1.2-3.dsc | [...] `---- As you can see, dpkg-source included the orig.tar.xz.asc file. > And I screwed up linuxinfo 4.1.2-1, thus I decided to also include the > signature and tried to do 4.1.2-2 (which failed) and manually added it > in 4.1.2-3 (which is now in the archive). > > For now, I noticed down to add the asc file manually, but I don't > think this is a desirable solution. Can you please send a build log? Cheers, Sven