[yocto] openjdk-11 failed to find --with-boot-jdk

2022-04-18 Thread Bel Hadj Salem Talel
Hello Everyone, I am using meta-java, and I have openjdk-11 recipe. The recipe has: EXTRA_OECONF_append_class-native = "\ --with-boot-jdk=/usr/lib/jvm/openjdk-11-amd64 \ --enable-headless-only \ --enable-openjdk-only \ " It fails with this error: > > configure: error: The path given by

Re: [yocto] How to contribute to Yocto core ?

2022-04-06 Thread Bel Hadj Salem Talel
Thanks for the guide. I have one more question regarding the bugs. I noticed that there is a Zoom meeting link ( https://zoom.us/postattendee?mn=wVY4wgNvql1k1Mrzj4NVPellZN1oQQHGWA.fjPvBIH_i1IT6GdY=6 ) , do I need to join it and participate in a discussion about the tasks assignments and try

[yocto] How to contribute to Yocto core ?

2022-04-06 Thread Bel Hadj Salem Talel
Hello All, I am an experienced Yocto engineer, and I want to contribute to Yocto project (bitbake core, poky layers, etc) but I do not know what to contribute or is there a TODO list that I can help with. Besides, I have some classes that I can contribute to poky, but I do not know where to

Re: [yocto] cross-localedef file not found in do_rootfs #yocto #zeus

2021-11-25 Thread Bel Hadj Salem Talel
Thanks for the reply, I tried adding IMAGE_LINGUAS = " ", it passes but do_image_cpio gives nothing (means no image.gpio.gz) is generated. I don't know why. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55419):

[yocto] cross-localedef file not found in do_rootfs #zeus #yocto

2021-11-24 Thread Bel Hadj Salem Talel
Hello All, I created a simple image recipe for initramfs type of image with no *IMAGE_FEATURES* and simply: > > > IMAGE_INSTALL = "packagegroup-core-boot busybox" When I bitbake the image I get the following error: --- ERROR: menzu-image-initramfs-1.0-r0 do_rootfs:

[yocto] How to iherit class based on a conditional variable? #sysvinit #systemd

2021-10-25 Thread Bel Hadj Salem Talel
Hello, I have a recipe that installs a simple bash script to run on startup. As you all know, there is systemd and sysvinit. I need to add support for both init managers. I can do : SRC_URI_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'file://script.service',

[yocto] Permission denied with NFS shared download and sstate-cache

2021-09-22 Thread Bel Hadj Salem Talel
Hi All, I have a server that's holding downloads and sstate-cache. I have a docker-compose file with nfs server that exposes the dowloads/sstate-cache volume. When I mount that in my PC and set the path into DL_DIR and SSTATE_DIR, I get this error : --- ERROR:

Re: [yocto] Hello world recipe

2021-08-09 Thread Bel Hadj Salem Talel
It is clear that the build system cannot find anything that is providing 'python-hello' recipe. Which means it parsed all layers in bblayers.conf and it didn't find any python-hello_*.bb file (the _* is the version) It is mentioned in the tutorial that you provided that the recipe should be in

[yocto] How to pass arguments to a shell function from python task bb.build.exec_func ? #yocto #bitbake

2021-07-21 Thread Bel Hadj Salem Talel
Hi All, I have this example that can call a shell function from a python task: *shell_function(){* *bbwarn "This is a shell function, arg1 = $1"* *}* *python do_something(){* *bb.build.exec_func('shell_function', d)* *}* How to pass arguments to the shell function ? I tried this : "

[yocto] pyqtwebengine recipe problem

2021-06-29 Thread Bel Hadj Salem Talel
Hi All, I want to make a recipe for python3-pyqt5 and python3-pyqtwebengine, the problem is that the source doe does not contain setup.py , it contains project.py and configure.py. Is there a solution for this so that it works with setuptools and pypi ? Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=-

[yocto] How to create swap partition ?

2021-06-10 Thread Bel Hadj Salem Talel
Hi All, When I run : (bitbake -e | grep ^WKS_FILE=) I get: > > WKS_FILE="imx-imx-boot-bootpart.wks.in" Here is the content: > > part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk > mmcblk --no-table --align ${IMX_BOOT_SEEK} > part /boot --source bootimg-partition --ondisk

[yocto] python3-dlib linking issue #yocto #zeus #python

2021-05-17 Thread Bel Hadj Salem Talel
Hi All, I'm trying to bitbake a recipe for python3-dlib (the python API). Here is the recipe: SUMMARY = "A toolkit for making real world machine learning and data analysis applications" HOMEPAGE = "https://github.com/davisking/dlib; LICENSE = "Boost-Software" LIC_FILES_CHKSUM =

Re: [yocto] [zeus] python3-dlib #yocto #zeus #python

2021-05-11 Thread Bel Hadj Salem Talel
Thanks for the suggestion, but they are using the C++ API as well. I already created a recipe for the C++ API of dlib and it is working, the only thing needed is compitling the Python API. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53465):

[yocto] [zeus] python3-dlib #yocto #zeus #python

2021-05-11 Thread Bel Hadj Salem Talel
Hi All, Did anyone manage to create a recipe for python dlib from the official site https://github.com/davisking/dlib ? They provide C++ and Python API, (CMakeLists + setup.py). All recipes found for dlib are inheriting cmake for C++. But when inheriting setuptools3 error occurs. Thanks, Talel

[yocto] [zeus] python3-numpy: No module named 'numpy.core._multiarray_umath' #yocto #zeus #python

2021-05-11 Thread Bel Hadj Salem Talel
Hi All, I integrated python3-numpy in my image and when trying to import it I get this error: (python3 version: 3.7.7) -- >>> import cv2 OpenCV bindings requires "numpy" package. Install it via command: pip install numpy Traceback (most recent call last): File

[yocto] How to remove Kernel headers from SDK

2020-11-13 Thread Bel Hadj Salem Talel
Hi All, I need to deliver an SDK for arch64 but without Kernel headers that one can build Kernel modules with them. (/usr/include/linux/* , ...) I only need to deliver an SDK with toolchain and minimal headers for compilation such as "stdio.h" , ... How can I do it ? Thanks, Talel

Re: [yocto] Split kernel patches over different machines

2020-11-11 Thread Bel Hadj Salem Talel
Hi, Thanks for the reply, Yes, that did the trick. Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51361): https://lists.yoctoproject.org/g/yocto/message/51361 Mute This Topic: https://lists.yoctoproject.org/mt/78180473/21656 Group

[yocto] Split kernel patches over different machines

2020-11-11 Thread Bel Hadj Salem Talel
Hi All, I created two different machines "menzu-console" and "menzu-media" I have main patch for device tree for both , and only one patch specific for menzu-media machine So in the linux recipe bbappend I want to set something like this: SRC_URI += "file://main.patch" # FOR BOTH MACHINES

[yocto] How to create new variable in Yocto to use it in a recipe ?

2020-11-11 Thread Bel Hadj Salem Talel
Hi All, I'm not trying to export or create a variable inside a recipe because that's easy and not my case. But I want to create a variable that a user can define in local.conf or in other conf files and a recipe that checks the value of that variable and do some stuff with it like: python (){

Re: [yocto] python3-psycopg2cffi DEPENDS error cffi

2020-11-10 Thread Bel Hadj Salem Talel
HI, That's what I did exactly, but failed with the same error. Here is the python3-cffi-native recipe: SUMMARY = "Foreign Function Interface for Python calling C code." HOMEPAGE = "http://cffi.readthedocs.org; AUTHOR = "Armin Rigo, Maciej Fijalkowski " LICENSE = "MIT" LIC_FILES_CHKSUM =

[yocto] python3-psycopg2cffi DEPENDS error cffi

2020-11-10 Thread Bel Hadj Salem Talel
HI All, I created a recipe with pipoe for python3-psycopg2cffi when compiling this error occured: > > ERROR: Do not try to fetch `cffi>=1.0' for building. Please add its native > recipe to DEPENDS. I created a recipe for python3-cffi and I made it native with BBCLASSEXTEND = "native" and it

Re: [yocto] sd-bus.h not found even with DEPENDS += "systemd"

2020-09-27 Thread Bel Hadj Salem Talel
Hi, A response came only to me : > > Hey Bel, > > Please remove the libsystemd from your host. It will cause host > contamination. > > You need to tell in your makefile where make can find include path and lib > path > > Normally it should work > > Include: -I${STAging_incdir} > -L for ld

Re: [yocto] sd-bus.h not found even with DEPENDS += "systemd"

2020-09-26 Thread Bel Hadj Salem Talel
HI Again, The systemd issue is solved by installing the libsystemd in my native host, but I got another problem linking the lib with "ld" : |

[yocto] sd-bus.h not found even with DEPENDS += "systemd"

2020-09-26 Thread Bel Hadj Salem Talel
Hi Community, I'm trying to make a recipe for source files with a Makefile , files are under : https://github.com/wirepas/gateway/tree/master/sink_service I can't add the recipe directly from the URL, so I cloned the repo and zipped only the sink_service file. When I added the zip file with

Re: [yocto] setup.py no such file or directory

2020-09-26 Thread Bel Hadj Salem Talel
Hi Again, I solved the issue, The problem was that when yocto unpacks the source files it unpacks it not in tmp/work/.../python3-wirepas-messaging/python3-wirepas-messaging-1.0 which is the work directory, so that is why setuptools cannot find setup.py , So I modified the source files folder to

Re: [yocto] setup.py no such file or directory

2020-09-26 Thread Bel Hadj Salem Talel
Hi again, When I add the recipe with devtool and I disable the .bbappend that adds externalsrc the same error appears. Should I add it to final recipe as well ? Can anyone explain this for me ? Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [yocto] setup.py no such file or directory

2020-09-25 Thread Bel Hadj Salem Talel
differnece ? I can't understand. Thanks, Talel On Fri, Sep 25, 2020 at 5:00 PM Quentin Schulz < quentin.sch...@streamunlimited.com> wrote: > On Fri, Sep 25, 2020 at 08:12:11AM -0700, Bel Hadj Salem Talel wrote: > > Hi Community, > > > > I have a python module which I downlo

[yocto] setup.py no such file or directory

2020-09-25 Thread Bel Hadj Salem Talel
Hi Community, I have a python module which I downloaded from github containing a setup.py as all python modules. When I create a recipe with devtool it compiles correctly with no problem, but when I copy paste the same recipe source from workspace recipes to an official meta recipe I got this

[yocto] sd-bus.h not found when compiling #yocto

2020-09-25 Thread Bel Hadj Salem Talel
Hi All, I'm trying to create a recipe for wirepas_gateway , it is a python project, but it uses systemd dbus , and there is a .c file that includes  #include I tried to add "systemd" and "libsystemd" to RDPENDS, but same error keeps showing : > > dbus_c.c:9:10: fatal error: systemd/sd-bus.h:

[yocto] [poky] python-setuptools dependency loops error #yocto #python

2020-07-13 Thread Bel Hadj Salem Talel
Hi all, I have a problem using *python-setuptools* with yocto when bitbaking any recipe that inherits *setuptools* , or even when I execute "bitbake setuptools" but there is no problem with setuptools3, but I need to use python2 for now. Here is the log: -- *ERROR: