Hi, On Tue, May 03, 2022 at 03:31:47AM -0500, Seamus de Mora wrote: > On Tue, May 3, 2022 at 1:55 AM Guido Günther <[email protected]> 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.'
You likely ran it from a repo with that branch. > 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'? Because it expects that you do further work in that repo so adding a version number doesn't make much sense. > 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. this is true when you run it inside an existing repo as it assume you update. If you run from a outside repo it creates one, that's why the log says: gbp:info: No git repository found, creating one. Cheers, -- Guido > 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 _______________________________________________ git-buildpackage mailing list [email protected] http://lists.sigxcpu.org/mailman/listinfo/git-buildpackage
