Hi Chris, On 5/2/22 13:04, Chris wrote:
On 2022-05-02 11:21, Janky Jay, III wrote:I think you may have provided me with both the problem && solution. I'm performing all of this within a jail(8) && my copy of git is not the newest; the resources are also less than those of the host. So I would venture a guess that at *least* one ofHi Chris,On 5/2/22 11:09, Chris wrote:I'm a maintainer for well over 100 ports. But more often than not, I am not permitted to obtain the ports tree from any of the FreeBSD git servers:# git clone -o freebsd --config remote.freebsd.fetch='+refs/notes/*:refs/notes/*' https://git.freebsd.org/ports.git PORTS-20220502returns:error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504fatal: error reading section header 'shallow-info'I've run into this issue in the past with older versions of git. I found that updating my version of git to anything equal or newer than 2.35.1 resolved it.If you can't update your git version because you can't update your ports tree, I found that adjusting the size of the global config for git's "http.postBuffer" to500MB fixed the issue for older git versions: # git config --global http.postBuffer 524288000 Hope that helps!your proposed solution gets it for me.
Just a quick FYI, the 500MB was just the first number I tried when tinkering and trying to resolve the issue I was having. It's very possible that number could be much, much lower and still work for you. Maybe try adding 10MB at a time and give it a shot. Might just work immediately. *shrug*
Regards, Janky Jay, III
OpenPGP_signature
Description: OpenPGP digital signature
