[git-buildpackage] A basic question to begin

Seamus de Mora seamusdemora at gmail.com
Tue May 3 10:31:47 CEST 2022


On Tue, May 3, 2022 at 1:55 AM Guido Günther <agx at sigxcpu.org> wrote:
>
> Hi,
> On Mon, May 02, 2022 at 05:03:44PM -0500, Seamus de Mora wrote:
> > 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
>
> See `man gbp-imort-dsc`:
>
> --allow-unauthenticated
>               Whether to skip signature verification on
>               downloads. Passed on verbatim to dget and apt-get
>               respectively. Use with care.

Whoops - sorry about that!

Eventually succeeded with this (thanks!), but a couple of things:
I.  1st try => 'gbp:error: Git command failed: Error running git branch:
fatal: A branch named 'master' already exists.'
     I still don't understand this error. 'man gbp-import-dsc' says
'--debian-branch=branch_name...Default is master.'
    My ~/.gitconfig: 'defaultBranch = main'

II. I was expecting that the folder name created by 'gbp' would be
'dhcpcd5-8.1.2' instead of 'dhcpcd5`. Why is it different from what you get
when using 'apt-get source dhcpcd5'?

FWIW, I experimented with my local .dsc file. 'man gbp-import-dsc' suggests
usage of a local .dsc as follows:
'gbp import-dsc ../hello_2.10-1.dsc'
Which implied to me that the folder should be created, then descend into it
before running this command.
But when I did that, it created another folder with the same name; i.e.
~/dhcpcd5/dhcpcd5
>From ~/ I did 'gbp import-dsc hello_2.10-1.dsc' - which seems to work OK.

Thanks again for your help!
~S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sigxcpu.org/pipermail/git-buildpackage/attachments/20220503/01237a3a/attachment.html>


More information about the git-buildpackage mailing list