[yocto] openjdk-11 failed to find --with-boot-jdk
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 --with-boot-jdk does not contain a > valid Boot JDK I tried to install openjdk-11 on my native build host, but the same error persists. How can I fix this ? Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56798): https://lists.yoctoproject.org/g/yocto/message/56798 Mute This Topic: https://lists.yoctoproject.org/mt/90535650/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] How to contribute to Yocto core ?
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 to get a bug assigned to me in order to start working on it ? I know that is quite difficult for me to understand the contribution flow for the moment. Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56679): https://lists.yoctoproject.org/g/yocto/message/56679 Mute This Topic: https://lists.yoctoproject.org/mt/90301090/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] How to contribute to Yocto core ?
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 commit it. Can anyone help me. Thanks in advance. Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56677): https://lists.yoctoproject.org/g/yocto/message/56677 Mute This Topic: https://lists.yoctoproject.org/mt/90301090/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] cross-localedef file not found in do_rootfs #yocto #zeus
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): https://lists.yoctoproject.org/g/yocto/message/55419 Mute This Topic: https://lists.yoctoproject.org/mt/87277750/21656 Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Mute #zeus:https://lists.yoctoproject.org/g/yocto/mutehashtag/zeus Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] cross-localedef file not found in do_rootfs #zeus #yocto
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: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function: 0001: *** 0002:do_rootfs(d) 0003: File: '/home/talel/Desktop/YoctoWork/sources/poky/meta/classes/image.bbclass', lineno: 245, function: do_rootfs 0241: progress_reporter.next_stage() 0242: 0243: # generate rootfs 0244: d.setVarFlag('REPRODUCIBLE_TIMESTAMP_ROOTFS', 'export', '1') *** 0245: create_rootfs(d, progress_reporter=progress_reporter, logcatcher=logcatcher) 0246: 0247: progress_reporter.finish() 0248:} 0249:do_rootfs[dirs] = "${TOPDIR}" File: '/home/talel/Desktop/YoctoWork/sources/poky/meta/lib/oe/rootfs.py', lineno: 978, function: create_rootfs 0974: img_type = d.getVar('IMAGE_PKGTYPE') 0975: if img_type == "rpm": 0976: RpmRootfs(d, manifest_dir, progress_reporter, logcatcher).create() 0977: elif img_type == "ipk": *** 0978: OpkgRootfs(d, manifest_dir, progress_reporter, logcatcher).create() 0979: elif img_type == "deb": 0980: DpkgRootfs(d, manifest_dir, progress_reporter, logcatcher).create() 0981: 0982: os.environ.clear() File: '/home/talel/Desktop/YoctoWork/sources/poky/meta/lib/oe/rootfs.py', lineno: 204, function: create 0200: if self.progress_reporter: 0201: self.progress_reporter.next_stage() 0202: 0203: # call the package manager dependent create method *** 0204: self._create() 0205: 0206: sysconfdir = self.image_rootfs + self.d.getVar('sysconfdir') 0207: bb.utils.mkdirhier(sysconfdir) 0208: with open(sysconfdir + "/version", "w+") as ver: File: '/home/talel/Desktop/YoctoWork/sources/poky/meta/lib/oe/rootfs.py', lineno: 922, function: _create 0918: 0919: if self.progress_reporter: 0920: self.progress_reporter.next_stage() 0921: *** 0922: self.pm.install_complementary() 0923: 0924: if self.progress_reporter: 0925: self.progress_reporter.next_stage() 0926: File: '/home/talel/Desktop/YoctoWork/sources/poky/meta/lib/oe/package_manager.py', lineno: 614, function: install_complementary 0610: 0611: target_arch = self.d.getVar('TARGET_ARCH') 0612: localedir = oe.path.join(self.target_rootfs, self.d.getVar("libdir"), "locale") 0613: if os.path.exists(localedir) and os.listdir(localedir): *** 0614: generate_locale_archive(self.d, self.target_rootfs, target_arch, localedir) 0615: # And now delete the binary locales 0616: self.remove(fnmatch.filter(self.list_installed(), "glibc-binary-localedata-*"), False) 0617: 0618: def deploy_dir_lock(self): File: '/home/talel/Desktop/YoctoWork/sources/poky/meta/lib/oe/package_manager.py', lineno: 140, function: generate_locale_archive 0136: if os.path.isdir(path): 0137: cmd = ["cross-localedef", "--verbose"] 0138: cmd += arch_options 0139: cmd += ["--add-to-archive", path] *** 0140: subprocess.check_output(cmd, env=env, stderr=subprocess.STDOUT) 0141: 0142:class Indexer(object, metaclass=ABCMeta): 0143: def __init__(self, d, deploy_dir): 0144: self.d = d File: '/usr/lib/python3.8/subprocess.py', lineno: 415, function: check_output 0411: else: 0412: empty = b'' 0413: kwargs['input'] = empty 0414: *** 0415: return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, 0416: **kwargs).stdout 0417: 0418: 0419:class CompletedProcess(object): File: '/usr/lib/python3.8/subprocess.py', lineno: 493, function: run 0489: 'with capture_output.') 0490: kwargs['stdout'] = PIPE 0491: kwargs['stderr'] = PIPE 0492: *** 0493: with Popen(*popenargs, **kwargs) as process: 0494: try: 0495: stdout, stderr = process.communicate(input, timeout=timeout) 0496: except TimeoutExpired as exc: 0497: process.kill() File: '/usr/lib/python3.8/subprocess.py', lineno: 858, function: __init__ 0854: if self.text_mode: 0855: self.stderr = io.TextIOWrapper(self.stderr, 0856: encoding=encoding, errors=errors) 0857: *** 0858: self._execute_child(args, executable, preexec_fn, close_fds, 0859: pass_fds, cwd, env, 0860: startupinfo, creationflags, shell, 0861: p2cread, p2cwrite, 0862: c2pread, c2pwrite, File: '/usr/lib/python3.8/subprocess.py', lineno: 1704, function: _execute_child 1700: else:
[yocto] How to iherit class based on a conditional variable? #sysvinit #systemd
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', 'file://script.sh', d)}" and I can do the same in all the tasks. The problem is, that I need to inherit either systemd or update-rc.d Is it possible to inherit them all, or how can I inherit something conditionally ? Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55135): https://lists.yoctoproject.org/g/yocto/message/55135 Mute This Topic: https://lists.yoctoproject.org/mt/86575814/21656 Mute #sysvinit:https://lists.yoctoproject.org/g/yocto/mutehashtag/sysvinit Mute #systemd:https://lists.yoctoproject.org/g/yocto/mutehashtag/systemd Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Permission denied with NFS shared download and sstate-cache
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: grub-efi-native-2.04-r0 do_configure: Build of do_configure failed ERROR: grub-efi-native-2.04-r0 do_configure: Traceback (most recent call last): File "/home/talel/Desktop/YoctoWork/sources/poky/bitbake/lib/bb/build.py", line 644, in exec_task return _exec_task(fn, task, d, quieterr) File "/home/talel/Desktop/YoctoWork/sources/poky/bitbake/lib/bb/build.py", line 618, in _exec_task event.fire(TaskSucceeded(task, fn, logfn, localdata), localdata) File "/home/talel/Desktop/YoctoWork/sources/poky/bitbake/lib/bb/event.py", line 215, in fire fire_class_handlers(event, d) File "/home/talel/Desktop/YoctoWork/sources/poky/bitbake/lib/bb/event.py", line 122, in fire_class_handlers execute_handler(name, handler, event, d) File "/home/talel/Desktop/YoctoWork/sources/poky/bitbake/lib/bb/event.py", line 94, in execute_handler ret = handler(event) File "/home/talel/Desktop/YoctoWork/sources/poky/meta/classes/sstate.bbclass", line 1094, in sstate_eventhandler bb.siggen.dump_this_task(sstatepkg + '_' + taskname + ".tgz" ".siginfo", d) File "/home/talel/Desktop/YoctoWork/sources/poky/bitbake/lib/bb/siggen.py", line 648, in dump_this_task bb.parse.siggen.dump_sigtask(fn, task, outfile, "customfile:" + referencestamp) File "/home/talel/Desktop/YoctoWork/sources/poky/meta/lib/oe/sstatesig.py", line 202, in dump_sigtask super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigtask(fn, task, stampbase, runtime) File "/home/talel/Desktop/YoctoWork/sources/poky/bitbake/lib/bb/siggen.py", line 362, in dump_sigtask fd, tmpfile = tempfile.mkstemp(dir=os.path.dirname(sigfile), prefix="sigtask.") File "/usr/lib/python3.8/tempfile.py", line 470, in mkstemp return _mkstemp_inner(dir, prefix, suffix, flags, output_type) File "/usr/lib/python3.8/tempfile.py", line 389, in _mkstemp_inner fd = _os.open(file, flags, 0o600) PermissionError: [Errno 13] Permission denied: '/home/talel/Desktop/YoctoShare/tethys-cache/ubuntu-20.04/dd/sigtask.dgjx7ngq' ERROR: Task (virtual:native:/home/talel/Desktop/YoctoWork/sources/poky/meta/recipes-bsp/grub/grub-efi_2.04.bb:do_configure) failed with exit code '1' --- I can modify the mounted folder by creating a directory or a file, but it fails with yocto. How can I solve the issue? Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54795): https://lists.yoctoproject.org/g/yocto/message/54795 Mute This Topic: https://lists.yoctoproject.org/mt/85794523/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Hello world recipe
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 meta-layer/recipes-custom/python-hello So, you need to create that layer, follow: bitbake-layers create-layer meta-custom bitbake-layers add-layer meta-custom Now, in that layer create folders: recipes-custom/python-hello, in that you should have: 1. another folder: files in that you put python-hello.py 2. python-hello.bb the content of all of that is in the tutorial . -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54345): https://lists.yoctoproject.org/g/yocto/message/54345 Mute This Topic: https://lists.yoctoproject.org/mt/84770909/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] How to pass arguments to a shell function from python task bb.build.exec_func ? #yocto #bitbake
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 : " *bb.build.exec_func('shell_function 1', d)"* but it fails with the error: "shell_function 1" not found. Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54184): https://lists.yoctoproject.org/g/yocto/message/54184 Mute This Topic: https://lists.yoctoproject.org/mt/84359311/21656 Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] pyqtwebengine recipe problem
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 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54007): https://lists.yoctoproject.org/g/yocto/message/54007 Mute This Topic: https://lists.yoctoproject.org/mt/83868474/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] How to create swap partition ?
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 mmcblk --fstype=vfat > --label boot --active --align 8192 --size 64 > part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align > 8192 > > bootloader --ptable msdos > What to add here in order to create a swap partition with size 2G. Thanks for the help. Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53824): https://lists.yoctoproject.org/g/yocto/message/53824 Mute This Topic: https://lists.yoctoproject.org/mt/83444346/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] python3-dlib linking issue #yocto #zeus #python
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 = "file://dlib/LICENSE.txt;md5=2c7a3fa82e66676005cd4ee2608fd7d2 \ file://dlib/external/pybind11/LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62 \ file://dlib/external/libpng/LICENSE;md5=243135ddedf702158f9170807cbcfb66 \ file://docs/docs/license.xml;md5=2e6ff4080dcb217d4d300b90e9aabb5b \ file://examples/LICENSE_FOR_EXAMPLE_PROGRAMS.txt;md5=57eee82829ed297e23d84de5f905afee \ file://examples/video_frames/license.txt;md5=127ee508b60a6be9dea8af3b441993dc \ file://python_examples/LICENSE_FOR_EXAMPLE_PROGRAMS.txt;md5=064f53ab40ea2b6a4bba1324149e4fde" SRC_URI = "git://github.com/davisking/dlib.git;protocol=https" PV = "1.0+git${SRCPV}" SRCREV = "3b794540baeabbcd033b544230401967106d5483" S = "${WORKDIR}/git" inherit setuptools3 DEPENDS += "python3 cmake-native" FILES_${PN}-dev += "${libdir}/cmake/dlib" EXTRA_OECMAKE += "-DDLIB_NO_GUI_SUPPORT=ON -DBUILD_SHARED_LIBS=ON -DDLIB_USE_CUDA=OFF" -- When I try to bitbake it, I get a linking issue with ld telling me that libnsl.so in wrong format: [100%] Linking CXX shared module /media/talel/data/menzu-zeus/ttdemo/tmp/work/aarch64-poky-linux/python3-dlib/1.0+gitAUTOINC+3b794540ba-r0/git/build/lib.linux-x86_64-3.7/dlib.cpython-37m-aarch64-linux-gnu.so | /media/talel/data/menzu-zeus/ttdemo/tmp/work/aarch64-poky-linux/python3-dlib/1.0+gitAUTOINC+3b794540ba-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/ld: /media/talel/data/menzu-zeus/ttdemo/tmp/work/aarch64-poky-linux/python3-dlib/1.0+gitAUTOINC+3b794540ba-r0/recipe-sysroot-native/usr/lib/libnsl.so: error adding symbols: file in wrong format | collect2: error: ld returned 1 exit status Did anyone make it work? Or does anyone know how to solve the problem? Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53547): https://lists.yoctoproject.org/g/yocto/message/53547 Mute This Topic: https://lists.yoctoproject.org/mt/82896356/21656 Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Mute #zeus:https://lists.yoctoproject.org/g/yocto/mutehashtag/zeus Mute #python:https://lists.yoctoproject.org/g/yocto/mutehashtag/python Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [zeus] python3-dlib #yocto #zeus #python
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): https://lists.yoctoproject.org/g/yocto/message/53465 Mute This Topic: https://lists.yoctoproject.org/mt/82756054/21656 Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Mute #python:https://lists.yoctoproject.org/g/yocto/mutehashtag/python Mute #zeus:https://lists.yoctoproject.org/g/yocto/mutehashtag/zeus Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [zeus] python3-dlib #yocto #zeus #python
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 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53463): https://lists.yoctoproject.org/g/yocto/message/53463 Mute This Topic: https://lists.yoctoproject.org/mt/82756054/21656 Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Mute #zeus:https://lists.yoctoproject.org/g/yocto/mutehashtag/zeus Mute #python:https://lists.yoctoproject.org/g/yocto/mutehashtag/python Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [zeus] python3-numpy: No module named 'numpy.core._multiarray_umath' #yocto #zeus #python
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 "/usr/lib/python3.7/site-packages/numpy/core/__init__.py", line 17, in from . import multiarray File "/usr/lib/python3.7/site-packages/numpy/core/multiarray.py", line 14, in from . import overrides File "/usr/lib/python3.7/site-packages/numpy/core/overrides.py", line 7, in from numpy.core._multiarray_umath import ( ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.7/site-packages/cv2/__init__.py", line 8, in import numpy File "/usr/lib/python3.7/site-packages/numpy/__init__.py", line 142, in root@menzu-media:~# python3 Python 3.7.7 (default, Apr 22 2021, 09:42:29) [GCC 9.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 OpenCV bindings requires "numpy" package. Install it via command: pip install numpy Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/numpy/core/__init__.py", line 17, in from . import multiarray File "/usr/lib/python3.7/site-packages/numpy/core/multiarray.py", line 14, in from . import overrides File "/usr/lib/python3.7/site-packages/numpy/core/overrides.py", line 7, in from numpy.core._multiarray_umath import ( ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.7/site-packages/cv2/__init__.py", line 8, in import numpy File "/usr/lib/python3.7/site-packages/numpy/__init__.py", line 142, in from . import core File "/usr/lib/python3.7/site-packages/numpy/core/__init__.py", line 47, in raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy c-extensions failed. - Try uninstalling and reinstalling numpy. - If you have already done that, then: 1. Check that you expected to use Python3.7 from "/usr/bin/python3", and that you have no directories in your PATH or PYTHONPATH that can interfere with the Python and numpy version "1.17.0" you're trying to use. 2. If (1) looks fine, you can open a new issue at https://github.com/numpy/numpy/issues. Please include details on: - how you installed Python - how you installed numpy - your operating system - whether or not you have multiple versions of Python installed - if you built from source, your compiler versions and ideally a build log - If you're working with a numpy git repository, try `git clean -xdf` (removes all files not under version control) and rebuild numpy. Note: this error has many possible causes, so please don't comment on an existing issue about this - open a new one instead. Original error was: No module named 'numpy.core._multiarray_umath' -- Did any one encounter this issue? Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53459): https://lists.yoctoproject.org/g/yocto/message/53459 Mute This Topic: https://lists.yoctoproject.org/mt/82750385/21656 Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Mute #zeus:https://lists.yoctoproject.org/g/yocto/mutehashtag/zeus Mute #python:https://lists.yoctoproject.org/g/yocto/mutehashtag/python Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] How to remove Kernel headers from SDK
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 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51375): https://lists.yoctoproject.org/g/yocto/message/51375 Mute This Topic: https://lists.yoctoproject.org/mt/78228812/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Split kernel patches over different machines
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 Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Split kernel patches over different machines
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 SRC_URI_menzu-media += "file://media.patch" # FOR menzu-media ONLY But this didn't work, only "media.patch" is unpacked and moreover the kernel recipe workdir does not contain a content as if unpack didn't work properly. How can I do it ? Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51359): https://lists.yoctoproject.org/g/yocto/message/51359 Mute This Topic: https://lists.yoctoproject.org/mt/78180473/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] How to create new variable in Yocto to use it in a recipe ?
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 (){ a = d.getVar('MY_VARIABLE' or '') } How can I do this? Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51356): https://lists.yoctoproject.org/g/yocto/message/51356 Mute This Topic: https://lists.yoctoproject.org/mt/78178782/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] python3-psycopg2cffi DEPENDS error cffi
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 = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf" SRC_URI = "https://files.pythonhosted.org/packages/cb/ae/380e33d621ae301770358eb11a896a34c34f30db188847a561e8e39ee866/cffi-1.14.3.tar.gz; SRC_URI[md5sum] = "c2a47ffd5d183b193ac8ed3414dcfd07" SRC_URI[sha256sum] = "f92f789e4f9241cd262ad7a555ca2c648a98178a953af117ef7fad46aa1d5591" S = "${WORKDIR}/cffi-1.14.3" RDEPENDS_${PN} = "python3-pycparser" BBCLASSEXTEND = "native" inherit setuptools3 and here is python3-psycopg2cffi recipe SUMMARY = ".. image:: https://travis-ci.org/chtd/psycopg2cffi.svg?branch=master; HOMEPAGE = "http://github.com/chtd/psycopg2cffi; AUTHOR = "Konstantin Lopuhin " LICENSE = "LGPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=edf147a599198440160215f8111f5bcf" SRC_URI = "https://files.pythonhosted.org/packages/95/50/5b94b81a57948ce0350559aad8c20d250ff3b87868a5615efcc79704ba49/psycopg2cffi-2.8.1.tar.gz; SRC_URI[md5sum] = "f67394d47803dab8a481402754bf83a1" SRC_URI[sha256sum] = "fcaa4d5477a8205b33e8e9e6707a5c331a0f5d7f4af354529b6564377b678079" S = "${WORKDIR}/psycopg2cffi-2.8.1" DEPENDS = "python3-cffi-native" RDEPENDS_${PN} = "" inherit setuptools3 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51343): https://lists.yoctoproject.org/g/yocto/message/51343 Mute This Topic: https://lists.yoctoproject.org/mt/78158738/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] python3-psycopg2cffi DEPENDS error cffi
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 depends also on python3-pycparser which is already native and exist. Then I added DEPENDS = "python3-cffi" to python3-psycopg2cffi recipe but failed with same error, I tried to rename the python3-cffi to just cffi but same error. What I'm missing ? Thanks ,Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51341): https://lists.yoctoproject.org/g/yocto/message/51341 Mute This Topic: https://lists.yoctoproject.org/mt/78158738/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] sd-bus.h not found even with DEPENDS += "systemd"
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 path > > > Cheers > So I added EXTRA_OEMAKE += "-I ${STAGING_INCDIR} to fix the systemd include error. But I still get the error of : /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/wirepas-sink-tool/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/ld: c-mesh-api/lib/build/mesh_api_lib.a: error adding symbols: file in wrong format I don't know what is the problem. Help me on this please. Thanks for your support. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50839): https://lists.yoctoproject.org/g/yocto/message/50839 Mute This Topic: https://lists.yoctoproject.org/mt/77141718/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] sd-bus.h not found even with DEPENDS += "systemd"
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" : | /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/wirepas-sink-tool/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/ld: c-mesh-api/lib/build/mesh_api_lib.a(logger.o): Relocations in generic ELF (EM: 62) | /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/wirepas-sink-tool/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/ld: c-mesh-api/lib/build/mesh_api_lib.a(logger.o): Relocations in generic ELF (EM: 62) | /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/wirepas-sink-tool/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/ld: c-mesh-api/lib/build/mesh_api_lib.a: error adding symbols: file in wrong format | collect2: error: ld returned 1 exit status | makefile:102: recipe for target 'build/sinkService' failed Here is the Makefile: --- # Makefile for Wirepas Dbus Sink module # Toolchain CC ?= gcc AS ?= as LD ?= ld AR ?= ar # Paths, including trailing path separator SOURCEPREFIX := source/ BUILDPREFIX := build/ # This example needs the mesh lib MESH_LIB_FOLDER := c-mesh-api/lib/ MESH_LIB := $(MESH_LIB_FOLDER)build/mesh_api_lib.a # General compiler flags CFLAGS := -std=gnu99 -Wall -Werror -O # Targets definition MAIN_APP := sinkService TARGET_APP := $(BUILDPREFIX)$(MAIN_APP) # Add Api header (including logger files) CFLAGS += -I$(MESH_LIB_FOLDER)api # Add pthtread lib as needed by Mesh Lib LDFLAGS += -pthread # Add Reentrant flag as using pthread CFLAGS += -D_REENTRANT # Add systemd lib as needed for sd-bus LDFLAGS += -lsystemd # Add current directory for headers CFLAGS += -I$(SOURCEPREFIX) # Specific sources for this application SOURCES := $(SOURCEPREFIX)main.c SOURCES += $(SOURCEPREFIX)config.c SOURCES += $(SOURCEPREFIX)data.c SOURCES += $(SOURCEPREFIX)otap.c OBJECTS := $(patsubst $(SOURCEPREFIX)%, \ $(BUILDPREFIX)%, \ $(SOURCES:.c=.o)) # Functions # Also create the target directory if it does not exist define COMPILE echo " CC $(2)" mkdir -p $(dir $(1)) $(CC) $(CFLAGS) -c -o $(1) $(2) endef define LINK echo " Linking $(1)" $(CC) $(CFLAGS) -o $(1) $(2) $(MESH_LIB) $(LDFLAGS) endef define CLEAN echo " Cleaning up" $(RM) -r $(BUILDPREFIX) make -C $(MESH_LIB_FOLDER) clean endef # Target rules # Use dependency files automatically generated by GCC. # First collect all C source files AUTODEPS := $(patsubst $(SOURCEPREFIX)%.c, $(BUILDPREFIX)%.d, $(SOURCES)) ifeq ($(V),1) # "V=1" on command line, print commands. else # Default, do not print commands. .SILENT: endif .PHONY: all all: app app: $(TARGET_APP) .PHONY: clean clean: $(call CLEAN) $(MESH_LIB_FOLDER): $(error Please add the c-mesh-api library under c-mesh-api folder.\ It is needed to handle dualmcu protocol) .PHONY: $(MESH_LIB) $(MESH_LIB): $(MESH_LIB_FOLDER) make -C $(MESH_LIB_FOLDER) $(BUILDPREFIX)%.o: $(SOURCEPREFIX)%.c $(call COMPILE,$@,$<) $(BUILDPREFIX)$(MAIN_APP): $(OBJECTS) $(MESH_LIB) $(call LINK,$@,$^) --- What is wrong ? Thanks ,Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50833): https://lists.yoctoproject.org/g/yocto/message/50833 Mute This Topic: https://lists.yoctoproject.org/mt/77141718/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] sd-bus.h not found even with DEPENDS += "systemd"
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 devtool it added DEPEND = "systemd" in the recipe file. But when compiling : > > fatal error: systemd/sd-bus.h: No such file or directory The Makefile just needs "make" and it worked on my native host. Here is the recipe: LICENSE = " Unknown " LIC_FILES_CHKSUM = " file://c-mesh-api/LICENSE;md5=b8b4f77337154d1f64ebe68dcd93fab6 " SRC_URI = " file:///media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-sink-tool/files/sink_service.zip " DEPENDS = " systemd " do_configure () { # Specify any needed configure commands here : } do_compile () { # You will almost certainly need to add additional arguments here oe_runmake } do_install () { # NOTE: unable to determine what to put here - there is a Makefile but no # target named "install", so you will need to define this yourself : } The only problem is in do_compile , I need to fix it and then I can manage the install part. How can I specify the libsystemd in BUILD time , do I need EXTRA_OEMAKE ? Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50832): https://lists.yoctoproject.org/g/yocto/message/50832 Mute This Topic: https://lists.yoctoproject.org/mt/77141718/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] setup.py no such file or directory
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 the same recipes name with ${PV} so it can match the same recipe's workdir. And now files are extracted in the good location and get compiled correctly. devtool uses externalsrc to locate the source files directly, that is why it finds setup.py. Thanks for the support again, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50831): https://lists.yoctoproject.org/g/yocto/message/50831 Mute This Topic: https://lists.yoctoproject.org/mt/77081275/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] setup.py no such file or directory
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 (#50830): https://lists.yoctoproject.org/g/yocto/message/50830 Mute This Topic: https://lists.yoctoproject.org/mt/77081275/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] setup.py no such file or directory
HI, I'm trying to make a recipe for wirepas-gateway and wirepas-messaging, let's take wirepas-messaging for an example , it is so easy : I'm downloading the https://github.com/wirepas/backend-apis/tree/master/wrappers/python , because https://github.com/wirepas/backend-apis does not contain the wirepas-messaging package sources directly . So I'm zipping the sources of https://github.com/wirepas/backend-apis/tree/master/wrappers/python and adding it with devtool After that when I build the recipe it build successfully after fixing the do_package with adding FILES_${PN} = "/usr/share/*" So I checked the tmp/work/.../image and the package is correctly installed into the image destination. Now when I do devtool finish , it copy paste the same recipe .bb file with the same SRC_URI, now when I try to build it I get the error of : /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/python3-wirepas-messaging/1.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3: can't open file 'setup.py': [Errno 2] No such file or directory The same SRC_URI: SRC_URI = "file:///home/talel/Desktop/backend-apis/wrappers/python/wirepas-messaging.zip" What is the 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 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 error : > > > > > > > > > > /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/python3-wirepas_messaging/1.4.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3: > > > can't open file 'setup.py': [Errno 2] No such file or directory > > > > Here is the recipe by devtool: > > > > ## > > > > SUMMARY = "Wirepas gateway transport service that connects the local > dbus to a remote MQTT broker." > > HOMEPAGE = "https://github.com/wirepas/gateway; > > LICENSE = "Apache" > > LIC_FILES_CHKSUM = "file://LICENSE;md5=cb6bb17b0d0cca188339074207e9f4d8" > > SRC_URI = > "file:///media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-gateway/files/wirepas_gateway-${PV}/wp-gateway.zip" > > If your recipe is in: > > /media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-gateway/ > and wp-gateway.zip is in: > > /media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-gateway/files/wirepas_gateway-1.4.0 > just put: > SRC_URI = "file://wirepas_gateway-${PN}/wp-gateway.zip" > > I'd suggest putting your .zip file in: > > /media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-gateway/wirepas_gateway-1.4.0 > (note the missing files directory), in which case, your SRC_URI would > be: > SRC_URI = "file://wp-gateway.zip" > > Also... This looks like you're taking code from > https://github.com/wirepas/gateway ? Have you thought of using the git > repo directly? e.g. devtool add python3-wirepas-gateway > https://github.com/wirepas/gateway.git? > > It'll use the latest commit in master but it's changeable, and it is way > more maintainable IMO compared to a tarball you manually download every > now and then. > > Please do NOT use _ in your recipe filename, so rename your recipe to > python3-wirepas-messaging. > > Please answer to all when you're answering back to me or anyone in this > community, so people could benefit from the solution or discussion > around the issue, > Quentin > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50828): https://lists.yoctoproject.org/g/yocto/message/50828 Mute This Topic: https://lists.yoctoproject.org/mt/77081275/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] setup.py no such file or directory
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 error : > > > /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/python3-wirepas_messaging/1.4.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3: > can't open file 'setup.py': [Errno 2] No such file or directory Here is the recipe by devtool: ## SUMMARY = "Wirepas gateway transport service that connects the local dbus to a remote MQTT broker." HOMEPAGE = "https://github.com/wirepas/gateway; LICENSE = "Apache" LIC_FILES_CHKSUM = "file://LICENSE;md5=cb6bb17b0d0cca188339074207e9f4d8" SRC_URI = "file:///media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-gateway/files/wirepas_gateway-${PV}/wp-gateway.zip" inherit setuptools3 RDEPENDS_${PN} += "python3-pyyaml python3-grpcio python3-paho-mqtt python3-pydbus" RDEPENDS_${PN} += "python3-core python3-datetime python3-io python3-json python3-logging python3-netclient python3-paho-mqtt python3-pydbus python3-pygobject python3-pyyaml python3-threading" DEPENDS += "systemd" ## I copy paste the same recipe source to a recipe under meta-wirepas/recipes-wirepas of mine, and copied the SRC_URI = "file:///media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-gateway/files/wirepas_gateway-${PV}/wp-gateway.zip" zip file under "files", and I got the error. I don't know what is the difference, I think devtool created the recipe with .bbappend containing : inherit externalsrc EXTERNALSRC = "/media/talel/data/menzu-zeus/menzu/workspace/sources/wirepas-gateway" EXTERNALSRC_BUILD = "/media/talel/data/menzu-zeus/menzu/workspace/sources/wirepas-gateway" ## Is it the source of the problem, or how can I fix the issue ? Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50823): https://lists.yoctoproject.org/g/yocto/message/50823 Mute This Topic: https://lists.yoctoproject.org/mt/77081275/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] sd-bus.h not found when compiling #yocto
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: No such file or directory| > 9 | #include Here is my recipe: > > SUMMARY = "Wirepas gateway transport service that connects the local dbus > to a remote MQTT broker." > > HOMEPAGE = "https://github.com/wirepas/gateway; > > LICENSE = "Apache" > > LIC_FILES_CHKSUM = "file://LICENSE;md5=cb6bb17b0d0cca188339074207e9f4d8" > > SRC_URI = > "file:///home/talel/Desktop/wirepas_gateway-${PV}/wp-gateway.zip" > > inherit setuptools3 > > RDEPENDS_${PN} += "libsystemd python3-pyyaml python3-grpcio > python3-paho-mqtt python3-pydbus python3-wirepas_messaging" > > RDEPENDS_${PN} += "python3-core python3-datetime python3-io python3-json > python3-logging python3-netclient python3-paho-mqtt python3-pygobject > python3-pyyaml python3-threading" How can I solve the issue ? Thanks, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50815): https://lists.yoctoproject.org/g/yocto/message/50815 Mute This Topic: https://lists.yoctoproject.org/mt/77075794/21656 Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [poky] python-setuptools dependency loops error #yocto #python
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: 176 unbuildable tasks were found. ## | ETA: 0:00:00* *These are usually caused by circular dependencies and any circular dependency chains found will be printed below. Increase the debug level to see a list of unbuildable tasks.* *Identifying dependency loops (this may take a short while)...* *ERROR:* *Dependency loop #1 found:* *Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_compile (dependent Tasks ['python-setuptools_40.0.0.bb:do_configure'])* *Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_install (dependent Tasks ['python-setuptools_40.0.0.bb:do_compile'])* *Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_populate_sysroot (dependent Tasks ['python-setuptools_40.0.0.bb:do_install'])* *Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_prepare_recipe_sysroot (dependent Tasks ['python-setuptools_40.0.0.bb:do_populate_sysroot', 'python-native_2.7.15.bb:do_populate_sysroot', 'python-setuptools_40.0.0.bb:do_fetch'])* *Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_configure (dependent Tasks ['python-setuptools_40.0.0.bb:do_prepare_recipe_sysroot', 'python-setuptools_40.0.0.bb:do_patch'])* *ERROR: Command execution failed: 1 * -- Thansk, Talel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49928): https://lists.yoctoproject.org/g/yocto/message/49928 Mute This Topic: https://lists.yoctoproject.org/mt/75473278/21656 Mute #yocto: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/yocto Mute #python: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/python Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-