Re: git clone issues on 15.1-RELEASE on arm64
"Nenhum_de_Nos" <[email protected]> Sat, 01 Aug 2026 15:46:25 +0000
| Newsgroups | gmane.os.freebsd.stable |
|---|---|
| Message-ID | <[email protected]> |
--9e5bae9b-314e-41f7-b67c-d7f78af6dfdf-1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable August 1, 2026 at 10:47 AM, "Karl Denninger" <[email protected] mailto:k= [email protected]?to=3D%22Karl%20Denninger%22%20%3Ckarl%40denninger.net%3= E > wrote: >=20 >=20The problem appears to be at this point: >=20 >=20Cloning into '/usr/src'... > fatal: unable to access 'https://git.FreeBSD.org/src.git/ https://git.f= reebsd.org/src.git/ ': Resolving timed out after 300226 milliseconds=20 >=20 > I do not know why, however, because my "base" source git clone has in i= ts config the following: >=20 >=20=20 >=20 > [remote "freebsd"] > =C2=A0 =C2=A0 =C2=A0 =C2=A0 url =3D https://git.freebsd.org/src.git > =C2=A0 =C2=A0 =C2=A0 =C2=A0 fetch =3D +refs/heads/*:refs/remotes/freeb= sd/* >=20 >=20=20 >=20 > And it works. >=20 >=20=20 >=20 > I have several worktrees checked out against that since I build for 14-= STABLE and 15-STABLE at this point for distribution to machines running A= RM64 and AMD64. >=20 >=20=20 >=20 > My latest "git pull --ff-only" to so-update was this morning. >=20 >=20=20 >=20On 8/1/2026 09:36, Nenhum_de_Nos wrote:=20 >=20=20 >=20>=20 >=20> Hi, > >=20 >=20> I have been fighting this issue for 2 weeks now, I guess its time t= o ask here. The problem: > >=20 >=20> root@arm_build_hd:/usr # rm -rf src/ > > root@arm_build_hd:/usr # /root/git/freebsd_config/freebsd_git/src_git= _checkout_15.1R.sh > > Cloning into '/usr/src'... > > fatal: unable to access 'https://git.FreeBSD.org/src.git/ https://git= .freebsd.org/src.git/ ': Resolving timed out after 300226 milliseconds > > root@arm_build_hd:/usr # /root/git/freebsd_config/freebsd_git/src_git= _checkout_15.1R.sh > > Cloning into '/usr/src'... > > remote: Enumerating objects: 4850942, done. > > remote: Counting objects: 100% (384686/384686), done. > > remote: Compressing objects: 100% (29598/29598), done. > > error: RPC failed; curl 56 OpenSSL SSL_read: OpenSSL/3.5.6: error:0A0= 00126:SSL routines::unexpected eof while reading, errno 0 > > error: 73 bytes of body are still expected > > fetch-pack: unexpected disconnect while reading sideband packet > > fatal: early EOF > > fatal: fetch-pack: invalid index-pack output > > root@arm_build_hd:/usr # /root/git/freebsd_config/freebsd_git/src_git= _checkout_15.1R.sh > > you have mail > > Cloning into '/usr/src'... > > fatal: unable to access 'https://git.FreeBSD.org/src.git/ https://git= .freebsd.org/src.git/ ': Resolving timed out after 300040 milliseconds > > root@arm_build_hd:/usr # cat /root/git/freebsd_config/freebsd_git/src= _git_checkout_15.1R.sh > > git clone --branch releng/15.1 https://git.FreeBSD.org/src.git https:= //git.freebsd.org/src.git /usr/src=20 >=20> root@arm_build_hd:/usr #=20 >=20>=20 >=20> On two Orange Pi 5 Plus 16GB I have FreeBSD 15.1-R installed so I c= an build opnsense for arm64 (this is not relevant for the problem, except= for one detail I will tell later). This box above had 14.3-R running fin= e, all build times were fine, git worked perfectly. Since I needed to upg= rade to 15.1-R, git stopped working as it was expected (and presented abo= ve). > >=20 >=20> I looked for DNS reasons, changed DNS server, local server, remote = server, kept ping github.com while cloning, no good. I started using the = upgraded box, then I got another similar arm64 box and installed fresh 15= .1-R, everytime the same issue. The one detail I told about opnsense buil= ding is that I use pkg 2.3.1_1, as is the version that ships on the image= s and the port is on opnsense ports github repo. Other than that, regular= FreeBSD 15.1-R. I download the github zip file for ports, run make insta= ll on the pkg port and lock the package after. Used to work fine, can thi= s be the culprit? I got some messages after upgrade about libpkg not the = same version or database version. But I then installed it all over and no= more of that. > >=20 >=20> So I tried to clone the repo today on a Linux Desktop here (Linux M= int), all fine. Same network, same servers, same ISP. I then tried on an = old amd64 box running FreeBSD 15.1-R. Again, fine. Both my arm64 failed, = even after fresh install. Can the pkg port be the one? Before I forget, b= oth the arm64 run on magnetic HDDs over USB adapter and all other run on = SSDs over SATA. Would this make this all happen? > >=20 >=20> After several tries (3 days) I got to clone the repo and got to sta= rt building. Ports used to take 24h and now runs for 5 days. So I got inf= o about llvm changes and got the config to try to solve this (/etc/src.co= nf), and my point is just that, I need to build vanilla FreeBSD 15.1-R on= arm64 (just using older pkg, I can try to not change now if people think= may help) so I can have world and kernel using llvm options from 14.X. > >=20 >=20> If anyone saw anything on this matter and could help :) > >=20 >=20> Thanks, > >=20 >=20> matheus > >=20 >=20> ------------ > > "We will call you Cygnus, > > The God of balance you shall be." > > >=20 Hi. I=20reinstalled 15.1-R and used its version of pkg. Same outcome: root@arm_build_hd:~/git/freebsd_config/freebsd_git # ./src_git_checkout_1= 5.1R.sh=C2=A0 Cloning into '/usr/src'... remote: Enumerating objects: 4851039, done. remote: Counting objects: 100% (384706/384706), done. remote: Compressing objects: 100% (29618/29618), done. error: RPC failed; curl 56 OpenSSL SSL_read: OpenSSL/3.5.6: error:0A00012= 6:SSL routines::unexpected eof while reading, errno 0 error: 6161 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output root@arm_build_hd:~/git/freebsd_config/freebsd_git # pkg version | grep p= kg pkg-2.7.5=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 =3D root@arm_build_hd:~/git/freebsd_config/freebsd_git #=C2=A0 another info. amd64 box uses pkgbase, the arm64 do not. thanks, matheus ------------ "We will call you Cygnus, The God of balance you shall be." --9e5bae9b-314e-41f7-b67c-d7f78af6dfdf-1 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <!DOCTYPE html><html><head><meta http-equiv=3D"Content-Type" content=3D"t= ext/html; charset=3Dutf-8"></head><body><div><br><br></div><p>August 1, 2= 026 at 10:47 AM, "Karl Denninger" <<a href=3D"mailto:[email protected]= t?to=3D%22Karl%20Denninger%22%20%3Ckarl%40denninger.net%3E" target=3D"_bl= ank" tabindex=3D"-1">[email protected]</a>> wrote:</p><blockquote><pr= e>The problem appears to be at this point: Cloning into '/usr/src'... fatal: unable to access '<a href=3D"https://git.freebsd.org/src.git/" tar= get=3D"_blank" tabindex=3D"-1">https://git.FreeBSD.org/src.git/</a>': Res= olving timed out after 300226 milliseconds</pre> <p>I do not know why, however, because my "base" source git clone has in its config the following:</p> <p>[remote "freebsd"]<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 url =3D <a href=3D"https://git.freebsd.= org/src.git" target=3D"_blank" tabindex=3D"-1">https://git.freebsd.org/sr= c.git</a><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 fetch =3D +refs/heads/*:refs/remotes/fr= eebsd/*</p> <p>And it works.</p> <p>I have several worktrees checked out against that since I build for 14-STABLE and 15-STABLE at this point for distribution to machines running ARM64 and AMD64.</p> <p>My latest "git pull --ff-only" to so-update was this morning.</p> <div>On 8/1/2026 09:36, Nenhum_de_Nos wrote: </div> <blockquote> <pre>Hi, I have been fighting this issue for 2 weeks now, I guess its time to ask = here. The problem: root@arm_build_hd:/usr # rm -rf src/ root@arm_build_hd:/usr # /root/git/freebsd_config/freebsd_git/src_git_che= ckout_15.1R.sh Cloning into '/usr/src'... fatal: unable to access '<a href=3D"https://git.freebsd.org/src.git/" tar= get=3D"_blank" tabindex=3D"-1">https://git.FreeBSD.org/src.git/</a>': Res= olving timed out after 300226 milliseconds root@arm_build_hd:/usr # /root/git/freebsd_config/freebsd_git/src_git_che= ckout_15.1R.sh Cloning into '/usr/src'... remote: Enumerating objects: 4850942, done. remote: Counting objects: 100% (384686/384686), done. remote: Compressing objects: 100% (29598/29598), done. error: RPC failed; curl 56 OpenSSL SSL_read: OpenSSL/3.5.6: error:0A00012= 6:SSL routines::unexpected eof while reading, errno 0 error: 73 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output root@arm_build_hd:/usr # /root/git/freebsd_config/freebsd_git/src_git_che= ckout_15.1R.sh you have mail Cloning into '/usr/src'... fatal: unable to access '<a href=3D"https://git.freebsd.org/src.git/" tar= get=3D"_blank" tabindex=3D"-1">https://git.FreeBSD.org/src.git/</a>': Res= olving timed out after 300040 milliseconds root@arm_build_hd:/usr # cat /root/git/freebsd_config/freebsd_git/src_git= _checkout_15.1R.sh git clone --branch releng/15.1 <a href=3D"https://git.freebsd.org/src.git= " target=3D"_blank" tabindex=3D"-1">https://git.FreeBSD.org/src.git</a> /= usr/src=20 root@arm_build_hd:/usr=20#=20 On=20two Orange Pi 5 Plus 16GB I have FreeBSD 15.1-R installed so I can b= uild opnsense for arm64 (this is not relevant for the problem, except for= one detail I will tell later). This box above had 14.3-R running fine, a= ll build times were fine, git worked perfectly. Since I needed to upgrade= to 15.1-R, git stopped working as it was expected (and presented above). I looked for DNS reasons, changed DNS server, local server, remote server= , kept ping github.com while cloning, no good. I started using the upgrad= ed box, then I got another similar arm64 box and installed fresh 15.1-R, = everytime the same issue. The one detail I told about opnsense building i= s that I use pkg 2.3.1_1, as is the version that ships on the images and = the port is on opnsense ports github repo. Other than that, regular FreeB= SD 15.1-R. I download the github zip file for ports, run make install on = the pkg port and lock the package after. Used to work fine, can this be t= he culprit? I got some messages after upgrade about libpkg not the same v= ersion or database version. But I then installed it all over and no more = of that. So I tried to clone the repo today on a Linux Desktop here (Linux Mint), = all fine. Same network, same servers, same ISP. I then tried on an old am= d64 box running FreeBSD 15.1-R. Again, fine. Both my arm64 failed, even a= fter fresh install. Can the pkg port be the one? Before I forget, both th= e arm64 run on magnetic HDDs over USB adapter and all other run on SSDs o= ver SATA. Would this make this all happen? After several tries (3 days) I got to clone the repo and got to start bui= lding. Ports used to take 24h and now runs for 5 days. So I got info abou= t llvm changes and got the config to try to solve this (/etc/src.conf), a= nd my point is just that, I need to build vanilla FreeBSD 15.1-R on arm64= (just using older pkg, I can try to not change now if people think may h= elp) so I can have world and kernel using llvm options from 14.X. If anyone saw anything on this matter and could help :) Thanks, matheus ------------ "We will call you Cygnus, The God of balance you shall be." </pre> </blockquote> </blockquote><div><br></div><div>Hi.</div><div><br></div><div>I reins= talled 15.1-R and used its version of pkg. Same outcome:</div><div><br></= div><div>root@arm_build_hd:~/git/freebsd_config/freebsd_git # ./src_git_c= heckout_15.1R.sh=C2=A0</div><div>Cloning into '/usr/src'...</div><div>rem= ote: Enumerating objects: 4851039, done.</div><div>remote: Counting objec= ts: 100% (384706/384706), done.</div><div>remote: Compressing objects: 10= 0% (29618/29618), done.</div><div>error: RPC failed; curl 56 OpenSSL SSL_= read: OpenSSL/3.5.6: error:0A000126:SSL routines::unexpected eof while re= ading, errno 0</div><div>error: 6161 bytes of body are still expected</di= v><div>fetch-pack: unexpected disconnect while reading sideband packet</d= iv><div>fatal: early EOF</div><div>fatal: fetch-pack: invalid index-pack = output</div><div>root@arm_build_hd:~/git/freebsd_config/freebsd_git # pkg= version | grep pkg</div><div>pkg-2.7.5=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D</div><div>root@arm_buil= d_hd:~/git/freebsd_config/freebsd_git #=C2=A0</div><div><br></div><div>an= other info. amd64 box uses pkgbase, the arm64 do not.</div><div><br></div= ><div>thanks,</div><div><br></div><div>matheus</div><br><br><div class=3D= "rl-signature">------------<br>"We will call you Cygnus,<br>The God of ba= lance you shall be."</div></body></html> --9e5bae9b-314e-41f7-b67c-d7f78af6dfdf-1--