SimulaVR / Simula

Linux VR Desktop
MIT License
2.94k stars 87 forks source link

m4 cannot be cloned #202

Open Frityet opened 1 month ago

Frityet commented 1 month ago
📦[frityet@envision Simula]$ git submodule update --init --recursive
Cloning into '/home/frityet/Packages/Simula/submodules/wlroots/libxcb-errors/m4'...
fatal: read error: Connection reset by peer
fatal: clone of 'git://anongit.freedesktop.org/xcb/util-common-m4.git' into submodule path '/home/frityet/Packages/Simula/submodules/wlroots/libxcb-errors/m4' failed
Failed to clone 'm4'. Retry scheduled
Cloning into '/home/frityet/Packages/Simula/submodules/wlroots/libxcb-errors/m4'...
fatal: read error: Connection reset by peer
fatal: clone of 'git://anongit.freedesktop.org/xcb/util-common-m4.git' into submodule path '/home/frityet/Packages/Simula/submodules/wlroots/libxcb-errors/m4' failed
Failed to clone 'm4' a second time, aborting
fatal: Failed to recurse into submodule path 'submodules/wlroots/libxcb-errors'
fatal: Failed to recurse into submodule path 'submodules/wlroots'

No matter what I try this cannot be cloned at all

Frityet commented 1 month ago

Seems like https://anongit.freedesktop.org/xcb/util-common-m4 is dead

Frityet commented 1 month ago

tried using dev, it cloned but I get this error:

📦[frityet@envision Simula]$ source ./utils/Helpers.sh && installSimula
/home/frityet/.nix-profile/bin/nix
nix already installed..
/home/frityet/.nix-profile/bin/cachix
cachix already installed..
Configured https://simula.cachix.org binary cache in /home/frityet/.config/nix/nix.conf

Message from Simula Contributors.
=================================

In order to show project funders that Simula is useful, 
we anonymously collect the following data:

- Session length
- Number of windows active
- Error logs on crashes

warning: could not update mtime for file '/home/frityet/.cache/nix/gitv3/061ac0jn4zjqj359dh25hfi4qs1ny94z1bbkv2kh9x7n2y2c50p5/refs/heads/release-24.05': No such file or directory
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:9:12:
            8|
            9|   strict = derivationStrict drvAttrs;
             |            ^
           10|

       … while evaluating derivation 'Simula'
         whose name attribute is located at /nix/store/izxcyr1301yh0yi4g94ghfc72wrxn8sc-nixpkgs-24.05/pkgs/stdenv/generic/make-derivation.nix:331:7

       … while evaluating attribute 'installPhase' of derivation 'Simula'
         at /home/frityet/Packages/Simula/Simula.nix:231:7:
          230|       buildInputs = [ xpra xrdb wmctrl fontconfig glibc-locales xfce4-terminal-wrapped openxr-loader midori-wrapped pernoscoSubmit i3status-wrapped cabal-install ghc ] ++ simulaPackages;
          231|       installPhase = ''
             |       ^
          232|       mkdir -p $out/bin

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: 'pkgconfig' has been renamed to/replaced by 'pkg-config'
/home/frityet/Packages/Simula
Corallus-Caninus commented 22 hours ago

I was able to go in and clone the submodule using the hash. Not sure how you got this but it should be recoverable.