You are not logged in.
For some very strange reason, if a PKGBUILD contains for example:
source=('gdb::git+https://sourceware.org/git/binutils-gdb.git')
(Notice the gdb:: part) makepkg fails on the git checkout like this:
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 I can checkout, no problem.
Checking it out manually like this:
git clone https://sourceware.org/git/binutils-gdb.git gdb
Also works, no problem.
This does not fail on Arch Linux when running it on bare metal, it only happens in my lxc container (host is running Ubuntu 23.04)
Help?
Offline
What's in makepkg.conf?
Offline
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
This is probably not a AUR issue, but either a lxc and/or pacman/makepkg issue. It just happens that I've got this problem with a PKGBUILD from AUR. Any PKGBUILD that uses the "folder::git+<url>" exposes this.
I've just tried now with the default makepkg.conf and the same thing happens. The only change I've got are SRCDEST and BUILDDIR.
Offline
What are the curl & git versions used in the container ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
[solskogen@archlinux-builder gdb-git]$ git --version
git version 2.41.0
[solskogen@archlinux-builder gdb-git]$ curl --version
curl 8.1.2 (x86_64-pc-linux-gnu) libcurl/8.1.2 OpenSSL/3.1.1 zlib/1.2.13 brotli/1.0.9 zstd/1.5.5 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) libssh2/1.11.0 nghttp2/1.54.0
Release-Date: 2023-05-30
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
The container is fully up to date.
Offline