gst-shark icon indicating copy to clipboard operation
gst-shark copied to clipboard

Submodule common error "unable to connect to naongit.freedesktop.org"

Open mateoguzman opened this issue 3 years ago • 1 comments

Git module common is unreachable so an initial ./autogen.sh fails:

$ git clone https://github.com/RidgeRun/gst-shark/
$ cd gst-shark && ./autogen.sh --prefix /usr/ --libdir /usr/lib/x86_64-linux-gnu/
+ Setting up common submodule
Submodule 'common' (git://anongit.freedesktop.org/gstreamer/common) registered for path 'common'
Cloning into '/app/src/gst-shark/common'...
fatal: unable to connect to anongit.freedesktop.org:
anongit.freedesktop.org[0: 131.252.210.161]: errno=Connection timed out

fatal: clone of 'git://anongit.freedesktop.org/gstreamer/common' into submodule path '/app/src/gst-shark2/common' failed
Failed to clone 'common' a second time, aborting
There is something wrong with your source tree.
You are missing common/gst-autogen.sh

Updating the common submodule to any of the following repos fixes the issue.

  • https://github.com/GStreamer/common.git
  • https://gitlab.freedesktop.org/gstreamer/common.git

Eg.

$ git config submodule.common.url  https://github.com/GStreamer/common.git
$ git submodule update
Cloning into '/app/src/gst-shark2/common'...
Submodule path 'common': checked out 'b64f03f6090245624608beb5d2fff335e23a01c0'

And the diff:

$ git diff .gitmodules 
diff --git a/.gitmodules b/.gitmodules
index a6b1eda..6117d0c 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
 [submodule "common"]
        path = common
-       url = git://anongit.freedesktop.org/gstreamer/common
+       url = https://gitlab.freedesktop.org/gstreamer/common.git

Would this be a fix to apply? Thank you

mateoguzman avatar Apr 01 '21 03:04 mateoguzman

Any news on this?

ruipacheco avatar May 12 '21 07:05 ruipacheco