[git-buildpackage] A basic question to begin

Seamus de Mora seamusdemora at gmail.com
Tue May 3 00:03:44 CEST 2022


> > I just tried this:
> >
> > $ gbp import-dsc https://mirrors.sjtug.sjtu.edu.cn/raspberrypi/debian/pool/main/d/dhcpcd5/dhcpcd5_8.1.2-1+rpt5.dsc
>
> :) Glad to hear that, but where did you find that URL?? And why didn't
> the .dsc file on my local drive work? Is it different from this one?
>
> > which worked as expected:
> >
...
> > This is gbp 0.9.25 but that shouldn't matter much as the dhcpcd package
> > doesn't look special. Does this help?
>
> Certainly does! Let me go through this when I've got a bit more time &
> I'll have some follow-up questions if that's OK. I want to learn all I
> can from this.

I'm baffled. I initially thought that your .dsc file was different
from mine, but that's not it; my local copy & yours are the same.
Here's my attempt to replicate your success:

$ gbp --version
gbp 0.9.22
$ rm -rf dhcpcd
$ gbp import-dsc
https://mirrors.sjtug.sjtu.edu.cn/raspberrypi/debian/pool/main/d/dhcpcd5/dhcpcd5_8.1.2-1+rpt5.dsc
gbp:info: Downloading
'https://mirrors.sjtug.sjtu.edu.cn/raspberrypi/debian/pool/main/d/dhcpcd5/dhcpcd5_8.1.2-1+rpt5.dsc'
using 'dget'...
dhcpcd5_8.1.2-1+rpt5.dsc:
dscverify: dhcpcd5_8.1.2-1+rpt5.dsc failed signature check:
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
gpg: no valid OpenPGP data found.
gpg: processing message failed: Unknown system error
Validation FAILED!!
gbp:error: 'dget --download-only -q
https://mirrors.sjtug.sjtu.edu.cn/raspberrypi/debian/pool/main/d/dhcpcd5/dhcpcd5_8.1.2-1+rpt5.dsc'
failed: it exited with 1

Isn't this due only to the fact that I don't have OpenPGP installed on my RPi?

And if so, why wouldn't this work also - given that the local & remote
.dsc files are identical? :

$ pwd
dhcpcd5
$ gbp import-dsc ../dhcpcd5_8.1.2-1+rpt5

I did not see an option to ignore signature checks. I get the feeling
I am missing something rather fundamental, but I've no clue as to what
it is.

Thnx,
~S


More information about the git-buildpackage mailing list