UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor m.schappeit
Visitor
369 Views
Registered: ‎08-08-2018

Failed to petalinux-build --sdk with 2018.3

Hello!

Using Petalinux 2018.3 on Ubuntu 16.04 i failed to do a

petalinux-build --sdk 

It fails, because

fatal: clone of 'git://git.qemu.org/capstone.git' 

Manual solution:

Edit the .git/config file in:

/petalinux20183_project/build/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0/git

(or accordingly)

Change:

[submodule "capstone"]
	active = true
	url = git://git.qemu.org/capstone.git
[submodule "ui/keycodemapdb"]
	active = true
	url = git://git.qemu.org/keycodemapdb.git

to:

[submodule "capstone"]
	active = true
	url = git://git.qemu.org/git/capstone.git
[submodule "ui/keycodemapdb"]
	active = true
	url = git://git.qemu.org/git/keycodemapdb.git

This correction could be enough, but petalinux still fails to build.

I had to go to

/petalinux20183_project/build/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0/git

and do a manual

git submodule update

Finally capstone and keycodemapdb are cloned and petalinux-build exits successfully.

Perhaps this is helpful for someone.

Perhaps Xilinx corrects this URLs in the future.

Bye, Marc.

3 Replies
Adventurer
Adventurer
142 Views
Registered: ‎03-21-2013

Re: Failed to petalinux-build --sdk with 2018.3

Hi Marc

Yeah I tried your solution. I get the following result:

git submodule update
Cloning into 'capstone'...
fatal: unable to connect to git.qemu.org:
git.qemu.org[0: 172.99.69.163]: errno=Connection timed out

fatal: clone of 'git://git.qemu.org/capstone.git' into submodule path 'capstone' failed

Just browsing git.qemu.org, I note that the capstone.git is NOT under a /git subduirectory..... Am I barking up the wrong tree?

0 Kudos
Visitor m.schappeit
Visitor
116 Views
Registered: ‎08-08-2018

Re: Failed to petalinux-build --sdk with 2018.3

I think you missed to follow follow the instructions excactly. Look closer to the url:

 

url = git://git.qemu.org/git/capstone.git

 

There should be an additionally "git" in front of "capstone.git". But your posted error msg tells me, that the repo urls is still wrong.

0 Kudos
Moderator
Moderator
107 Views
Registered: ‎12-04-2016

Re: Failed to petalinux-build --sdk with 2018.3

Hi @clivewmwalker & @m.schappeit 

You can workaround the issue with following steps

git config --global url.http://git.qemu.or/git/capstone.git/.insteadOf git://git.qemu.org/capstone.git

git config --global url.http://git.qemu.or/git/keycodemapdb.git/.insteadOf git://git.qemu.org/keycodemapdb.git

git config --global http.sslVerify false

git config --global https.sslVerify false

Change .gitconfig to include proxies

[url "http://git.qemu.org/git/capstone.git"]

        insteadOf = git://git.qemu.org/capstone.git

[url "http://git.qemu.org/git/keycodemapdb.git"]

        insteadOf = git://git.qemu.org/keycodemapdb.git

[http]

        proxy = http://<company_proxy_server>:<port>

        sslverify = false

[https]       

         proxy = http://<company_proxy_server>:<port>       

         sslverify = false

 

0 Kudos