• on git cloning src.git

    From Johanne Fairchild@21:1/5 to All on Thu Mar 28 22:31:55 2024
    I am not doing well with git cloning either ports or src. I apparently downloaded all the source code, but git is frozen at the last step. I
    don't have my shell back and I don't see any files in /usr/src.

    Here's my first attempt:

    --8<---------------cut here---------------start------------->8---
    # git clone -o freebsd https://git.FreeBSD.org/src.git /usr/src
    Cloning into '/usr/src'...
    remote: Enumerating objects: 4477011, done.
    remote: Counting objects: 100% (382834/382834), done.
    remote: Compressing objects: 100% (28535/28535), done.
    Receiving objects: 100% (4477011/4477011), 1.63 GiB | 14.53 MiB/s, done. remote: Total 4477011 (delta 377113), reused 354299 (delta 354299), pack-reused 4094177
    Resolving deltas: 100% (3558675/3558675), done.
    Checking objects: 100% (16777216/16777216), done.

    --8<---------------cut here---------------end--------------->8---

    I then gave up and pressed C-c.

    I tried a second time, but also trying to clone ports in parallel. Both terminated at the same time with the message:

    # git clone -o freebsd https://git.FreeBSD.org/src.git /usr/src
    Cloning into '/usr/src'...
    remote: Enumerating objects: 4477016, done.
    remote: Counting objects: 100% (382834/382834), done.
    remote: Compressing objects: 100% (28535/28535), done.
    Receiving objects: 100% (4477016/4477016), 1.63 GiB | 8.82 MiB/s, done.
    remote: Total 4477016 (delta 377118), reused 354299 (delta 354299), pack-reused 4094182
    fatal: fetch-pack: invalid index-pack output
    #

    %sudo git clone https://git.FreeBSD.org/ports.git /usr/ports
    Cloning into '/usr/ports'...
    remote: Enumerating objects: 6155775, done.
    remote: Counting objects: 100% (936/936), done.
    remote: Compressing objects: 100% (120/120), done.
    fatal: fetch-pack: invalid index-pack output47.90 MiB | 24.00 KiB/s
    %

    My download rate begins megabytes per second, but then it lowers to KiB
    per second and at this run, I got ``invalid index-pack''. Am I having
    network problems? This is the cheapest virtual machine in AWS.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to jfairchild@tudado.org on Fri Mar 29 12:23:43 2024
    In article <87plvd2584.fsf@tudado.org>,
    Johanne Fairchild <jfairchild@tudado.org> wrote:
    My download rate begins megabytes per second, but then it lowers to KiB
    per second and at this run, I got ``invalid index-pack''. Am I having >network problems? This is the cheapest virtual machine in AWS.

    Are you able to clone the mirror hosted on GitHub? <URL:https://github.com/freebsd/freebsd-ports.git>

    John
    groenveld@acm.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Doctor@21:1/5 to John D Groenveld on Fri Mar 29 13:40:09 2024
    In article <l6nq6fF4ncvU1@mid.individual.net>,
    John D Groenveld <groenveld@acm.org> wrote:
    In article <87plvd2584.fsf@tudado.org>,
    Johanne Fairchild <jfairchild@tudado.org> wrote:
    My download rate begins megabytes per second, but then it lowers to KiB
    per second and at this run, I got ``invalid index-pack''. Am I having >>network problems? This is the cheapest virtual machine in AWS.

    Are you able to clone the mirror hosted on GitHub? ><URL:https://github.com/freebsd/freebsd-ports.git>

    John
    groenveld@acm.org

    What CLI are you using?
    --
    Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
    Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism ; unsubscribe from Google Groups to be seen What worth the power of law that won't stop lawlessness? -unknown

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johanne Fairchild@21:1/5 to The Doctor on Fri Mar 29 11:25:58 2024
    doctor@doctor.nl2k.ab.ca (The Doctor) writes:

    In article <l6nq6fF4ncvU1@mid.individual.net>,
    John D Groenveld <groenveld@acm.org> wrote:
    In article <87plvd2584.fsf@tudado.org>,
    Johanne Fairchild <jfairchild@tudado.org> wrote:
    My download rate begins megabytes per second, but then it lowers to KiB >>>per second and at this run, I got ``invalid index-pack''. Am I having >>>network problems? This is the cheapest virtual machine in AWS.

    Are you able to clone the mirror hosted on GitHub? >><URL:https://github.com/freebsd/freebsd-ports.git>

    John
    groenveld@acm.org

    What CLI are you using?

    %git --version
    git version 2.43.0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johanne Fairchild@21:1/5 to John D Groenveld on Fri Mar 29 11:25:26 2024
    groenveld@acm.org (John D Groenveld) writes:

    In article <87plvd2584.fsf@tudado.org>,
    Johanne Fairchild <jfairchild@tudado.org> wrote:
    My download rate begins megabytes per second, but then it lowers to KiB
    per second and at this run, I got ``invalid index-pack''. Am I having >>network problems? This is the cheapest virtual machine in AWS.

    Are you able to clone the mirror hosted on GitHub? <URL:https://github.com/freebsd/freebsd-ports.git>

    The speed began high---27 MiB/s---, but then it fell, stalled and ended
    with this error.

    %git clone -o freebsd https://github.com/freebsd/freebsd-ports.git
    Cloning into 'freebsd-ports'...
    remote: Enumerating objects: 6156144, done.
    remote: Counting objects: 100% (16085/16085), done.
    remote: Compressing objects: 100% (11075/11075), done.
    Receiving objects: 81% (4995725/6156144), 1.98 GiB | 1.19 MiB/s

    error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
    error: 6065 bytes of body are still expected
    fetch-pack: unexpected disconnect while reading sideband packet
    fatal: early EOF
    fatal: fetch-pack: invalid index-pack output
    %

    %git --version
    git version 2.43.0

    Let me run it again so you can have a notion of how long it takes.

    %time git clone -o freebsd https://github.com/freebsd/freebsd-ports.git
    Cloning into 'freebsd-ports'...
    remote: Enumerating objects: 6156144, done.
    remote: Counting objects: 100% (16085/16085), done.
    remote: Compressing objects: 100% (11075/11075), done.
    error: RPC failed; curl 56 Recv failure: Connection reset by peer
    error: 6881 bytes of body are still expected
    fetch-pack: unexpected disconnect while reading sideband packet
    fatal: early EOF
    fatal: fetch-pack: invalid index-pack output
    309.22 real 0.44 user 2.83 sys
    %

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johanne Fairchild@21:1/5 to Johanne Fairchild on Fri Mar 29 12:24:45 2024
    Johanne Fairchild <jfairchild@tudado.org> writes:

    groenveld@acm.org (John D Groenveld) writes:

    In article <87plvd2584.fsf@tudado.org>,
    Johanne Fairchild <jfairchild@tudado.org> wrote:
    My download rate begins megabytes per second, but then it lowers to KiB >>>per second and at this run, I got ``invalid index-pack''. Am I having >>>network problems? This is the cheapest virtual machine in AWS.

    Are you able to clone the mirror hosted on GitHub?
    <URL:https://github.com/freebsd/freebsd-ports.git>

    The speed began high---27 MiB/s---, but then it fell, stalled and ended
    with this error.

    %git clone -o freebsd https://github.com/freebsd/freebsd-ports.git
    Cloning into 'freebsd-ports'...
    remote: Enumerating objects: 6156144, done.
    remote: Counting objects: 100% (16085/16085), done.
    remote: Compressing objects: 100% (11075/11075), done.
    Receiving objects: 81% (4995725/6156144), 1.98 GiB | 1.19 MiB/s

    error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly:
    CANCEL (err 8)
    error: 6065 bytes of body are still expected
    fetch-pack: unexpected disconnect while reading sideband packet
    fatal: early EOF
    fatal: fetch-pack: invalid index-pack output
    %

    %git --version
    git version 2.43.0

    Let me run it again so you can have a notion of how long it takes.

    %time git clone -o freebsd https://github.com/freebsd/freebsd-ports.git Cloning into 'freebsd-ports'...
    remote: Enumerating objects: 6156144, done.
    remote: Counting objects: 100% (16085/16085), done.
    remote: Compressing objects: 100% (11075/11075), done.
    error: RPC failed; curl 56 Recv failure: Connection reset by peer
    error: 6881 bytes of body are still expected
    fetch-pack: unexpected disconnect while reading sideband packet
    fatal: early EOF
    fatal: fetch-pack: invalid index-pack output
    309.22 real 0.44 user 2.83 sys
    %

    Sorry. This seems to have nothing to do with FreeBSD. I believe I
    can't clone any large repository.

    %git clone https://github.com/torvalds/linux
    Cloning into 'linux'...
    remote: Enumerating objects: 10102796, done.
    fatal: fetch-pack: invalid index-pack output4.65 GiB | 1.86 MiB/s
    error: git-remote-https died of signal 9
    fetch-pack: unexpected disconnect while reading sideband packet
    %

    But I can do just fine with small ones.

    %git clone https://github.com/meixler/vix
    Cloning into 'vix'...
    remote: Enumerating objects: 12, done.
    remote: Counting objects: 100% (12/12), done.
    remote: Compressing objects: 100% (12/12), done.
    remote: Total 12 (delta 2), reused 0 (delta 0), pack-reused 0
    Receiving objects: 100% (12/12), 6.95 KiB | 6.96 MiB/s, done.
    Resolving deltas: 100% (2/2), done.
    %

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Doctor@21:1/5 to jfairchild@tudado.org on Fri Mar 29 17:47:09 2024
    In article <87frw9w1wp.fsf@tudado.org>,
    Johanne Fairchild <jfairchild@tudado.org> wrote:
    groenveld@acm.org (John D Groenveld) writes:

    In article <87plvd2584.fsf@tudado.org>,
    Johanne Fairchild <jfairchild@tudado.org> wrote:
    My download rate begins megabytes per second, but then it lowers to KiB >>>per second and at this run, I got ``invalid index-pack''. Am I having >>>network problems? This is the cheapest virtual machine in AWS.

    Are you able to clone the mirror hosted on GitHub?
    <URL:https://github.com/freebsd/freebsd-ports.git>

    The speed began high---27 MiB/s---, but then it fell, stalled and ended
    with this error.

    %git clone -o freebsd https://github.com/freebsd/freebsd-ports.git
    Cloning into 'freebsd-ports'...
    remote: Enumerating objects: 6156144, done.
    remote: Counting objects: 100% (16085/16085), done.
    remote: Compressing objects: 100% (11075/11075), done.
    Receiving objects: 81% (4995725/6156144), 1.98 GiB | 1.19 MiB/s

    error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly:
    CANCEL (err 8)
    error: 6065 bytes of body are still expected
    fetch-pack: unexpected disconnect while reading sideband packet
    fatal: early EOF
    fatal: fetch-pack: invalid index-pack output
    %

    %git --version
    git version 2.43.0

    Let me run it again so you can have a notion of how long it takes.

    %time git clone -o freebsd https://github.com/freebsd/freebsd-ports.git >Cloning into 'freebsd-ports'...
    remote: Enumerating objects: 6156144, done.
    remote: Counting objects: 100% (16085/16085), done.
    remote: Compressing objects: 100% (11075/11075), done.
    error: RPC failed; curl 56 Recv failure: Connection reset by peer
    error: 6881 bytes of body are still expected
    fetch-pack: unexpected disconnect while reading sideband packet
    fatal: early EOF
    fatal: fetch-pack: invalid index-pack output
    309.22 real 0.44 user 2.83 sys
    %

    That looks wrong!

    --
    Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
    Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism ; unsubscribe from Google Groups to be seen What worth the power of law that won't stop lawlessness? -unknown

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Philippe Michel@21:1/5 to Johanne Fairchild on Sun Mar 31 22:34:06 2024
    On 2024-03-29, Johanne Fairchild <jfairchild@tudado.org> wrote:

    Sorry. This seems to have nothing to do with FreeBSD. I believe I
    can't clone any large repository.

    But I can do just fine with small ones.

    Depending on what you intent to do with it, a shallow clone of a
    specific branch might be enough and will be much smaller than the entire
    src. Something like:
    git clone -b stable/14 --depth 1 https://git.freebsd.org/src.git /usr/src

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johanne Fairchild@21:1/5 to Philippe Michel on Sun Mar 31 22:12:49 2024
    Philippe Michel <philippe.michel7@free.fr.invalid> writes:

    On 2024-03-29, Johanne Fairchild <jfairchild@tudado.org> wrote:

    Sorry. This seems to have nothing to do with FreeBSD. I believe I
    can't clone any large repository.

    But I can do just fine with small ones.

    Depending on what you intent to do with it, a shallow clone of a
    specific branch might be enough and will be much smaller than the entire
    src. Something like:
    git clone -b stable/14 --depth 1 https://git.freebsd.org/src.git /usr/src

    That worked well. I don't need the full repository. I just want to
    read the current source code. It turns out I was able to clone the
    whole thing, but I had to upgrade the AWS virtual machine from the $3.5
    one to the $10 one. (I did not try the $5 one.) There must be
    resource-quotas that somehow did not let the cloning take place. I
    don't know how it works. Thanks very much.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)