This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM57X: meta-arago: Unable to build gstreamer plugins

Part Number: PROCESSOR-SDK-AM57X

Tool/software:

Hi,

the recipe gstreamer1.0-plugins-hevc [1] and gstreamer1.0-plugins-vpe [2] in meta-arago cannot fetch the submodule "common". See the following example of a local clone.

$ git clone https://git.ti.com/git/processor-sdk/gst-plugin-hevc.git --recurse-submodules 
Cloning into 'gst-plugin-hevc'...
remote: Enumerating objects: 56, done.
remote: Counting objects: 100% (56/56), done.
remote: Compressing objects: 100% (45/45), done.
remote: Total 56 (delta 20), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (56/56), 38.43 KiB | 96.00 KiB/s, done.
Resolving deltas: 100% (20/20), done.
Submodule 'common' (git://anongit.freedesktop.org/gstreamer/common) registered for path 'common'
Cloning into '/home/daniel/work/phytec/git/gst-plugin-hevc/common'...

If I try to clone gstreamer common directly, I get the following error message:


$ git clone git://anongit.freedesktop.org/gstreamer/common
Cloning into 'common'...
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

It looks like this Git server doesn't work properly. However, there is a mirror in Github which can be used.

Do you mind changing the git submodule in [3] to github like my following patch?

From d85ca8e83ea0537fd74d8bea3c358a3edddb87ac Mon Sep 17 00:00:00 2001
From: Daniel Schultz <d.schultz@phytec.de>
Date: Tue, 6 Aug 2024 11:26:55 +0200
Subject: [PATCH] Switch submodule common to github

The freedesktop.org URL is currently not available. Therefore, this
plugin won't build. Use the official GStreamer mirror on GitHub.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
 .gitmodules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitmodules b/.gitmodules
index a6b1eda..80ffbc5 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
 [submodule "common"]
 	path = common
-	url = git://anongit.freedesktop.org/gstreamer/common
+	url = https://github.com/GStreamer/common
-- 
2.34.1

Best Regards,
Daniel

1: https://git.ti.com/cgit/arago-project/meta-arago/tree/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc_git.bb?h=kirkstone

2: https://git.ti.com/cgit/arago-project/meta-arago/tree/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe_git.bb

3: git.ti.com/.../