Qt based application fails to start with error "Could not initialize egl display" with Yocto Kirkstone
Rasool, Ansar <Ansar_Rasool@...>
Hi All,
Regards,
Ansar Rasool
|
|
Multiple Images on the same HW platform with one image recipe
an010@...
Hello Yocto Experts,
I have a minor question regarding how to manage multiple projects within Yocto with MACHINE_FEATURES, DISTRO_FEATURES and IMAGE_FEATURES. If I have one HW platform but two images, where the latter one contains a bit more applications, am
I supposed to have one MACHINE, one DISTRO and 2 IMAGES? Or maybe one IMAGE but somehow to define IMAGE_FEATURES / EXTRA_IMAGE_FEATURES differently in those two cases? Due to
simplicity, I would rather have one image recipe.
Whats the best way to achieve this? Thanks.
|
|
Yocto Project 3.1.19 (dunfell-23.0.19) is Released
Lee Chee Yang
Hi We are pleased to announce the Yocto Project 3.1.19 (dunfell-23.0.19) Release is now available for download.
http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.19/poky-dunfell-23.0.19.tar.bz2 http://mirrors.kernel.org/yocto/yocto/yocto-3.1.19/poky-dunfell-23.0.19.tar.bz2
A gpg signed version of these release notes is available at:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.19/RELEASENOTES
Full Test Report:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.19/testreport.txt
Thank you for everyone's contributions to this release.
Chee Yang Lee chee.yang.lee@... Yocto Project Build and Release - -------------------------- yocto-3.1.19 Release Notes - --------------------------
- -------------------------- Repositories/Downloads - --------------------------
Repository Name: poky Repository Location: https://git.yoctoproject.org/git/poky Branch: dunfell Tag: yocto-3.1.19 Git Revision: 4aad5914efe9789755789856882aac53de6c4ed3 Release Artefact: poky-dunfell-23.0.19 sha: d60e2b374e8fbb2560493a163b87f0e215795daa92d812252995af9365bd53f0 Download Locations: http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.19/poky-dunfell-23.0.19.tar.bz2 http://mirrors.kernel.org/yocto/yocto/yocto-3.1.19/poky-dunfell-23.0.19.tar.bz2
Repository Name: openembedded-core Repository Location: https://git.openembedded.org/openembedded-core Branch: dunfell Tag: yocto-3.1.19 Git Revision: a3cba15142e98177119ef36c09f553d09acf35ef Release Artefact: oecore-dunfell-23.0.19 sha: 08e66325f4e59df61790fa577626caf9fa0895db12c55407b95728916ea7597b Download Locations: http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.19/oecore-dunfell-23.0.19.tar.bz2 http://mirrors.kernel.org/yocto/yocto/yocto-3.1.19/oecore-dunfell-23.0.19.tar.bz2
Repository Name: meta-mingw Repository Location: https://git.yoctoproject.org/git/meta-mingw Branch: dunfell Tag: yocto-3.1.19 Git Revision: 524de686205b5d6736661d4532f5f98fee8589b7 Release Artefact: meta-mingw-dunfell-23.0.19 sha: ce55e5a82c51537b3900127f83c8239c7fc914a2f04ac3c8e6994cde881aeafc Download Locations: http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.19/meta-mingw-dunfell-23.0.19.tar.bz2 http://mirrors.kernel.org/yocto/yocto/yocto-3.1.19/meta-mingw-dunfell-23.0.19.tar.bz2
Repository Name: meta-gplv2 Repository Location: https://git.yoctoproject.org/git/meta-gplv2 Branch: dunfell Tag: yocto-3.1.19 Git Revision: 60b251c25ba87e946a0ca4cdc8d17b1cb09292ac Release Artefact: meta-gplv2-dunfell-23.0.19 sha: 04dc6ed5adf36b13da082cba8abf5760069c07b91590389cfce33f2b852d6d3d Download Locations: http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.19/meta-gplv2-dunfell-23.0.19.tar.bz2 http://mirrors.kernel.org/yocto/yocto/yocto-3.1.19/meta-gplv2-dunfell-23.0.19.tar.bz2
Repository Name: bitbake Repository Location: https://git.openembedded.org/bitbake Branch: dunfell Tag: yocto-3.1.19 Git Revision: 17be38290d1e971cd89785e6bf44caef0a6416f8 Release Artefact: bitbake-dunfell-23.0.19 sha: 5b6550fa76d59cb63ee15747db2c7441286a2f8d2d5296126ce4d86bbb189bea Download Locations: http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.19/bitbake-dunfell-23.0.19.tar.bz2 http://mirrors.kernel.org/yocto/yocto/yocto-3.1.19/bitbake-dunfell-23.0.19.tar.bz2
Repository Name: yocto-docs Repository Location: https://git.yoctoproject.org/git/yocto-docs Branch: dunfell Tag: yocto-3.1.19 Git Revision: 95e030ec74f69eccabcc97737c8a93fd7629f9d9
- --------------- Known Issues - --------------- N/A
- --------------- Security Fixes - --------------- gdk-pixbuf: Fix CVE-2021-46829 gnupg: Fix CVE-2022-34903 gnutls: Fix CVE-2022-2509 grub2: Fix CVE-2021-3695 CVE-2021-3696 CVE-2021-3697 CVE-2022-28733 CVE-2022-28734 CVE-2022-28736 libTiff: Fix CVE-2022-2056 CVE-2022-2057 CVE-2022-2058 libjpeg-turbo: Fix CVE-2021-46822 libtirpc: Fix CVE-2021-46828 qemu: Fix CVE-2020-27821 CVE-2022-35414 zlib: Fix CVE-2022-37434
- --------------- Fixes - --------------- bin_package: install into base_prefix bitbake: fetch2/wget: Update user-agent build-appliance-image: Update to dunfell head revision cve_check: skip remote patches that haven't been fetched when searching for CVE tags documentation: update for 3.1.19 release gstreamer1.0: use the correct meson option for the capabilities initscripts: run umountnfs as a KILL script insane: Fix buildpaths test to work with special devices kernel-arch: Fix buildpaths leaking into external module compiles kernel-fitimage.bbclass: add padding algorithm property in config nodes libmodule-build-perl: Use env utility to find perl interpreter libxml2: Port gentest.py to Python-3 linux-firmware: update 20220610 -> 20220708 linux-firwmare: restore WHENCE_CHKSUM variable linux-yocto/5.4: update to v5.4.209 openssh: Add openssh-sftp-server to openssh RDEPENDS poky.conf: bump version for 3.1.19 release rootfs-postcommands.bbclass: move host-user-contaminated.txt to ${S} selftest: skip virgl test on fedora 36 vim: Upgrade to 9.0.0115
|
|
Re: Dependency for binary package
On Thu, Aug 25, 2022 at 4:56 PM Rudolf J Streif
<rudolf.streif@...> wrote: I see a potential problem here, the soname is libGLESv2.so.2 but the dependency its complaining about is libGLESv2.so()(64bit), ( you see the missing version number ?) Can you run readelf -d <binary name> | grep NEEDED and see what libs are encoded in the ELF
|
|
Re: Dependency for binary package
On 8/25/22 4:49 PM, Khem Raj wrote:
On Thu, Aug 25, 2022 at 4:44 PM Rudolf J StreifYes, but that does not satisfy the dependency: ERROR: virtuoso-0.1-r0 do_package_qa: QA Issue: /opt/virtuoso/virtuoso contained in package virtuoso requires libGLESv2.so()(64bit), but no providers found in RDEPENDS:virtuoso? [file-rdeps] I can SKIP_INSANE file-rdeps but then I am getting the same issue when creating the rootfs with dnf. But in all fairness, I don't have control over the entire process. The customer builds the executable with the SDK I gave them. They give me the executable to put in the rootfs. ----Thanks, Rudolf J Streif CEO/CTO ibeeto +1.855.442.3386 x700
|
|
Re: Dependency for binary package
On Thu, Aug 25, 2022 at 4:44 PM Rudolf J Streif
<rudolf.streif@...> wrote: interesting, are you adding RDEPENDS on libgles2-mesa ? --Thanks,
|
|
Re: Dependency for binary package
Thanks, Khem.
On 8/25/22 4:27 PM, Khem Raj wrote: On Thu, Aug 25, 2022 at 7:30 AM Rudolf J StreiflibGLESv2 in question on the target was built with YP: 0x000000000000000e (SONAME) Library soname: [libGLESv2.so.2] The SDK that builds the application was built with the same YP setup. That's why I am scratching my head. --Thanks, Rudolf J Streif CEO/CTO ibeeto +1.855.442.3386 x700
|
|
Re: Dependency for binary package
On Thu, Aug 25, 2022 at 7:30 AM Rudolf J Streif
<rudolf.streif@...> wrote: some libraries do not set SONAME in them, which can trip the shlibs code. Can you check if libgles in question has SONAME encoded in its ELF header readelf -d <lib> | grep SONAME might be what you can use to deduce it.
|
|
Re: Dependency for binary package
Thank you, Quentin. On 8/25/22 7:45 AM, Quentin Schulz
wrote:
Hi Rudolf, Yes, that is exactly the issue: 0x0000000000000001 (NEEDED) Shared library:
[libQt5Quick.so.5] The question is what causes this if the application is built with
the toolchain and against the rootfs that YP produces.
-- Rudolf J Streif CEO/CTO ibeeto +1.855.442.3386 x700
|
|
Minutes: Yocto Project Weekly Triage Meeting 8/25/2022
sakib.sajal@...
Wiki: https://wiki.yoctoproject.org/wiki/Bug_Triage Attendees: Steve Sakoman, Joshua Watt, Randy Macleod,
Richard Purdie, Alexandre Belloni, Stephen Jolley, Ross Burton,
Saul Wold, Tim Orling ARs: N/A Notes:
- Tim will raise issue
with Armin regarding BOF
Medium+ 4.1 Unassigned Enhancements/Bugs: 72 (Last week
78) AB Bugs: 58
(Last week 56)
|
|
Re: Dependency for binary package
Quentin Schulz
Hi Rudolf,
On 8/25/22 16:30, Rudolf J Streif wrote: I am packaging a binary package that has been built with the SDK created with the exact same configuration.Bitbake versions its shared libraries. So a binary built by Bitbake will link against libGLESv2.so.1.3 (or whatever the version of the lib actually is). This also means that the only shared library that can be used for linking is the versioned one. Bitbake reads the NEEDED section from objdump to identify the runtime dependencies and automatically add the packages providing those libraries to your image. This is the reason why you do not need to explicit RDEPENDS for packages created by recipes in DEPENDS. The issue here is that Bitbake creates a package which provides libGLESv2.so.1.3 but your binary requires libGLESv2.so and Bitbake cannot find a package for it. Usually the way to do it is to ignore the warning like you did, or build the binary in Yocto directly. I assume the latter is not possible because it is proprietary software compiled by a third-party and you don't have access to the source code. As to how to fix this issue with dnf, I do not know. One possibility could be to patchelf your binary in Yocto directly but you'll need to update this patchelf line every time you update libGLESv2 version because it is not possible to get the version from one recipe in another. Cheers, Quentin
|
|
Dependency for binary package
I am packaging a binary package that has been built with the SDK created with the exact same configuration.
During do_package I am getting an error that a dependency on libGLESv2.so()(64bit) cannot be met. Adding mesa to RDEPENDS does not resolve the issue. I can bypass it in the recipe by adding file-rdeps to INSANE_SKIP. However, then when the rootfs is created libdnf complains that the dependency on libGLES is not met and aborts. The application works just fine on the target if I copy it manually to the rootfs but that's not the best thing to do. It should be packaged and installed. Unfortunately I don't understand well enough how these checks work and why they are complaining about it. Maybe somebody can shed some light on it. Thanks, Rudi
|
|
Re: [qa-build-notification] QA notification for completed autobuilder build (yocto-3.1.19.rc1)
Teoh, Jay Shen
Hi Everyone,
toggle quoted messageShow quoted text
QA for yocto-3.1.19.rc1 is completed. This is the full report for this release: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults ======= Summary ======== No high milestone defects. No new issue found. Thanks, Jay
-----Original Message-----
|
|
Failing to add modphp httpd.conf missing php-native
Duda, Alexander
Hello yocto users,
I’m trying to add modphp to my project, since there isn’t a dedicated modphp recipe anymore I added an php bbappend with: PACKAGECONFIG:append = " apache2"
According to meta-openembedded/meta-webserver/README
But bitbake is telling me that during compile of php-native apxs is missing the httpd.conf
DEBUG: Appending .bbappend file /home/…/recipes-devtools/php/php_%.bbappend to /home/…/meta-openembedded/meta-oe/recipes-devtools/php/php_7.4.21.bb DEBUG: Appending .bbappend file /home/…/build/workspace/appends/php_7.4.21.bbappend to /home/…/meta-openembedded/meta-oe/recipes-devtools/php/php_7.4.21.bb … DEBUG: php-native-7.4.21-r0 do_install: Executing python function autotools_aclocals DEBUG: php-native-7.4.21-r0 do_install: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] DEBUG: php-native-7.4.21-r0 do_install: Python function autotools_aclocals finished DEBUG: php-native-7.4.21-r0 do_install: Executing shell function do_install ERROR: php-native-7.4.21-r0 do_install: oe_runmake failed ERROR: php-native-7.4.21-r0 do_install: ExecutionError('/home/…/build/tmp/work/x86_64-linux/php-native/7.4.21-r0/temp/run.do_install.104056', 1, None, None) ERROR: Logfile of failure stored in: /home/.../build/tmp/work/x86_64-linux/php-native/7.4.21-r0/temp/log.do_install.104056 … | apxs:Error: Config file /home/…./build/tmp/work/x86_64-linux/php-native/7.4.21-r0/image/home/…./build/tmp/work/x86_64-linux/php-native/7.4.21-r0/recipe-sysroot-native/etc/apache2/httpd.conf not found.
Is there a way to deploy a dummy httpd.conf to this location or any other fix to get this working?
Best regards,
Alex
|
|
Re: Building for both target and host
Richard Purdie
On Wed, 2022-08-24 at 16:37 +0200, Maik Vermeulen wrote:
Hi Richard,DEPENDS = "<full set>" DEPENDS:class-native = "<more restricted set>" and variations of this for other kinds of variables are one possibility. It all really depends. Cheers, Richard
|
|
Re: Building for both target and host
Alexander Kanavin
One option is to actually build an image for a qemux86_64 machine with the items you need (or qemuarm64 if that's your build host), then use 'runqemu kvm' to get native execution speed in a fully virtualized environment. 'native' recipes are generally meant as a springboard to get the binaries that are needed to build target recipes, and not a way to do 'native testing'. Alex
On Wed, 24 Aug 2022 at 16:38, Maik Vermeulen <maik.vermeulen@...> wrote:
|
|
Re: Building for both target and host
Maik Vermeulen
Hi Richard, Thanks, that seems like pretty much what I need! However, currently the recipes in the dependency chain don't all contain 'native' counterparts. Most actually wouldn't really need to for the executable to be built. Is there a way to neatly work around this too? On Wed, Aug 24, 2022 at 3:01 PM Richard Purdie <richard.purdie@...> wrote: On Wed, 2022-08-24 at 14:18 +0200, Maik Vermeulen wrote: ![]() Automotive Campus 70 —5708 JZ Helmond, the Netherlands This email may contain information which is privileged and/or confidential. If you received this e-mail in error, please notify us immediately by e-mail and delete the email without copying or disclosing its contents to any other person. Lightyear is a trade name of Atlas Technologies B.V. and is registered at the Dutch Chamber of Commerce under number 67264298.
|
|
Re: Bitbake + Patches
Peter Kjellerstedt
toggle quoted messageShow quoted text
-----Original Message-----Well, it depends on how strict your terminology is. To me, a patch is a file, typically generated by `diff` or `git format-patch`. But of course, adding the bbappend suggested below will modify the recipe so that it builds the latest version of Apache. I am relatively new to yocto so there’s a lot I need to learn.//Peter
|
|
Re: Building for both target and host
Richard Purdie
On Wed, 2022-08-24 at 14:18 +0200, Maik Vermeulen wrote:
Hi,BBCLASSEXTEND = "native" would create a variant of the recipe X as X-native which would run on the build host. That may or may not be what you're looking for :) Cheers, Richard
|
|
Building for both target and host
Maik Vermeulen
Hi,
We have a recipe with a CMake project which works fine on target, but ideally we would like to test functionality on our host systems first. How can we also have it generate executables for the host system? Do we need to make changes to the recipe, CMakeLists.txt, or both? I read something about autotools, but it's completely new to me. Any hints on what the easiest approach would be would be greatly appreciated! Kind regards, ![]() Automotive Campus 70 —5708 JZ Helmond, the Netherlands This email may contain information which is privileged and/or confidential. If you received this e-mail in error, please notify us immediately by e-mail and delete the email without copying or disclosing its contents to any other person. Lightyear is a trade name of Atlas Technologies B.V. and is registered at the Dutch Chamber of Commerce under number 67264298.
|
|