Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] Availability of dpdk recipe in release version #25920

Open
vithalsm opened this issue Nov 12, 2024 · 6 comments · May be fixed by #24817
Open

[question] Availability of dpdk recipe in release version #25920

vithalsm opened this issue Nov 12, 2024 · 6 comments · May be fixed by #24817
Labels
question Further information is requested

Comments

@vithalsm
Copy link

What is your question?

Hi,
I tried to find released version of dpdk recipe in https://github.com/conan-io/conan-center-index/tree/master/recipes, but still not available.
Would like to know plan to merge the dpdk recipe to mainline.
Thanks.

@vithalsm vithalsm added the question Further information is requested label Nov 12, 2024
@valgur valgur linked a pull request Nov 12, 2024 that will close this issue
3 tasks
@valgur
Copy link
Contributor

valgur commented Nov 12, 2024

Keep an eye on #24817.

@vithalsm
Copy link
Author

Well, trying to use the dpdk recipe from https://github.com/valgur/conan-center-index. (Copied dpdk and libbpf folders from this fork to the forked from the mainline 'conan-center-index'.
However build failed with following:

ERROR: There are invalid packages:
cpython/3.12.7: Invalid: FIXME: GCC 9 produces an internal compiler error locally, and a link error in CCI

As it says, my GCC version is 9, libc 2.31, kernel 5.x. Is this supported configuration?

@valgur
Copy link
Contributor

valgur commented Nov 18, 2024

@vithalsm It's disabled due to build errors with the combination of Python 3.12 and GCC 9, as the warning says.

Besides using a newer version of GCC, you can try adding the following to your profile to force an older version of cpython to be used:

[replace_requires]
cpython/*: cpython/[~3.11]

[replace_tool_requires]
cpython/*: cpython/[~3.11]

or force it to use the system Python with:

[platform_requires]
cpython/3.12.7

[platform_tool_requires]
cpython/3.12.7

@vithalsm
Copy link
Author

Hi @valgur, thanks I could move past the previous error.

However, cross compilation of dpdk recipe failing as it's failing to recognize 'cross compilation'. Both my build and target systems are x86 based, differs on libc, gcc etc.
Other components from conan-center-index cross compiles fine.
Wondering if I am missing anything - fixes etc?

@vithalsm
Copy link
Author

Error logs:::

dpdk/24.07: Meson configure cmd: meson setup --native-file "/home/aos-dev/.conan2/p/b/dpdkf4fac56288cbc/b/build-relwithdebinfo/conan/conan_meson_native.ini" "/home/aos-dev/.conan2/p/b/dpdkf4fac56288cbc/b/build-relwithdebinfo" "/home/aos-dev/.conan2/p/b/dpdkf4fac56288cbc/b/src" --prefix=/
dpdk/24.07: RUN: meson setup --native-file "/home/aos-dev/.conan2/p/b/dpdkf4fac56288cbc/b/build-relwithdebinfo/conan/conan_meson_native.ini" "/home/aos-dev/.conan2/p/b/dpdkf4fac56288cbc/b/build-relwithdebinfo" "/home/aos-dev/.conan2/p/b/dpdkf4fac56288cbc/b/src" --prefix=/
The Meson build system
Version: 1.6.0
Source dir: /home/aos-dev/.conan2/p/b/dpdkf4fac56288cbc/b/src
Build dir: /home/aos-dev/.conan2/p/b/dpdkf4fac56288cbc/b/build-relwithdebinfo
Build type: native build
Program cat found: YES (/usr/bin/cat)
Project name: DPDK
Project version: 24.07.0

../src/meson.build:4:0: ERROR: Executables created by c compiler /usr/x86-10.3-glibc-2.34/bin/x86_64-aruba_buildroot-linux-gnu-gcc are not runnable.

@valgur
Copy link
Contributor

valgur commented Nov 28, 2024

@vithalsm I tested the recipe with cross-compilation to armv8 on Linux when writing it and that one worked fine for me. I'll take a look at it once I have some more time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants