Hi,

I'm relatively new to Yocto and I'm trying to compile the VPP code. I have a 
recipe that all it does is download the code from the official repository and 
tries to compile it (i'm trying to compile 23.10 stable version). This code has 
a lot of dependencies, among them dpdk. The code downloads these dependencies 
in tar.gz files and then compiles the code for each of them. But when it gets 
to the dpdk dependency, I get the same error every time. Here is the error:

> 
> /home/user/Yocto/build/tmp/work/core2-64-poky-linux/vpp-test/23.10-r0/git/build/external/downloads/meson-0.55.3.tar.gz
> 
> | Traceback (most recent call last):
> |   File
> "/home/enigmedia/Yocto/build/tmp/work/core2-64-poky-linux/vpp-test/23.10-r0/recipe-sysroot-native/usr/bin/pip3",
> line 7, in <module>
> |     from pip._internal.cli.main import main
> | ModuleNotFoundError: No module named 'pip'
> 

>From what I have been able to find out, the dpdk dependency generates a python 
>virtual environment and executes a series of commands. I have tried to launch 
>theses commands manually and there has been no problem, however, when I try to 
>launch the recipe via bitbake, I get the above error.

Here is the vpp.bb recipe:

> 
> DESCRIPTION = "Vector Packet Processing"
> 
> STABLE = "stable/2310"
> BRANCH = "master"
> SRCREV = "6b287b53011208bc242040962056360c1ff54a6c"
> S = "${WORKDIR}/git"
> PV = "23.10"
> 
> LICENSE = "Apache-2.0"
> 
> LIC_FILES_CHKSUM = "file://LICENSE;md5=175792518e4ac015ab6696d16c4f607e"
> 
> AUTOTOOLS_SCRIPT_PATH = "${S}/src"
> 
> SRC_URI += "git://github.com/FDio/vpp;branch=${STABLE} \
> "
> 
> DEPENDS += "openssl numactl curl-native cmake-native nasm-native
> python3-native python3-pip python3-ply-native ninja-native m4-native
> zlib-native binutils-native elfutils-native libpcap libbpf apt systemd
> bpftrace util-linux"
> 
> inherit autotools pkgconfig python3-dir python3native
> 
> export OPENSSL_PATH = "${RECIPE_SYSROOT}"
> 
> include vpp-packages.inc
> 
> do_compile () {
> cd ${S}
> oe_runmake build-release
> }
> 

vpp-packages.in is a file that enables some vpp plugins and installs the 
resulting libraries and files  on the system.

Could anyone know what is going on or give me any hints on how to fix the bug?

Thank you so much,

Miriam
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62604): https://lists.yoctoproject.org/g/yocto/message/62604
Mute This Topic: https://lists.yoctoproject.org/mt/104580146/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to