cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tom-0-
Observer
Observer
205 Views
Registered: ‎11-11-2020

【GStream】PetaLinux ERROR

Jump to solution

I'm trying to build petalinux, but I get an error because the GStream repository path.

・In log.do_fetch.20987, there is a log that looks like a URL is being created, but we don't know the details.

 build/tmp/work/aarch64-xilinx-linux/gst-interpipes/1.0.4-r0/temp/

log message:

> log.do_fetch.20987:DEBUG: For url ['gitsm', 'anongit.freedesktop.org', '/gstreamer/common', '', '', OrderedDict([('protocol', 'git'), ('name', 'common'), ('subpath', 'common'), ('bareclone', '1'), ('nobranch', '1')])] comparing ['cvs', '.*', '/.*', '', '', OrderedDict()] to ['http', 'sources.openembedded.org', '/', '', '', OrderedDict()]

 

Attached is the log on the terminal.

 

Is there a solution?

Thank you.

0 Kudos
1 Solution

Accepted Solutions
hokim
Scholar
Scholar
158 Views
Registered: ‎10-21-2015

Hi 

Did you edit your log file?

git -c core.fsyncobjectfiles=0 clone --bare --mirror git://anongit.freedesktop.org/gstreamer/common <project path>/xilinx-ultra96v2/build/downloads/git2/anongit.freedesktop.org.gstreamer.common --progress

You seems to use <project path> instead of real path, right?

Try to run "git -c core.fsyncobjectfiles=0 clone --bare --mirror git://anongit.freedesktop.org/gstreamer/common" 

If there is no network problem, it should work.

Otherwise, you might have network problem

View solution in original post

2 Replies
hokim
Scholar
Scholar
159 Views
Registered: ‎10-21-2015

Hi 

Did you edit your log file?

git -c core.fsyncobjectfiles=0 clone --bare --mirror git://anongit.freedesktop.org/gstreamer/common <project path>/xilinx-ultra96v2/build/downloads/git2/anongit.freedesktop.org.gstreamer.common --progress

You seems to use <project path> instead of real path, right?

Try to run "git -c core.fsyncobjectfiles=0 clone --bare --mirror git://anongit.freedesktop.org/gstreamer/common" 

If there is no network problem, it should work.

Otherwise, you might have network problem

View solution in original post

tom-0-
Observer
Observer
80 Views
Registered: ‎11-11-2020

Thank you.

In my PC environment, git commands are restricted by proxy settings.

I have configured some of them in git config (e.g. "url.http://.insteadof=git://"), but this time I needed to add the gstream configuration.

 

After executing the following command and retrying the build, it was successful.

> git config --global url."http://github.com/GStreamer/common".insteadOf "git://anongit.freedesktop.org/gstreamer/common"

0 Kudos