Am 13.01.2023 um 21:50 schrieb Helge Kreutzmann:

> Hello Sven,
> On Fri, Jan 13, 2023 at 09:36:47PM +0100, Sven Joachim wrote:
>> Am 13.01.2023 um 21:16 schrieb Helge Kreutzmann:
>> > 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?
>
> Please find it attached.
>
> As you can see, "linuxinfo_4.1.2.orig.tar.xz.asc" is contained in the
> .dsc file, but not in the .changes file.

This is the opposite of what you wrote in the original report (where the
.asc file was in the changes file and not in the .dsc), and is in fact
normal as you did not include the upstream sources (the default if
debian/changelog indicates that this is not the first debian revision).

> When I uploaded this (with -2) the archive rejected this.

Yes, because your .dsc file referenced the .asc file, but the changes
file did not include it, nor was the file already in the archive.

> I manually edited the .changes to add
> "linuxinfo_4.1.2.orig.tar.xz.asc", and this worked.

I guess could also have passed "-sa" to dpkg-buildpackage to include the
full sources again, but whatever worked for you.

Still I am unable to reproduce your original problem.

Cheers,
       Sven

Reply via email to