FS#78902 - makepkg and vcs

Attached to Project: Community Packages
Opened by Christer Solskogen (solskogen) - Tuesday, 27 June 2023, 06:55 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 27 June 2023, 07:15 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
While trying to compile gdb-git (from AUR) it seems like makepkg doesn't quite understand the folder part of:
source=('gdb::git+https://sourceware.org/git/binutils-gdb.git')

-> Cloning gdb git repo...
Cloning into bare repository '/home/sources/gdb'...
error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408
fatal: expected 'packfile'
==> ERROR: Failure while downloading gdb git repo
Aborting...


If I remove the "gdb::" part it works.

Additional info:
makepkg --version
makepkg (pacman) 6.0.2
Copyright (c) 2006-2021 Pacman Development Team <pacman-dev@archlinux.org>.
Copyright (C) 2002-2006 Judd Vinet <jvinet@zeroflux.org>.


Steps to reproduce:
makepkg the gdb-git package.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 27 June 2023, 07:15 GMT
Reason for closing:  Works for me
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Tuesday, 27 June 2023, 07:15 GMT
Cannot repro. Something seems amiss on your system or you're possibly experiencing weird network issues.

> error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408

Why is it using curl to download a git source? You appear to have local issues.

Loading...