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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
2,807件の閲覧回数
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 件の賞賛
返信
1 解決策
2,711件の閲覧回数
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 件の賞賛
返信
7 返答(返信)
1,365件の閲覧回数
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 件の賞賛
返信
1,555件の閲覧回数
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 件の賞賛
返信
2,727件の閲覧回数
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 件の賞賛
返信
2,745件の閲覧回数
vignesh_r
Contributor III

Hi @joanxie 

 Could you have any update?

 

0 件の賞賛
返信
2,758件の閲覧回数
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 件の賞賛
返信
2,712件の閲覧回数
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 件の賞賛
返信
2,770件の閲覧回数
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 件の賞賛
返信