Parserror while building the image
#yocto
yasminebenghozzi6@...
I got this error while trying to build the image after checking out the timo/python3-
ERROR: ParseError at /home/yasmine/yocto/poky/meta-openembedded/meta-oe/conf/layer.conf:106: unparsed line: 'DEFAULT_TEST_SUITES:pn-meta-oe-ptest-image = "${PTESTTESTSUITE}"'
|
||
|
||
Re: Dependencies are not resolved correctly when building the SDK
asconcepcion
Please post the exact error that you're getting.Sorry, I haven't posted the exact error because I thought it is quite specific to the recipe I'm building. My first question was also too vague, sorry for that. The problem is that it fails in building that package because of a missing file that should be populated by that dependency. The error happens in the do_compile task: | make[1]: *** No rule to make target 'm4_image.bin', needed by 'flash_linux_m40'. Stop.So, the package expects that the file 'm4_image.bin' exists, and this file is generated by the dependency (it works well when building the yocto image, but not when building the SDK from scratch). Thanks, Alejandro
|
||
|
||
Re: Dependencies are not resolved correctly when building the SDK
Anuj Mittal
On Thu, 2021-08-26 at 00:44 -0700, asconcepcion wrote:
Hi Anuj,Please post the exact error that you're getting. Thanks, Anuj
|
||
|
||
Re: Dependencies are not resolved correctly when building the SDK
asconcepcion
Hi Anuj,
Thanks for the tip. I added "BBCLASSEXTEND += "nativesdk"" to the recipe of the dependency package, but I still get the same error. Do you know if I could be missing something else? Thanks. Alejandro.
|
||
|
||
Re: Dependencies are not resolved correctly when building the SDK
Anuj Mittal
On Wed, 2021-08-25 at 23:54 -0700, asconcepcion wrote:
Hello,Can that recipe for dependency package actually be built for nativesdk? Thanks, Anuj
|
||
|
||
Dependencies are not resolved correctly when building the SDK
asconcepcion
Hello,
We have a custom package recipe that has a build dependency with another one (defined in yocto with the DEPENDS variable). If we build an image that includes that package, bitbake will build the dependency before building the package, as expected. However, if we build the SDK associated to that image (with bitbake <image> -c populate_sdk), it will fail in building that package because of a missing dependency. Does anyone know what could be causing this behavior? Thanks.
|
||
|
||
Re: # yocto Fatal QA error (LIC_FILES_CHKSUM) [license-checksum]
Monsees, Steven C (US)
Never mind this, I worked it out… thanks anyway.
From: yocto@... <yocto@...>
On Behalf Of Monsees, Steven C (US) via lists.yoctoproject.org
Sent: Wednesday, August 25, 2021 12:25 PM To: yocto@... Subject: [yocto] # yocto Fatal QA error (LIC_FILES_CHKSUM) [license-checksum]
Using zeus, and I am build an image with no issues...
I then want to tweak the configuration by pulling in an a ".cfg" file to be able to tweak options depending on use…
I add the following to the image ".bb" file:
FILESEXTRAPATHS_prepend := "$THISDIR:" SRC_URI += "file://sbcb-defaultfs-swdebug.cfg"
sbcb-defaultfs-swdebug.cfg consists of three lines:
CONFIG_KPROBES=y CONFIG_KPROBES_ON_FTRACE=y CONFIG_DEBUG_INFO=y
When I add the above I see the following build issue, how do I relove this ?
ERROR: sbcb-defaultfs-swdebug-1.0-r0 do_populate_lic: QA Issue: sbcb-defaultfs-swdebug: Recipe file fetches files and does not have license file information (LIC_FILES_CHKSUM) [license-checksum] ERROR: sbcb-defaultfs-swdebug-1.0-r0 do_populate_lic: Fatal QA errors found, failing task. ERROR: Logfile of failure stored in: /disk0/scratch/smonsees/yocto/workspace_1/builds2/sbcb-default/tmp/work/sbcb_default-poky-linux/sbcb-defaultfs-swdebug/1.0-r0/temp/log.do_populate_lic.29324 ERROR: Task (/disk0/scratch/smonsees/yocto/workspace_1/poky/../meta-bae/meta-limws/meta-intel/recipes-core/images/sbcb-defaultfs-swdebug.bb:do_populate_lic) failed with exit code '1'
Thanks, Steve
|
||
|
||
# yocto Fatal QA error (LIC_FILES_CHKSUM) [license-checksum]
Monsees, Steven C (US)
Using zeus, and I am build an image with no issues...
I then want to tweak the configuration by pulling in an a ".cfg" file to be able to tweak options depending on use…
I add the following to the image ".bb" file:
FILESEXTRAPATHS_prepend := "$THISDIR:" SRC_URI += "file://sbcb-defaultfs-swdebug.cfg"
sbcb-defaultfs-swdebug.cfg consists of three lines:
CONFIG_KPROBES=y CONFIG_KPROBES_ON_FTRACE=y CONFIG_DEBUG_INFO=y
When I add the above I see the following build issue, how do I relove this ?
ERROR: sbcb-defaultfs-swdebug-1.0-r0 do_populate_lic: QA Issue: sbcb-defaultfs-swdebug: Recipe file fetches files and does not have license file information (LIC_FILES_CHKSUM) [license-checksum] ERROR: sbcb-defaultfs-swdebug-1.0-r0 do_populate_lic: Fatal QA errors found, failing task. ERROR: Logfile of failure stored in: /disk0/scratch/smonsees/yocto/workspace_1/builds2/sbcb-default/tmp/work/sbcb_default-poky-linux/sbcb-defaultfs-swdebug/1.0-r0/temp/log.do_populate_lic.29324 ERROR: Task (/disk0/scratch/smonsees/yocto/workspace_1/poky/../meta-bae/meta-limws/meta-intel/recipes-core/images/sbcb-defaultfs-swdebug.bb:do_populate_lic) failed with exit code '1'
Thanks, Steve
|
||
|
||
using STAGING_KERNEL_DIR for compiling userspace program
Marek Belisko
Hi,
I'm trying to add a recipe for: https://github.com/bootlin/libva-v4l2-request package. This library heavily depends on actual kernel headers (see PR.https://github.com/bootlin/libva-v4l2-request). I've bumped kernel to 5.14-rc7 nad in recipe I'm trying to use what is suggested: # This is how linux-libc-headers says to include custom uapi headers CFLAGS_append += " -I ${STAGING_KERNEL_DIR}/include/uapi -I ${STAGING_KERNEL_DIR}/include " do_configure[depends] += "virtual/kernel:do_shared_workdir" Problem is that I see a lot of errors like: kernel-source/include/linux/cache.h:6:10: fatal error: asm/cache.h: No such file or directory | 6 | #include <asm/cache.h> or recipe-sysroot/usr/include/bits/stdint-intn.h:27:19: note: previous declaration of 'int64_t' was here | 27 | typedef __int64_t int64_t; I tried to compile this package manually on the host only difference is that I used headers from 5.14 by make headers_install and everything compiled fine. Any ideas on how to fix this issue? Thanks and BR, marek -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com
|
||
|
||
Build a pyinstaller recipe
yasminebenghozzi6@...
Hello,
So have anyone been successful at making a pyinstaller recipe in yocto? Or add pyinstaller in the yocto image? Please I need help
|
||
|
||
[meta-tpm][PATCH v2] README: fix mailing lists and a typo
Marta Rybczynska
A number of typo fixes:
- tmp->tpm in the DISTRO_FEATURES - update the mailing list address as it was out of date - update the distro name in the subject Signed-off-by: Marta Rybczynska <rybczynska@...> --- meta-tpm/README | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta-tpm/README b/meta-tpm/README index 4441dd2..2b32a9f 100644 --- a/meta-tpm/README +++ b/meta-tpm/README @@ -5,7 +5,7 @@ The bbappend files for some recipes (e.g. linux-yocto) in this layer need to have 'tpm' in DISTRO_FEATURES to have effect. To enable them, add in configuration file the following line. - DISTRO_FEATURES:append = " tmp" + DISTRO_FEATURES:append = " tpm" If meta-tpm is included, but tpm is not enabled as a distro feature a warning is printed at parse time: @@ -57,15 +57,15 @@ other layers needed. e.g.: Maintenance ----------- -Send pull requests, patches, comments or questions to yocto@... +Send pull requests, patches, comments or questions to yocto@... When sending single patches, please using something like: -'git send-email -1 --to yocto@... --subject-prefix=meta-security][PATCH' +'git send-email -1 --to yocto@... --subject-prefix=meta-tpm][PATCH' These values can be set as defaults for this repository: -$ git config sendemail.to yocto@... -$ git config format.subjectPrefix meta-security][PATCH +$ git config sendemail.to yocto@... +$ git config format.subjectPrefix meta-tpm][PATCH Now you can just do 'git send-email origin/master' to send all local patches. -- 2.30.2
|
||
|
||
[meta-tpm][PATCH] README: fix mailing lists and a typo
Marta Rybczynska
A number of typo fixes:
- tmp->tpm in the DISTRO_FEATURES - update the mailing list address as it was out of date - update the distro name in the subject Signed-off-by: Marta Rybczynska <rybczynska@...> --- meta-tpm/README | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-tpm/README b/meta-tpm/README index 4441dd2..5722a92 100644 --- a/meta-tpm/README +++ b/meta-tpm/README @@ -5,7 +5,7 @@ The bbappend files for some recipes (e.g. linux-yocto) in this layer need to have 'tpm' in DISTRO_FEATURES to have effect. To enable them, add in configuration file the following line. - DISTRO_FEATURES:append = " tmp" + DISTRO_FEATURES:append = " tpm" If meta-tpm is included, but tpm is not enabled as a distro feature a warning is printed at parse time: @@ -57,14 +57,14 @@ other layers needed. e.g.: Maintenance ----------- -Send pull requests, patches, comments or questions to yocto@... +Send pull requests, patches, comments or questions to yocto@... When sending single patches, please using something like: -'git send-email -1 --to yocto@... --subject-prefix=meta-security][PATCH' +'git send-email -1 --to yocto@... --subject-prefix=meta-security][PATCH' These values can be set as defaults for this repository: -$ git config sendemail.to yocto@... +$ git config sendemail.to yocto@... $ git config format.subjectPrefix meta-security][PATCH Now you can just do 'git send-email origin/master' to send all local patches. -- 2.30.2
|
||
|
||
noel.neu@...
Hi! I would like to implement an out-of-tree ASoC Machine driver in my project. It #includes some in-tree header files such ../codecs/codecX.h. These are however not found when I try to build the recipe. I have followed the example project "hello-mod", but that doesn't require any in-tree header files, so it doesn't help in this case. What do I need to do in oder for Bitbake to find these headers ?
|
||
|
||
Re: oFono Version 1.31 ofonod crash
JH
Hi Sergei,
Thanks for the advice, the latest ofono in oe-core master is 1.32, but I am in branch Hardknott, so I copied ofono 1.32 from master to my layer running Hardknott branch, but I could not build ofono 1.32 in Hardknott: ERROR: ParseError at /build/oe-cor/../meta-solar/recipes-connectivity/ofono/ofono_1.32.bb:22: unparsed line: 'SYSTEMD_SERVICE:${PN} = "ofono.service"' I used ofono 1.30 and connman 1.37 in Zeus, both worked fine , but both connman 1.39 and ofono 1.31 failed to work properly in oe-core Hardknott branch, to narrow down if it is ofono issue or Yocto OE build or other library issue, I was able to build ofono 1.30 for Hardknott, I can confirm that ofono 1.30 failed just like the 1.31 stuck at the statement add_serial_device. ................ ofonod[2806]: ../ofono-1.30/plugins/udevng.c:add_serial_device() Device is missing required OFONO_DRIVER property ofonod[2806]: ../ofono-1.30/plugins/udevng.c:add_serial_device() Device is missing required OFONO_DRIVER property ofonod[2806]: ../ofono-1.30/plugins/udevng.c:add_serial_device() Device is missing required OFONO_DRIVER property If I run ofono 1.30 built from Zeus build, the ofonod would pass missing OFONO_DRIVER property and kept it work: ...... ofonod[3712]: ../ofono-1.30/plugins/udevng.c:add_serial_device() Device is missing required OFONO_DRIVER property ofonod[3712]: ../ofono-1.30/plugins/udevng.c:create_modem() /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1 ofonod[3712]: ../ofono-1.30/plugins/udevng.c:create_modem() driver=ubloxqmi ofonod[3712]: ../ofono-1.30/src/modem.c:ofono_modem_create() name: (null), type: ubloxqmi ofonod[3712]: ../ofono-1.30/plugins/udevng.c:setup_ubloxqmi() /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1 ..... So I don't think it is an oFono issue, but rather an OE Yocto build or library issue, can anyone run oFono in oe-core Hardknott branch? Thank you. Kind regards, - jupiter On 8/22/21, Sergei Golubtsov <s.e.golubtsov@...> wrote: Hi jupiter, -- "A man can fail many times, but he isn't a failure until he begins to blame somebody else." -- John Burroughs
|
||
|
||
[meta-hardening][PATCH] README: fix mailing lists
Marta Rybczynska
The address included in the meta-hardening documentation
does not work and was changed in other places in 2019. Signed-off-by: Marta Rybczynska <rybczynska@...> --- meta-hardening/README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-hardening/README b/meta-hardening/README index 37a0b7e..191253c 100644 --- a/meta-hardening/README +++ b/meta-hardening/README @@ -64,14 +64,14 @@ layers: meta-oe Maintenance ----------- -Send pull requests, patches, comments or questions to yocto@... +Send pull requests, patches, comments or questions to yocto@... When sending single patches, please using something like: -'git send-email -1 --to yocto@... --subject-prefix=meta-hardening][PATCH' +'git send-email -1 --to yocto@... --subject-prefix=meta-hardening][PATCH' These values can be set as defaults for this repository: -$ git config sendemail.to yocto@... +$ git config sendemail.to yocto@... $ git config format.subjectPrefix meta-hardening][PATCH Now you can just do 'git send-email origin/master' to send all local patches. -- 2.30.2
|
||
|
||
[meta-hardening][PATCH] meta-hardening/binutils: harden installation permissions
Marta Rybczynska
Compilers and related utils are better restricted on production platforms.
Change permissions of all installed binutils tools to remove access from users outside of the root group. This also demonstrates how to restrict file permissions in a hardened distribution. Signed-off-by: Marta Rybczynska <marta.rybczynska@...> --- meta-hardening/recipes-devtools/binutils/binutils_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta-hardening/recipes-devtools/binutils/binutils_%.bbappend diff --git a/meta-hardening/recipes-devtools/binutils/binutils_%.bbappend b/meta-hardening/recipes-devtools/binutils/binutils_%.bbappend new file mode 100644 index 0000000..3eb3ad0 --- /dev/null +++ b/meta-hardening/recipes-devtools/binutils/binutils_%.bbappend @@ -0,0 +1,3 @@ +do_install_append_class-target () { + chmod o-rx ${D}${prefix}/${TARGET_SYS}/bin/* +} -- 2.30.2
|
||
|
||
Yocto error while bitbaking a recipe
yasminebenghozzi6@...
Hello,
SO I'm working on a new recipe, while bitbaking it , this happened, and I really don't know what it's about, ERROR: Setscene task /home/yasmine/yocto/poky/meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb:do_package in both covered and notcovered.
I'l appreciate your help
|
||
|
||
[meta-mingw] [PATCH] grpc: use the new PACKAGECONFIG to disable shared
Sinan Kaya <okaya@...>
There is a new PACKAGECONFIG for grpc to allows us
to selectively enable/disable shared builds. Signed-off-by: Sinan Kaya <okaya@...> --- .../openembedded-layers/recipes-devtools/grpc/grpc_%.bbappend | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dynamic-layers/openembedded-layers/recipes-devtools/grpc/grpc_%.bbappend b/dynamic-layers/openembedded-layers/recipes-devtools/grpc/grpc_%.bbappend index dc0ea42..4cbd1a4 100644 --- a/dynamic-layers/openembedded-layers/recipes-devtools/grpc/grpc_%.bbappend +++ b/dynamic-layers/openembedded-layers/recipes-devtools/grpc/grpc_%.bbappend @@ -1,5 +1,4 @@ # doesn't build and not required DEPENDS:remove:mingw32 = "libnsl2" -EXTRA_OECMAKE:remove:mingw32 = "-DBUILD_SHARED_LIBS=ON" -EXTRA_OECMAKE:append:mingw32 = " -DBUILD_SHARED_LIBS=OFF" +PACKAGECONFIG:remove:mingw32 = "shared" -- 2.17.1
|
||
|
||
Yocto Project Status WW34`21
Stephen Jolley
Current Dev Position: YP 3.4 M3 (Feature Freeze) Next Deadline: 23rd Aug. 2021 YP 3.4 M3 build (Feature Freeze)
Next Team Meetings:
Key Status/Updates:
Ways to contribute:
YP 3.4 Milestone Dates:
Planned upcoming dot releases:
Tracking Metrics:
The Yocto Project’s technical governance is through its Technical Steering Committee, more information is available at: https://wiki.yoctoproject.org/wiki/TSC
The Status reports are now stored on the wiki at: https://wiki.yoctoproject.org/wiki/Weekly_Status
[If anyone has suggestions for other information you’d like to see on this weekly status update, let us know!]
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||
|
||
Re: Update bitbake broken build
Martin Jansa
Hi, read https://lists.openembedded.org/g/openembedded-architecture/message/1260 https://lists.openembedded.org/g/openembedded-architecture/message/1279 https://lists.openembedded.org/g/openembedded-architecture/message/1291
On Tue, Aug 24, 2021 at 12:33 AM JH <jupiter.hce@...> wrote: Hi,
|
||
|