yocto real time edge v2.8 build issue

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

yocto real time edge v2.8 build issue

478 Views
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.

 

Tags (1)
0 Kudos
Reply
3 Replies

395 Views
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 Kudos
Reply

457 Views
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 Kudos
Reply

475 Views
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 Kudos
Reply