yocto real time edge v2.8 build issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

yocto real time edge v2.8 build issue

1,555 次查看
junze_tianjian
Contributor I

I encoutered the following problem both on my ubuntu 20.04 vmware virtual machine and ECS server (located in america ) machine.

 

WARNING: libxdp-1.4.1-r0 do_fetch: Failed to fetch URL git://github.com/xdp-project/xdp-tools.git;branch=master;protocol=https, attempting MIRRORS if available
ERROR: libxdp-1.4.1-r0 do_fetch: Fetcher failure: Unable to find revision 2236e8d286701f275881da77bf1eef43d53d370f in branch master even from upstream
ERROR: libxdp-1.4.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/xdp-project/xdp-tools.git;branch=master;protocol=https')
ERROR: Logfile of failure stored in: /home/user/linux/yocto-real-time-edge/build-imx93evk/tmp/work/armv8a-poky-linux/libxdp/1.4.1-r0/temp/log.do_fetch.1533761
ERROR: Task (/home/user/linux/yocto-real-time-edge/sources/meta-real-time-edge/recipes-support/libxdp/libxdp_1.4.1.bb:do_fetch) failed with exit code '1'

 

And the same problem occured when i tried to compile v3.0 yocto project.

 

标记 (1)
0 项奖励
回复
3 回复数

1,472 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Build, the issue appears to be related to the inability to fetch the xdp-tools repository with the specific revision 2236e8d286701f275881da77bf1eef43d53370f.

This is likely due to branch naming changes in the repository. Many repositories have transitioned from using "master" as the default branch name to "main" or other naming conventions. 
you can try the following approaches:

1. Clean the state of the problematic package:
```
bitbake -c cleansstate libxdp
```

2. Manually download the required source files:
- Visit the repository at https://github.com/xdp-project/xdp-tools
- Check if the specific revision (2236e8d286701f275881da77bf1eef43d53370f) exists in a different branch
- Download the source code directly and place it in your build's download directory

3. Update the recipe to reference the correct branch name if "master" has been renamed to "main" in the repository.

4. If the revision is no longer available, you might need to update the recipe to use a newer revision that's available in the repository.

This issue affects both v2.8 and v3.0 because they may be referencing an outdated branch name or a specific revision that is no longer accessible in the repository's history.

 

Regards

0 项奖励
回复

1,534 次查看
junze_tianjian
Contributor I

build-imx93evk\tmp\work\armv8a-poky-linux\libxdp\1.4.1-r0\temp\log.do_fetch.1239346  is uploaded as attachment.

0 项奖励
回复

1,552 次查看
junze_tianjian
Contributor I

My steps :

$ mkdir yocto-real-time-edge

$ cd yocto-real-time-edge

$ repo init -u https://github.com/nxp-real-time-edge-sw/yocto-real-time-edge.git -b real-time-edge-mickledore -m real-time-edge-2.8.0.xml

$ repo sync or repo sync --no-clone-bundle


DISTRO=<distro name> MACHINE=<machine name> source real-time-edge-setup-env.sh -b <build dir>

$ DISTRO=nxp-real-time-edge MACHINE=imx93evk source real-time-edge-setup-env.sh -b build-imx93evk
or
$ EULA=1 DISTRO=nxp-real-time-edge MACHINE=imx93evk source real-time-edge-setup-env.sh -b build-imx93evk

$ bitbake nxp-image-real-time-edge

 

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2250712%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eyocto%20real%20time%20edge%20v2.8%20%E7%89%88%E6%9C%AC%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250712%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E5%9C%A8%3CSTRONG%3Eubuntu%2020.04%20vmware%20%E8%99%9A%E6%8B%9F%E6%9C%BA%3C%2FSTRONG%3E%E5%92%8C%3CSTRONG%3EECS%20%E6%9C%8D%E5%8A%A1%E5%99%A8%EF%BC%88%E4%BD%8D%E4%BA%8E%E7%BE%8E%E5%9B%BD%EF%BC%89%3C%2FSTRONG%3E%E4%B8%8A%E9%83%BD%E9%81%87%E5%88%B0%E4%BA%86%E4%BB%A5%E4%B8%8B%E9%97%AE%E9%A2%98%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E8%AD%A6%E5%91%8A%EF%BC%9Alibxdp-1.4.1-r0%20do_fetch%EF%BC%9A%E8%8E%B7%E5%8F%96%20URL%20git%3A%2F%2Fgithub.com%2Fxdp-project%2Fxdp-tools.git%3Bbranch%3Dmaster%3Bprotocol%3Dhttps%20%E5%A4%B1%E8%B4%A5%E3%80%81%E5%A6%82%E6%9E%9C%E5%8F%AF%E7%94%A8%EF%BC%8C%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%20MIRRORS%3CBR%20%2F%3EERROR%3A%20libxdp-1.4.1-r0%20do_fetch%EF%BC%9AFetcher%20failure%EF%BC%9AUnable%20to%20find%20revision%202236e8d286701f275881da77bf1eef43d53d370f%20in%20branch%20master%20even%20from%20upstream%3CBR%20%2F%3EERROR%3A%20libxdp-1.4.1-r0%20do_fetch%EF%BC%9ABitbake%20Fetcher%20Error%EF%BC%9AFetchError('Unable%20to%20fetch%20URL%20from%20any%20source.'%E3%80%81'git%3A%2F%2Fgithub.com%2Fxdp-project%2Fxdp-tools.git%3Bbranch%3Dmaster%3Bprotocol%3Dhttps')%3CBR%20%2F%3E%E9%94%99%E8%AF%AF%EF%BC%9A%E6%95%85%E9%9A%9C%E6%97%A5%E5%BF%97%E6%96%87%E4%BB%B6%E5%AD%98%E5%82%A8%E5%9C%A8%EF%BC%9A%2Fhome%2Fuser%2Flinux%2Fyocto-real-time-edge%2F%E7%89%88%E6%9C%AC-imx93evk%2Ftmp%2Fwork%2Farmv8a-%E5%8F%82%E8%80%83%E5%8F%91%E8%A1%8C%E7%89%88%E3%80%81%E7%B3%BB%E7%BB%9F%E5%BC%80%E5%8F%91%E5%A5%97%E4%BB%B6%E3%80%82-linux%2Flibxdp%2F1.4.1-r0%2Ftemp%2Flog.do_fetch.1533761%20%3CBR%20%2F%3E%E9%94%99%E8%AF%AF%EF%BC%9A%E4%BB%BB%E5%8A%A1%EF%BC%88%2Fhome%2Fuser%2Flinux%2Fyocto-real-ime-edge%2Fsources%2Fmeta-real-time-edge%2Frecipes-support%2Flibxdp_1.4.1.bb%3A%20do_fetch%EF%BC%89%E5%A4%B1%E8%B4%A5%EF%BC%8C%E9%80%80%E5%87%BA%E4%BB%A3%E7%A0%81%E4%B8%BA%20%221%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E5%BD%93%E6%88%91%E5%B0%9D%E8%AF%95%E7%BC%96%E8%AF%91%20v3.0%20yocto%20%E9%A1%B9%E7%9B%AE%E6%97%B6%E4%B9%9F%E5%87%BA%E7%8E%B0%E4%BA%86%E5%90%8C%E6%A0%B7%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2250712%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E5%85%83%E5%99%A8%E4%BB%B6%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E5%B5%8C%E5%85%A5%E5%BC%8F%E7%BB%84%E4%BB%B6%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2250715%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20yocto%20real%20time%20edge%20v2.8%20build%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250715%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E7%9A%84%E6%AD%A5%E9%AA%A4%20%EF%BC%9A%3C%2FP%3E%3CP%3E%24%20mkdir%20yocto-real-time-edge%3C%2FP%3E%3CP%3E%24%20cd%20yocto-real-time-edge%3C%2FP%3E%3CP%3E%24%20%E4%BB%93%E5%BA%93%20init%20-u%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-real-time-edge-sw%2Fyocto-real-time-edge.git%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-real-time-edge-sw%2Fyocto-real-time-edge.git%3C%2FA%3E%20-b%20real-time-edge-mickledore%20-m%20real-time-edge-2.8.0.xml%3C%2FP%3E%3CP%3E%24%20%E4%BB%93%E5%BA%93%E5%90%8C%E6%AD%A5%E6%88%96%E4%BB%93%E5%BA%93%E5%90%8C%E6%AD%A5--no-clone-bundle%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EDISTRO%3D%3CDISTRO%20name%3D%22%22%3E%20MACHINE%3D%3CMACHINE%20name%3D%22%22%3E%20source%20real-time-edge-setup-env.sh-b%3CBUILD%20dir%3D%22%22%3E%3C%2FBUILD%3E%3C%2FMACHINE%3E%3C%2FDISTRO%3E%3C%2FP%3E%3CP%3E%24%20%E5%8F%91%E8%A1%8C%E7%89%88%3Dnxp-real-time-edge%20MACHINE%3Dimx93evk%20%E6%9D%A5%E6%BA%90%20real-time-edge-setup-env.sh%20-b%20build-imx93evk%3CBR%20%2F%3E%E6%88%96%3CBR%20%2F%3E%24%20EULA%3D1%20%E5%8F%91%E8%A1%8C%E7%89%88%3Dnxp-real-time-edge%20MACHINE%3Dimx93evk%20%E6%9D%A5%E6%BA%90%20real-time-edge-setup-env.sh%20-b%20build-imx93evk%3C%2FP%3E%3CP%3E%24%20bitbake%20nxp-image%20real-time-edge%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2252344%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20yocto%20real%20time%20edge%20v2.8%20build%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2252344%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E7%89%88%E6%9C%AC%EF%BC%8C%E9%97%AE%E9%A2%98%E4%BC%BC%E4%B9%8E%E4%B8%8E%E6%97%A0%E6%B3%95%E8%8E%B7%E5%8F%96%E7%89%B9%E5%AE%9A%E4%BF%AE%E8%AE%A2%E7%89%88%E4%B8%BA2236e8d286701f275881da77bf1eef43d53370f1f275881da77bf1eef43d53370f%E7%9A%84xdp-tools%E5%AD%98%E5%82%A8%E5%BA%93%E6%9C%89%E5%85%B3%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E8%BF%99%E5%8F%AF%E8%83%BD%E6%98%AF%E7%94%B1%E4%BA%8E%E5%AD%98%E5%82%A8%E5%BA%93%E4%B8%AD%E7%9A%84%E5%88%86%E6%94%AF%E5%91%BD%E5%90%8D%E6%9B%B4%E6%94%B9%E6%89%80%E8%87%B4%E3%80%82%E8%AE%B8%E5%A4%9A%E5%AD%98%E5%82%A8%E5%BA%93%E5%B7%B2%E7%BB%8F%E4%BB%8E%E4%BD%BF%E7%94%A8%20%22%20master%20%22%20%E4%BD%9C%E4%B8%BA%E9%BB%98%E8%AE%A4%E5%88%86%E6%94%AF%E5%90%8D%E7%A7%B0%E8%BF%87%E6%B8%A1%E5%88%B0%20%22%20main%20%22%20%E6%88%96%E5%85%B6%E4%BB%96%E5%91%BD%E5%90%8D%E8%A7%84%E8%8C%83%3C%2FSPAN%3E%E3%80%82%3CSPAN%3E%E4%BD%A0%E5%8F%AF%E4%BB%A5%E5%B0%9D%E8%AF%95%E4%BB%A5%E4%B8%8B%E6%96%B9%E6%B3%95%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E1.%E6%B8%85%E7%90%86%E6%9C%89%E9%97%AE%E9%A2%98%E7%9A%84%E8%BD%AF%E4%BB%B6%E5%8C%85%E7%9A%84%E7%8A%B6%E6%80%81%EF%BC%9A%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3Ebitbake-c%20cleanstate%20libxdp%60%60%60%202.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%E6%89%8B%E5%8A%A8%E4%B8%8B%E8%BD%BD%E6%89%80%E9%9C%80%E7%9A%84%E6%BA%90%E6%96%87%E4%BB%B6%EF%BC%9A%3CBR%20%2F%3E-%E8%AE%BF%E9%97%AE%E5%AD%98%E5%82%A8%E5%BA%93%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fxdp-project%2Fxdp-tools%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fxdp-project%2Fxdp-tools%3C%2FA%3E%20%3CBR%20%2F%3E-%E6%A3%80%E6%9F%A5%E7%89%B9%E5%AE%9A%E4%BF%AE%E8%AE%A2%E7%89%88%EF%BC%882236e8d286701f275881da77bf1eef1eef43da77bf1eef43d53370f%EF%BC%89%E6%98%AF%E5%90%A6%E5%AD%98%E5%9C%A8%E4%BA%8E%E4%B8%8D%E5%90%8C%E7%9A%84%E5%88%86%E6%94%AF%E4%B8%AD-%E7%9B%B4%E6%8E%A5%E4%B8%8B%E8%BD%BD%E6%BA%90%E4%BB%A3%E7%A0%81%E5%B9%B6%E5%B0%86%E5%85%B6%E6%94%BE%E5%85%A5%E7%89%88%E6%9C%AC%E7%9A%84%E4%B8%8B%E8%BD%BD%E7%9B%AE%E5%BD%95%E4%B8%AD%203.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%E5%A6%82%E6%9E%9C%E5%AD%98%E5%82%A8%E5%BA%93%E4%B8%AD%E7%9A%84%20%22%20master%20%22%20%E5%B7%B2%E9%87%8D%E5%91%BD%E5%90%8D%E4%B8%BA%20%22%20main%20%22%EF%BC%8C%E8%AF%B7%E6%9B%B4%E6%96%B0%E9%85%8D%E6%96%B9%E4%BB%A5%E5%BC%95%E7%94%A8%E6%AD%A3%E7%A1%AE%E7%9A%84%E5%88%86%E6%94%AF%E5%90%8D%E7%A7%B0%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E4%E3%80%82%E5%A6%82%E6%9E%9C%E8%AF%A5%E7%89%88%E6%9C%AC%E4%B8%8D%E5%86%8D%E5%8F%AF%E7%94%A8%EF%BC%8C%E5%88%99%E5%8F%AF%E8%83%BD%E9%9C%80%E8%A6%81%E6%9B%B4%E6%96%B0%E9%85%8D%E6%96%B9%E4%BB%A5%E4%BD%BF%E7%94%A8%E5%AD%98%E5%82%A8%E5%BA%93%E4%B8%AD%E5%8F%AF%E7%94%A8%E7%9A%84%E8%BE%83%E6%96%B0%E7%89%88%E6%9C%AC%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%AD%A4%E9%97%AE%E9%A2%98%E4%BC%9A%E5%BD%B1%E5%93%8D%20v2.8%20%E5%92%8C%20v3.0%EF%BC%8C%E5%9B%A0%E4%B8%BA%E5%AE%83%E4%BB%AC%E5%8F%AF%E8%83%BD%E5%BC%95%E7%94%A8%E4%BA%86%E8%BF%87%E6%97%B6%E7%9A%84%E5%88%86%E6%94%AF%E5%90%8D%E7%A7%B0%E6%88%96%E5%AD%98%E5%82%A8%E5%BA%93%E5%8E%86%E5%8F%B2%E4%B8%AD%E6%97%A0%E6%B3%95%E5%86%8D%E8%AE%BF%E9%97%AE%E7%9A%84%E7%89%B9%E5%AE%9A%E7%89%88%E6%9C%AC%3C%2FSPAN%3E%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3E%E6%AD%A4%E8%87%B4%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E