Yocto build fetching url fail in nnshark-2021.10.imx-r0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto build fetching url fail in nnshark-2021.10.imx-r0

Jump to solution
2,661 Views
vignesh_r
Contributor III

Hi,

Building imx-image-full in imx8mp-lpddr4-evk.

repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.36-2.1.0.xml
DISTRO=fsl-imx-wayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b ../build
Facing url fetching in nnshark recipe.

Kindly find the attachment for the issue.

Checked some old Solved: Yocto 3.3 5.10.72 BSP Build Fail - NXP Community , but not yet resolved for me. kindly help me.

0 Kudos
Reply
1 Solution
2,565 Views
joanxie
NXP TechSupport
NXP TechSupport

you just use instead your own link, it seems your original link is gitsm://anongit.freedesktop.org/git/ 

if yes, you just add this link after the command I sent to you like

git config --global url.http://anongit.freedesktop.org/git/.insteadOf gitsm://anongit.freedesktop.org/ 

you just add your original link you need instead of

View solution in original post

0 Kudos
Reply
7 Replies
1,219 Views
fengyus
Contributor II

hi all:

i met this issue too. and finally i solved it. i put my solution here and hope it can help someone who also meet this issue.

find imx-yocto-bsp/sources/meta-imx/meta-ml/recipes-nnstreamer/nnshark/nnshark_2021.10.imx.bb

edit it as below:

fengyus_0-1723080064090.png

 

 

use "bitbake -c cleanall nnshark" to clean nnshark first and then use "bitbake nnshark" or "bitbake imx-image-full -c populate_sdk" to build again.

in my case, i failed at the first try. i don't know why. maybe due to the bad network? but i clean nnshark and rebuild again, it success.

0 Kudos
Reply
1,409 Views
JoyceLG
Contributor I

Hello
I have the same problem again today.

I tried the solution with XX but it didn't work.
Here are the logs of my last attempt

 

0 Kudos
Reply
2,581 Views
Z2025121
Contributor II

I am facing the same issue.

repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.36-2.1.0.xml
DISTRO=fsl-imx-wayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b build-wayland

The old solution, adding do_configure[network] = "1" to
sources/meta-imx/meta-ml/recipes-nnstreamer/nnshark/nnshark_2021.10.imx.bb does not help

 

0 Kudos
Reply
2,599 Views
vignesh_r
Contributor III

Hi @joanxie 

 Could you have any update?

 

0 Kudos
Reply
2,612 Views
vignesh_r
Contributor III

Hi,

Facing issue.

vie4cob@buildinfra:~[master]$ git config --global url.http://anongit.freedesktop.org/git/
error: invalid key: url.http://anongit.freedesktop.org/git/

Do we need to use any insteadof parameter like this git - Invalid key error when using url.<base>.insteadOf on Windows - Stack Overflow
If it is, Could you please provide value parameter also? Kindly help. Thanks

0 Kudos
Reply
2,566 Views
joanxie
NXP TechSupport
NXP TechSupport

you just use instead your own link, it seems your original link is gitsm://anongit.freedesktop.org/git/ 

if yes, you just add this link after the command I sent to you like

git config --global url.http://anongit.freedesktop.org/git/.insteadOf gitsm://anongit.freedesktop.org/ 

you just add your original link you need instead of

0 Kudos
Reply
2,624 Views
joanxie
NXP TechSupport
NXP TechSupport

I checked my bb file, which is same as yours, it seems this is firewall issue, try to use this command

git config --global url.http://anongit.freedesktop.org/git/ to check if this works for you or not

0 Kudos
Reply