($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: miriam.rico@enigmedia.es
To: yocto@lists.yoctoproject.org
Subject: Yocto Kirkstone VPP compilation
Date: Mon, 26 Feb 2024 03:51:07 -0800	[thread overview]
Message-ID: <mGSp.1708948267221827405.tNvX@lists.yoctoproject.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 2336 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2985 bytes --]

             reply	other threads:[~2024-02-26 11:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-26 11:51 miriam.rico [this message]
2024-02-26 12:19 ` [yocto] Yocto Kirkstone VPP compilation Alexander Kanavin
2024-02-26 15:50 ` Ross Burton
2024-02-27  7:20   ` miriam.rico
2024-02-27  9:09     ` Alexander Kanavin
2024-02-27 10:25     ` Ross Burton
2024-02-27 11:24       ` miriam.rico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mGSp.1708948267221827405.tNvX@lists.yoctoproject.org \
    --to=miriam.rico@enigmedia.es \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).