Date   

Re: curl certificate error

Quentin Schulz
 

Hi Mauro,

On Wed, Feb 10, 2021 at 01:11:07PM +0100, Mauro Ziliani wrote:
Hi all
I try to download the file

https://github.com/google/googletest/archive/release-1.8.0.tar.gz

with curl -L inside a devshell of a recipe


I get this error


curl: (77) error setting certificate verify locations:
  CAfile: /Sources/softfx/krogoth/softfx-build/tmp/sysroots/x86_64-linux/etc/ssl/certs/ca-certificates.crt
  CApath: none
Missing ca-certificates-native somewhere in the dependency chain. I
honestly thought curl-native would bring it, but does not seem so. I
personally added ca-certificates-native to the DEPENDS of the recipe
needing curl-native for a quick fix since I'm in the middle of an
upgrade and will not use krogoth anymore.

Cheers,
Quentin
--
StreamUnlimited Engineering GmbH
High Tech Campus Vienna, Gutheil-Schoder-Gasse 10, 1100 Vienna, Austria
Fax: +43 1 667 20 02 4401
quentin.schulz@streamunlimited.com, www.streamunlimited.com


curl certificate error

Mauro Ziliani
 

Hi all
I try to download the file

https://github.com/google/googletest/archive/release-1.8.0.tar.gz

with curl -L inside a devshell of a recipe


I get this error


curl: (77) error setting certificate verify locations:
  CAfile: /Sources/softfx/krogoth/softfx-build/tmp/sysroots/x86_64-linux/etc/ssl/certs/ca-certificates.crt
  CApath: none


I miss some dependency?


I'm working on an old Krogoth


Thanks all

  MZ


Re: Port toolchain source 4.9.3 to Rocko yocto

amaya jindal
 

Please guide 


On Tue, 9 Feb 2021, 1:09 pm amaya jindal via lists.yoctoproject.org, <amayajindal786=gmail.com@...> wrote:
Hi, 

I want to port old version of toolchain ie gcc 4.9.3 to Rocko version of yocto. I am getting errors in libgcc-initial. Please suggest any one has performed the same. Rocko has currently 5.4 gcc version that we don't want to use  currently. Please suggest.

Regards, 
Rohit 




Duplictae files gets created on opening any file in yocto for rpi cm3 #cm3 #dunfell

@prashant2314
 

Dear team,

I'm using yocto-dunfell for generating for my rpi-cm3.
it is working fine, but one issue I'm facing that when ever I'm trying to open any file, that gets duplicated with it's name and then ~ sign.
e.g. I'm open hello.sh file, then on saving this file one file will be automatically generated with the name hello.sh~ .
This thing unnecessarily consuming memory in my file-system.

Please assist me some method to get rid with this.

Thanks and Regards.
Prashant Singh


Error during do_image_wic

Darcy Watkins
 

Hi,

 

I have a puzzling error during do_image_wic.  It says a ‘1’ is returned as an error rather than 0, but I don’t see in the output what went wrong.  Anyone recognize it?  (I am not that familiar with the inner workings of the wic image generation tool).

 

This used to work but broke during a fresh build from scratch.

 

 

 

 

dwatkins@carmd-ed-n11377:64bit build $ bitbake core-image-selinux-minimal

Loading cache: 100% |#####################################################################################################################################################################################| Time: 0:00:00

Loaded 3633 entries from dependency cache.

WARNING: No recipes available for:

  /home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-kernel/firmware/linux-firmware_git.bbappend

  /home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-kernel/linux/linux-qoriq_4.19.bbappend

  /home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend

NOTE: Resolving any missing task queue dependencies

 

Build Configuration:

BB_VERSION           = "1.46.0"

BUILD_SYS            = "x86_64-linux"

NATIVELSBSTRING      = "universal"

TARGET_SYS           = "arm-poky-linux-gnueabi"

MACHINE              = "mg90"

DISTRO               = "poky"

DISTRO_VERSION       = "3.1.5"

TUNE_FEATURES        = "arm vfp cortexa7 neon callconvention-hard"

TARGET_FPU           = "hard"

meta-MG-os-bsp       = "master:db03c4adb9ffe9bd0135538ebe399821036eeeee"

meta                 

meta-poky            

meta-yocto-bsp       = "HEAD:6e89d668246fb37b2217aae7ae57390e793696d8"

meta-oe              

meta-networking      

meta-python          

meta-perl            = "HEAD:de37512b25c1f8c6bb6ab2b3782ac0fe01443483"

meta-selinux         = "HEAD:7af62c91d7d00a260cf28e7908955539304d100d"

meta-security        

meta-integrity       

meta-security-isafw  = "HEAD:c74cc97641fd93e0e7a4383255e9a0ab3deaf9d7"

meta-freescale       = "HEAD:99bd73bec2a9d84509cb012a08f9062cb65fb24e"

 

Initialising tasks: 100% |################################################################################################################################################################################| Time: 0:00:03

Sstate summary: Wanted 2 Found 0 Missed 2 Current 1870 (0% match, 99% complete)

NOTE: Executing Tasks

WARNING: cve-update-db-native-1.0-r0 do_populate_cve_db: Failed to fetch CVE data ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108))

Image CVE report stored in: /home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/deploy/images/mg90/core-image-selinux-minimal-mg90-20210209182741.rootfs.cve

ERROR: core-image-selinux-minimal-1.0-r0 do_image_wic: Execution of '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp/run.do_image_wic.14994' failed with exit code 1:

INFO: Creating image(s)...

 

ERROR: _exec_cmd: export PATH=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/sbin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/usr/sbin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/usr/bin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/bin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/hosttools:$PATH;export PSEUDO_PREFIX=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components/x86_64/pseudo-native/usr;export PSEUDO_LOCALSTATEDIR=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/rootfs/../pseudo;export PSEUDO_PASSWD=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/rootfs;export PSEUDO_NOSYMLINKEXP=1;export PSEUDO_IGNORE_PATHS=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/tmp-wic/rootfs_root.3.ext4,/usr/,/etc/,/usr/lib,/dev/,/run/,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/sstate-cache,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/stamps,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/pkgdata-sysroot,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sstate-control,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/deploy,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/deploy-,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/buildstats,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-build-package_,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-install-package_,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-build-image_complete,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/pkgdata,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/cache,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/scripts,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/files/common-licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-oe/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-networking/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-python/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-freescale/custom-licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/x86_64-deploy-core-image-selinux-minimal-populate-sdk,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/build-wic,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/core-image-selinux-minimal-1.0,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/core-image-selinux-minimal-1.0;/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo fsck.ext4 -pvfD /home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/tmp-wic/rootfs_root.3.ext4 returned '1' instead of 0

output: 5913 inodes used (20.62%, out of 28672)

           9 non-contiguous files (0.2%)

          20 non-contiguous directories (0.3%)

             # of inodes with ind/dind/tind blocks: 0/0/0

             Extent depth histogram: 5376/9

      140547 blocks used (61.28%, out of 229344)

           0 bad blocks

           0 large files

 

        4749 regular files

         635 directories

           0 character device files

           0 block device files

           0 fifos

           8 links

         520 symbolic links (520 fast symbolic links)

           0 sockets

------------

        5912 files

 

WARNING: /home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp/run.do_image_wic.14994:1 exit 1 from 'BUILDDIR="/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build" PSEUDO_UNLOAD=1 wic create "$wks" --vars "/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots/mg90/imgdata/" -e "core-image-selinux-minimal" -o "$build_wic/" -w "$tmp_wic"'

 

ERROR: Logfile of failure stored in: /home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp/log.do_image_wic.14994

Log data follows:

| DEBUG: Executing python function set_image_size

| DEBUG: 176420.400000 = 135708 * 1.300000

| DEBUG: 176420.400000 = max(176420.400000, 65536)[176420.400000] + 0

| DEBUG: 176421.000000 = int(176420.400000)

| DEBUG: 176421 = aligned(176421)

| DEBUG: returning 176421

| DEBUG: Python function set_image_size finished

| DEBUG: Executing python function extend_recipe_sysroot

| NOTE: Direct dependencies are ['/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-freescale/recipes-bsp/qe-ucode/qe-ucode_git.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-bsp/omg-hardware/omg-hardware_4.1.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-support/fec/fec_3.0.1.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-python/recipes-devtools/python/python3-lxml_4.5.0.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/mtools/mtools_4.0.23.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/gcc/libgcc_9.3.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-core/glibc/glibc_2.31.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-security/meta-integrity/recipes-security/ima-evm-utils/ima-evm-utils_git.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-bsp/u-boot/u-boot-tools_2020.01.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-extended/parted/parted_3.3.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-devtools/change-file-endianess/change-file-endianess.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/tcltk/tcl_8.6.10.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-selinux/recipes-security/selinux/policycoreutils_3.0.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/bison/bison_3.5.4.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-bsp/u-boot/u-boot-qoriq_2019.04.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-support/libyaml/libyaml_0.2.2.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-freescale/recipes-kernel/linux/linux-fslc-qoriq_5.4.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-security/meta-security-isafw/recipes-devtools/checksec/checksec_1.5-1.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/binutils/binutils-cross_2.34.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/gcc/gcc-runtime_9.3.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/createrepo-c/createrepo-c_0.15.7.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_5.3.1.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/dnf/dnf_4.2.2.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-core/glibc/cross-localedef-native_2.31.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/opkg/opkg_0.4.2.bb:do_populate_sysroot', '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_9.3.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/swig/swig_3.0.12.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-support/lzop/lzop_1.04.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-kernel/dtc/dtc_1.6.0.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-support/ca-certificates/ca-certificates_20190110.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/python/python3_3.8.2.bb:do_populate_sysroot']

| NOTE: Installed into sysroot: []

| NOTE: Skipping as already exists in sysroot: ['qe-ucode', 'kmod-native', 'omg-hardware', 'depmodwrapper-cross', 'fec', 'python3-lxml-native', 'pseudo-native', 'mtools-native', 'libgcc', 'glibc', 'ima-evm-utils-native', 'opkg-utils-native', 'u-boot-tools-native', 'openssl-native', 'makedevs-native', 'parted-native', 'change-file-endianess-native', 'patch-native', 'mklibs-native', 'update-rc.d-native', 'prelink-native', 'tcl-native', 'policycoreutils-native', 'bison-native', 'u-boot-qoriq', 'bmap-tools-native', 'quilt-native', 'pigz-native', 'libyaml-native', 'linux-fslc-qoriq', 'checksec-native', 'qemuwrapper-cross', 'gptfdisk-native', 'e2fsprogs-native', 'bc-native', 'rpm-native', 'binutils-cross-arm', 'gcc-runtime', 'dosfstools-native', 'createrepo-c-native', 'python3-pyyaml-native', 'ldconfig-native', 'dnf-native', 'cross-localedef-native', 'opkg-native', 'gcc-cross-arm', 'swig-native', 'lzop-native', 'dtc-native', 'ca-certificates-native', 'python3-native', 'omg-mcu', 'libxml2-native', 'libxslt-native', 'python3-setuptools-native', 'autoconf-native', 'texinfo-dummy-native', 'automake-native', 'gnu-config-native', 'libtool-native', 'linux-libc-headers', 'keyutils-native', 'pkgconfig-native', 'ncurses-native', 'util-linux-native', 'gettext-minimal-native', 'readline-native', 'xz-native', 'qemu-native', 'binutils-native', 'elfutils-native', 'zlib-native', 'popt-native', 'attr-native', 'db-native', 'perl-native', 'dbus-native', 'bzip2-native', 'file-native', 'libarchive-native', 'shadow-native', 'ninja-native', 'cmake-native', 'curl-native', 'expat-native', 'glib-2.0-native', 'sqlite3-native', 'python3-cython-native', 'libsolv-native', 'libpcre-native', 'libffi-native', 'gdbm-native', 'libtirpc-native', 'libnsl2-native', 'gtk-doc-native', 'flex-native', 'shared-mime-info-native', 'libsepol-native', 'libcap-native', 'gettext-native', 'libsemanage-native', 'libselinux-native', 'python3-six-native', 'debianutils-native', 'libcomps-native', 'libdnf-native', 'librepo-native', 'python3-iniparse-native', 'mpfr-native', 'gmp-native', 'libmpc-native', 'lzo-native', 'unzip-native', 'm4-native', 'libcap-ng-native', 'libpcre2-native', 're2c-native', 'meson-native', 'itstool-native', 'gperf-native', 'libcheck-native', 'libmodulemd-v1-native', 'json-c-native', 'gobject-introspection-native', 'gpgme-native', 'libassuan-native', 'libgpg-error-native']

| DEBUG: Python function extend_recipe_sysroot finished

| DEBUG: Executing shell function do_image_wic

| INFO: Creating image(s)...

| 

| ERROR: _exec_cmd: export PATH=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/sbin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/usr/sbin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/usr/bin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/bin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/hosttools:$PATH;export PSEUDO_PREFIX=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components/x86_64/pseudo-native/usr;export PSEUDO_LOCALSTATEDIR=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/rootfs/../pseudo;export PSEUDO_PASSWD=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/rootfs;export PSEUDO_NOSYMLINKEXP=1;export PSEUDO_IGNORE_PATHS=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/tmp-wic/rootfs_root.3.ext4,/usr/,/etc/,/usr/lib,/dev/,/run/,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/sstate-cache,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/stamps,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/pkgdata-sysroot,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sstate-control,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/deploy,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/deploy-,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/buildstats,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-build-package_,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-install-package_,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-build-image_complete,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/pkgdata,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/cache,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/scripts,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/files/common-licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-oe/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-networking/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-python/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-freescale/custom-licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/x86_64-deploy-core-image-selinux-minimal-populate-sdk,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/build-wic,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/core-image-selinux-minimal-1.0,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/core-image-selinux-minimal-1.0;/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo fsck.ext4 -pvfD /home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/tmp-wic/rootfs_root.3.ext4 returned '1' instead of 0

| output: 5913 inodes used (20.62%, out of 28672)

|            9 non-contiguous files (0.2%)

|           20 non-contiguous directories (0.3%)

|              # of inodes with ind/dind/tind blocks: 0/0/0

|              Extent depth histogram: 5376/9

|       140547 blocks used (61.28%, out of 229344)

|            0 bad blocks

|            0 large files

| 

|         4749 regular files

|          635 directories

|            0 character device files

|            0 block device files

|            0 fifos

|            8 links

|          520 symbolic links (520 fast symbolic links)

|            0 sockets

| ------------

|         5912 files

| 

| WARNING: /home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp/run.do_image_wic.14994:1 exit 1 from 'BUILDDIR="/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build" PSEUDO_UNLOAD=1 wic create "$wks" --vars "/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots/mg90/imgdata/" -e "core-image-selinux-minimal" -o "$build_wic/" -w "$tmp_wic"'

| ERROR: Execution of '/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp/run.do_image_wic.14994' failed with exit code 1:

| INFO: Creating image(s)...

| 

| ERROR: _exec_cmd: export PATH=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/sbin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/usr/sbin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/usr/bin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/bin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/hosttools:$PATH;export PSEUDO_PREFIX=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components/x86_64/pseudo-native/usr;export PSEUDO_LOCALSTATEDIR=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/rootfs/../pseudo;export PSEUDO_PASSWD=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/rootfs;export PSEUDO_NOSYMLINKEXP=1;export PSEUDO_IGNORE_PATHS=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/tmp-wic/rootfs_root.3.ext4,/usr/,/etc/,/usr/lib,/dev/,/run/,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/sstate-cache,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/stamps,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/pkgdata-sysroot,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sstate-control,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/deploy,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/deploy-,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/buildstats,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-build-package_,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-install-package_,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-build-image_complete,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/pkgdata,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/cache,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/scripts,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/files/common-licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-oe/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-networking/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-python/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-freescale/custom-licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/x86_64-deploy-core-image-selinux-minimal-populate-sdk,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/build-wic,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/core-image-selinux-minimal-1.0,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/core-image-selinux-minimal-1.0;/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo fsck.ext4 -pvfD /home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/tmp-wic/rootfs_root.3.ext4 returned '1' instead of 0

| output: 5913 inodes used (20.62%, out of 28672)

|            9 non-contiguous files (0.2%)

|           20 non-contiguous directories (0.3%)

|              # of inodes with ind/dind/tind blocks: 0/0/0

|              Extent depth histogram: 5376/9

|       140547 blocks used (61.28%, out of 229344)

|            0 bad blocks

|            0 large files

| 

|         4749 regular files

|          635 directories

|            0 character device files

|            0 block device files

|            0 fifos

|            8 links

|          520 symbolic links (520 fast symbolic links)

|            0 sockets

| ------------

|         5912 files

| 

| WARNING: /home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp/run.do_image_wic.14994:1 exit 1 from 'BUILDDIR="/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build" PSEUDO_UNLOAD=1 wic create "$wks" --vars "/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots/mg90/imgdata/" -e "core-image-selinux-minimal" -o "$build_wic/" -w "$tmp_wic"'

| 

ERROR: Task (/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-selinux/recipes-security/images/core-image-selinux-minimal.bb:do_image_wic) failed with exit code '1'

NOTE: Tasks Summary: Attempted 5360 tasks of which 4439 didn't need to be rerun and 1 failed.

 

Summary: 1 task failed:

  /home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-selinux/recipes-security/images/core-image-selinux-minimal.bb:do_image_wic

Summary: There were 2 WARNING messages shown.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

dwatkins@carmd-ed-n11377:64bit build $

 

Here is my layer stackup…

 

dwatkins@carmd-ed-n11377:64bit build $ cat conf/bblayers.conf 

# Generated by 'setup-environment' from annotations in the repo manifest.

WS_DIR = "/home/dwatkins/workspace/zeta/skylab_mg90-BSP"

BBPATH = "${TOPDIR}"

BBFILES ?= ""

 

LCONF_VERSION = "7"

BSPDIR = "${WS_DIR}"

 

BBLAYERS = " \

    ${WS_DIR}/meta-MG-os-bsp \

    ${WS_DIR}/upstream/yocto/poky/meta \

    ${WS_DIR}/upstream/yocto/poky/meta-poky \

    ${WS_DIR}/upstream/yocto/poky/meta-yocto-bsp \

    ${WS_DIR}/upstream/openembedded/meta-openembedded/meta-oe \

    ${WS_DIR}/upstream/openembedded/meta-openembedded/meta-networking \

    ${WS_DIR}/upstream/openembedded/meta-openembedded/meta-python \

    ${WS_DIR}/upstream/openembedded/meta-openembedded/meta-perl \

    ${WS_DIR}/upstream/yocto/meta-selinux \

    ${WS_DIR}/upstream/yocto/meta-security \

    ${WS_DIR}/upstream/yocto/meta-security/meta-integrity \

    ${WS_DIR}/upstream/yocto/meta-security/meta-security-isafw \

    ${WS_DIR}/upstream/yocto/meta-freescale \

"

dwatkins@carmd-ed-n11377:64bit build

 

 

dwatkins@carmd-ed-n11377:64bit build $ cat ../meta-MG-os-bsp/wic/ls1-uboot-spl-mg90pbl-bootpart.wks 

# short-description: Create SD card image with a boot partition

# long-description:

# Create an image that can be written onto a SD card using dd for use

# with Layerscape ls102xa SoC family.

#

# The disk layout used is:

#  ----- ------------ ------------- ---------------

# | MBR | bootloader | boot (FAT)  | rootfs (ext)  |

#  ----- ------------ ------------- ---------------

# ^     ^            ^             ^               ^

# |     |            |             |               |

# 0     4kB          4MB           16MB            16MiB + rootfs size + IMAGE_EXTRA_SPACE (default 10MiB)

#

# Note: u-boot.bin referenced below is assumed symlinked to u-boot-${MACHINE}.${UBOOT_SUFFIX_SDCARD} or

#       equivalent as used by the legacy image_types_ls1.bbclass prior to migration to using 'wic'.

part bootloader --source rawcopy --sourceparams="file=u-boot.bin" --ondisk mmcblk0 --no-table --align 4

part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --size 16

part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096

 

bootloader --ptable msdos

dwatkins@carmd-ed-n11377:64bit build

 

 

The wic image for SD card follows similar style pattern as has been used by Freescale Community BSP for the i.MX6 family, etc. and has previously worked and the SD card booted.

 

 

Regards,

 

Darcy

 

Darcy Watkins ::  Senior Staff Engineer, Firmware

 

SIERRA WIRELESS

Direct  +1 604 233 7989   ::  Fax  +1 604 231 1109  ::  Main  +1 604 231 1100

13811 Wireless Way  :: Richmond, BC Canada V6V 3A4

[M4]

dwatkins@... :: www.sierrawireless.com


Re: Image installation problems after an upgrade to gatesgarth

Anuj Mittal
 

On Tue, 2021-02-09 at 08:25 -0700, Ori Pessach wrote:
Hi,

I have an image that was building and working fine with an older
release of Poky. The target system is genericx86-64, and I'm trying
to create a boot USB drive that installs the system on the PC it
boots on.

Like I said, this was working fine before.

With gatesgarth, I'm only getting the "boot" option in grub. I have a
grub-bootconf bbappend file that sets LABELS to "install" (the only
option I want) and a couple of bbappend files modifying the init-
install-efi.sh file in initrdscripts. I can see that the grub.cfg
file generated during the build is correct (under
tmp/work/genericx86_64-poky-linux/grub-bootconf/1.00-
r0/image/boot/EFI/BOOT/grub.cfg) and yet, the wic image only has the
boot option.

How do I get the install grub option into the image?
You can build the hddimg image by changing IMAGE_FSTYPES to live which
has the boot and install option. I think it used to be live until zeus.

If you want to use that init-install-efi script with wic, these steps
might help:

https://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/README#n208


Thanks,

Anuj


Yocto Project Status WW06`21

Stephen Jolley
 

Current Dev Position: YP 3.3 M3 development

Next Deadline: 1st March 2021 YP 3.3 M3 build 

 

Next Team Meetings:

 

Key Status/Updates:

  • We’ve merged a number of key upgrades to glibc, binutils and autoconf in particular which has caused some issues in other layers. Thanks to everyone helping work through those issues.
  • We’ve upgraded uninative, with a final 2.32 version containing an upstream fix and then a version with 2.33. There are early reports there may be a build issue with kernels and 2.33.
  • Intermittent autobuilder issues continue to occur. You can see the list of failures we’re continuing to see by searching for the “AB-INT” tag in bugzilla: https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=AB-INT
  • There are some interesting insights from the SWAT status reports that are now being generated, in particular they show the frequency that some bugs are occurring which should help us try and target the most problematic failures:

https://lists.yoctoproject.org/g/swat/topic/swat_statistics_for_week_05/80466229

The reports can be seen on the swat mailing list (which anyone can join).

 

Ways to contribute:

 

YP 3.3 Milestone Dates:

  • YP 3.3 M3 build date 2021/03/01
  • YP 3.3 M3 Release date 2021/03/12
  • YP 3.3 M4 build date 2021/04/05
  • YP 3.3 M4 Release date 2021/04/30

 

Planned upcoming dot releases:

  • YP 3.2.2 build date 2021/02/08
  • YP 3.2.2 release date 2021/02/19
  • YP 3.1.6 build date 2021/02/22
  • YP 3.1.6 release date 2021/03/05
  • YP 3.2.3 build date 2021/03/15
  • YP 3.2.3 release date 2021/03/26
  • YP 3.1.7 build date 2021/03/29
  • YP 3.1.7 release date 2021/04/09

 

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@...

 


Image installation problems after an upgrade to gatesgarth

Ori Pessach
 

Hi,

I have an image that was building and working fine with an older release of Poky. The target system is genericx86-64, and I'm trying to create a boot USB drive that installs the system on the PC it boots on.

Like I said, this was working fine before.

With gatesgarth, I'm only getting the "boot" option in grub. I have a grub-bootconf bbappend file that sets LABELS to "install" (the only option I want) and a couple of bbappend files modifying the init-install-efi.sh file in initrdscripts. I can see that the grub.cfg file generated during the build is correct (under tmp/work/genericx86_64-poky-linux/grub-bootconf/1.00-r0/image/boot/EFI/BOOT/grub.cfg) and yet, the wic image only has the boot option.

How do I get the install grub option into the image?

The image is based on core-image-sato.

Thanks,

Ori Pessach


configure: error: gobject-introspection-1.0 is not installed #yocto #rocko

svc985@...
 

Hello,

I have been trying for a few days now to build yocto 2.4.3 with x11 support with core-image-x11 image, but having difficulties with atk library. I have installed both gobject-introspection and  libgirepository1.0-dev (host system is Ubuntu 18.04), but I still get configure: error: gobject-introspection-1.0 is not installed when trying to build core-image-x11. Can someone advise how to fix this?

Thanks.


Port toolchain source 4.9.3 to Rocko yocto

amaya jindal
 

Hi, 

I want to port old version of toolchain ie gcc 4.9.3 to Rocko version of yocto. I am getting errors in libgcc-initial. Please suggest any one has performed the same. Rocko has currently 5.4 gcc version that we don't want to use  currently. Please suggest.

Regards, 
Rohit 


Re: Install systemd unit file into image from source?

Sean McKay
 

SYSTEMD_SERVICE_${PN} should just be set to the service name, not the full path. So…
SYSTEMD_SERVICE_${PN} = "testapp-extra@.service"

Also, consider using ${systemd_system_unitdir} instead of ${systemd_unitdir}/system

Cheers!
-Sean McKay

 

From: yocto@... <yocto@...> On Behalf Of Paul Wicks
Sent: Monday, February 8, 2021 5:44 PM
To: yocto@...
Subject: [yocto] Install systemd unit file into image from source?

 

I've got an application that I'd like to install into my custom image and that application has a couple of associated systemd unit files that should be installed as well. The application itself is a very simple cmake project. The relevant bits of the recipe file look something like this:

```

<standard variables go here>

SRC_URI = "<git address goes here>"

S = "${WORKDIR}/git"

inherit systemd
SYSTEMD_AUTO_ENABLE = "enable"

# the service files are stored in the git repository in the misc folder
SYSTEMD_SERVICE_${PN} = "${S}/misc/testapp@.service ${S}/misc/testapp-extra@.service"

do_install_append() {
    install -d ${D}${systemd_unitdir}/system
    install -m 0644 ${S}/misc/testapp@.service ${D}${systemd_unitdir}/system/

    install -m 0644 ${S}/misc/testapp-extra@.service ${D}${systemd_unitdir}/system/
}

inherit cmake
```

 

When i try to do do `bitbake testapp` to try out the recipe, I get an error telling me that: SYSTEMD_SERVICE_testapp value /projects/poky/build/tmp/work/core2-64-poky-linux/testapp/0.1-r0/git/misc/testapp@.service does not exist.

 

I'm using yocto 3.2.1 if that matters. 

-Paul Wicks


Install systemd unit file into image from source?

Paul Wicks
 

I've got an application that I'd like to install into my custom image and that application has a couple of associated systemd unit files that should be installed as well. The application itself is a very simple cmake project. The relevant bits of the recipe file look something like this:

```
<standard variables go here>

SRC_URI = "<git address goes here>"

S = "${WORKDIR}/git"

inherit systemd
SYSTEMD_AUTO_ENABLE = "enable"
# the service files are stored in the git repository in the misc folder
SYSTEMD_SERVICE_${PN} = "${S}/misc/testapp@.service ${S}/misc/testapp-extra@.service"

do_install_append() {
    install -d ${D}${systemd_unitdir}/system
    install -m 0644 ${S}/misc/testapp@.service ${D}${systemd_unitdir}/system/
    install -m 0644 ${S}/misc/testapp-extra@.service ${D}${systemd_unitdir}/system/
}

inherit cmake
```

When i try to do do `bitbake testapp` to try out the recipe, I get an error telling me that: SYSTEMD_SERVICE_testapp value /projects/poky/build/tmp/work/core2-64-poky-linux/testapp/0.1-r0/git/misc/testapp@.service does not exist.

I'm using yocto 3.2.1 if that matters. 
-Paul Wicks


M+ & H bugs with Milestone Movements WW06

Stephen Jolley
 

All,

YP M+ or high bugs which moved to a new milestone in WW06 are listed below:

Priority

Bug ID

Short Description

Changer

Owner

Was

Became

Medium+

5322

Global DNS fallback mechanism not present in poky distro

kai.kang@...

kai.kang@...

3.3 M2

3.3 M3

 

7600

syslinux: port extX support patches to syslinux community

randy.macleod@...

sakib.sajal@...

3.3 M3

3.4 M1

 

11385

poky-container: clarify that meta-data should be checked out using native tools that run the host and not with tools in container

timothy.t.orling@...

timothy.t.orling@...

3.3 M2

3.4 M1

 

11766

nobody group added by systemd sysusers.d

yi.zhao@...

yi.zhao@...

3.3 M2

3.3 M3

 

12060

It is possible to specify a PACKAGE and a PKG_ rename that conflict

kai.kang@...

kai.kang@...

3.3 M2

3.3 M4

 

12279

enhance manifest not found warning

kai.kang@...

kai.kang@...

3.3 M2

3.3 M3

 

12342

lib32-core-image-sato -ctestimage failed due to wrong package names

kai.kang@...

kai.kang@...

3.3 M2

3.3 M3

 

12917

Warnings from nightly-multilib builds (build-deps)

kai.kang@...

kai.kang@...

3.3 M2

3.3 M3

 

13288

pseudo should not follow symlinks in /proc

randy.macleod@...

sakib.sajal@...

3.3 M4

3.3 M3

 

13320

Update license files to match current SPDX names and license contents

randy.macleod@...

idadelm@...

3.3 M2

3.3 M3

 

13355

RDEPENDS does not work properly for native builds (only supports recipe names, not package names)

richard.purdie@...

richard.purdie@...

3.3 M2

3.3 M3

 

13411

ptest-perl.bbclass run-ptest is too greedy for SKIP

timothy.t.orling@...

timothy.t.orling@...

3.3 M2

3.4 M1

 

13520

many valgrind tests fail for arm64

randy.macleod@...

stacygaikovaia@...

3.3 M2

3.4 M1

 

13508

Meson detects googletest installed on system

hongxu.jia@...

hongxu.jia@...

3.3 M2

3.4 M4

 

13527

Add SPDX license headers to all source files for layerindex-web

randy.macleod@...

idadelm@...

3.3 M2

3.3 M3

 

13529

Add SPDX license headers to all source files for prelink-cross

randy.macleod@...

idadelm@...

3.3 M2

3.3 M3

 

13631

core-image-full-cmdline qemumips systemd boot failure

randy.macleod@...

unassigned@...

3.3 M2

3.3 M3

 

13690

runqemu with slirp, forwarded host ports are not available on host

timothy.t.orling@...

timothy.t.orling@...

3.3 M2

3.4 M1

 

13766

Using TCLIB=musl results in SDKs producing incompatible binaries

randy.macleod@...

sakib.sajal@...

3.3 M4

3.4 M1

 

13841

quilt ptest intermittent failure

joe.slater@...

joe.slater@...

3.3 M2

3.3 M3

 

13841

quilt ptest intermittent failure

joe.slater@...

joe.slater@...

3.3 M3

Future

 

13930

Port the CROPS toaster-container selenium tests to the Autobuilder

timothy.t.orling@...

timothy.t.orling@...

3.3 M2

3.4 M2

 

13938

devtool modify virtual/kernel fails when EXTRAVERSION field is empty in Makefile

timothy.t.orling@...

timothy.t.orling@...

3.3 M2

3.4 M1

 

14098

absolute path in TEMPLATECONF should be rejected or warned, makes ext-sdk uninstallable

timothy.t.orling@...

timothy.t.orling@...

3.3 M2

3.4 M2

 

14099

PACKAGE_EXCLUDE not removing packages when PACKAGE_CLASSES = "package_deb"

randy.macleod@...

stacygaikovaia@...

3.3 M2

3.3 M3

 

14117

When ifupdown ist configured for DHCP with IPv6 the system boot hangs

yi.zhao@...

yi.zhao@...

3.3 M2

3.3 M3

 

14118

systemd services not enabled when using package feed

kai.kang@...

kai.kang@...

3.3 M2

3.3 M3

 

14126

resolvconf incompatible with busybox flock

randy.macleod@...

newcomer@...

3.3 M2

3.3 M3

 

14139

systemd user/groups different on opkg vs rpm images

hongxu.jia@...

hongxu.jia@...

3.3 M2

3.4 M4

 

14152

cups: under systemd needs to use /run/cups as rundir

kai.kang@...

kai.kang@...

3.3 M2

3.3 M3

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Enhancements/Bugs closed WW06!

Stephen Jolley
 

All,

The below were the owners of enhancements or bugs closed during the last week!

Who

Count

richard.purdie@...

5

kai.kang@...

1

Grand Total

6

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Current high bug count owners for Yocto Project 3.3

Stephen Jolley
 

All,

Below is the list as of top 50 bug owners as of the end of WW06 of who have open medium or higher bugs and enhancements against YP 3.3.   There are 57 possible work days left until the final release candidates for YP 3.3 needs to be released.

Who

Count

richard.purdie@...

35

ross@...

26

david.reyna@...

20

bluelightning@...

16

bruce.ashfield@...

11

JPEWhacker@...

10

trevor.gamblin@...

9

kai.kang@...

7

mark.morton@...

7

akuster808@...

7

chee.yang.lee@...

6

raj.khem@...

5

Qi.Chen@...

5

sakib.sajal@...

5

yifan.yu@...

5

yi.zhao@...

4

randy.macleod@...

4

idadelm@...

4

hongxu.jia@...

4

stacygaikovaia@...

3

alejandro@...

3

mingli.yu@...

3

timothy.t.orling@...

3

mostthingsweb@...

3

matthewzmd@...

2

jon.mason@...

2

nicolas.dechesne@...

2

pokylinux@...

2

jeanmarie.lemetayer@...

2

sangeeta.jain@...

2

saul.wold@...

2

anuj.mittal@...

2

ydirson@...

2

jaewon@...

2

mhalstead@...

1

maxime.roussinbelanger@...

1

kamensky@...

1

pbarker@...

1

changqing.li@...

1

dl9pf@...

1

akuster@...

1

twoerner@...

1

liezhi.yang@...

1

kexin.hao@...

1

kergoth@...

1

Martin.Jansa@...

1

dorindabassey@...

1

mshah@...

1

shachar@...

1

steve@...

1

mister_rs@...

1

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Yocto Project Newcomer & Unassigned Bugs - Help Needed

Stephen Jolley
 

All,

 

The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading:

https://wiki.yoctoproject.org/wiki/Bug_Triage#Newcomer_Bugs  Also please review: https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded and how to create a bugzilla account at: https://bugzilla.yoctoproject.org/createaccount.cgi

The idea is these bugs should be straight forward for a person to help work on who doesn't have deep experience with the project.  If anyone can help, please take ownership of the bug and send patches!  If anyone needs help/advice there are people on irc who can likely do so, or some of the more experienced contributors will likely be happy to help too.

 

Also, the triage team meets weekly and does its best to handle the bugs reported into the Bugzilla. The number of people attending that meeting has fallen, as have the number of people available to help fix bugs. One of the things we hear users report is they don't know how to help. We (the triage team) are therefore going to start reporting out the currently 357 unassigned or newcomer bugs.

 

We're hoping people may be able to spare some time now and again to help out with these.  Bugs are split into two types, "true bugs" where things don't work as they should and "enhancements" which are features we'd want to add to the system.  There are also roughly four different "priority" classes right now, “3.2”, “3.3, "3.99" and "Future", the more pressing/urgent issues being in "3.2" and then “3.3”.

 

Please review this link and if a bug is something you would be able to help with either take ownership of the bug, or send me (sjolley.yp.pm@...) an e-mail with the bug number you would like and I will assign it to you (please make sure you have a Bugzilla account).  The list is at: https://wiki.yoctoproject.org/wiki/Bug_Triage_Archive#Unassigned_or_Newcomer_Bugs

 

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Re: #yocto #zeus #sdk populate_sdk_ext build failing #yocto #zeus #sdk

Khem Raj
 

That means it’s having issues with checksums is there any AUTOREV being used ?

I would suggest to build without your changes and see if you can get an eSDK 

On Mon, Feb 8, 2021 at 9:09 AM Monsees, Steven C (US) via lists.yoctoproject.org <steven.monsees=baesystems.com@...> wrote:

I configured SDK for:

SDK_EXT_TYPE = "minimal"
SDK_INCLUDE_TOOLCHAIN = "1"
SDK_INCLUDE_PKGDATA = "0"

And I still see "Error:  Failed to generate filtered task list for extensible SDK..."

In my latest log I also see:

"Error: Task quilt-native.do_fetch attempted to execute unexpectedly...
 ...
 This is usually due to missing ser=tscene tasks...
..."

Why might the filtered task list fail to generate correctly ?

This appears to be the real issue, and then it dies a slow death...

Thanks,
Steve


-----Original Message-----
From: Khem Raj <raj.khem@...>
Sent: Tuesday, February 2, 2021 10:37 PM
To: Monsees, Steven C (US) <steven.monsees@...>
Cc: yocto@...
Subject: Re: [yocto] #yocto #zeus #sdk populate_sdk_ext build failing

*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.


it seems bitbake does not execute when its trying to configure eSDK for install. Perhaps you can try to see some logs inside the esdk build area to check if there is further info.
secondly, try to build an esdk for core-image-minimal and see if that works.

On Fri, Jan 29, 2021 at 3:04 PM Monsees, Steven C (US) via lists.yoctoproject.org <steven.monsees=baesystems.com@...> wrote:
>
>
>
> I need some help in understanding why the SDK EXT is failing to build
> under zeus…
>
>
>
> Can someone explain why the extended sdk build fails and how I might resolve ?
>
>
>
> sbcb-defaultfs kernel builds and boots correctly…
>
>
>
> SDK builds under zeus for sbcb-defaultfs :
>
>
>
> bitbake sbcb-defaultfs-full -c populate_sdk    -WORKING CORRECTLY
>
>
>
> bitbake sbcb-defaultfs-full -c populate_sdk_ext  -Fails build with the following Errors:
>
>
>
> 17:13 smonsees@yix490016
> /disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/s
> bcb-default> bitbake sbcb-defaultfs-full -c populate_sdk_ext
>
> Loading cache: 100%
> |###########################################################| Time:
> 0:00:00
>
> Loaded 3645 entries from dependency cache.
>
> NOTE: Resolving any missing task queue dependencies
>
>
>
> Build Configuration:
>
> BB_VERSION           = "1.44.0"
>
> BUILD_SYS            = "x86_64-linux"
>
> NATIVELSBSTRING      = "rhel-7.9"
>
> TARGET_SYS           = "x86_64-poky-linux"
>
> MACHINE              = "sbcb-default"
>
> DISTRO               = "limws"
>
> DISTRO_VERSION       = "3.0.4"
>
> TUNE_FEATURES        = "m64 corei7"
>
> TARGET_FPU           = ""
>
> meta
>
> meta-poky            = "my_yocto_3.0.4:f2eb22a8783f1eecf99bd4042695bab920eed00e"
>
> meta-perl
>
> meta-python
>
> meta-filesystems
>
> meta-networking
>
> meta-initramfs
>
> meta-oe              = "zeus:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
>
> meta                 = "master:a32ddd2b2a51b26c011fa50e441df39304651503"
>
> meta-intel           = "zeus:d9942d4c3a710406b051852de7232db03c297f4e"
>
> meta-intel
>
> workspace            = "v2019.02:f635a364c55f1fb12519aff54924a0a5b947091e"
>
>
>
> Initialising tasks: 100%
> |######################################################| Time: 0:00:04
>
> Checking sstate mirror object availability: 100%
> |##############################| Time: 0:00:00
>
> Sstate summary: Wanted 503 Found 298 Missed 205 Current 1936 (59%
> match, 91% complete)
>
> NOTE: Executing Tasks
>
> NOTE: Setscene tasks completed
>
> WARNING: rpcsvc-proto-native-1.4+gitAUTOINC+9bc3b5b785-r0 do_fetch:
> Failed to fetch URL git://github.com/thkukuk/rpcsvc-proto, attempting
> MIRRORS if available
>
> WARNING: nativesdk-libnss-nis-3.1+gitAUTOINC+062f31999b-r0 do_fetch:
> Failed to fetch URL git://github.com/thkukuk/libnss_nis, attempting
> MIRRORS if available
>
> NOTE: Excluding local workspace layer
> /disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/s
> bcb-default/workspace from extensible SDK
>
> ERROR: sbcb-defaultfs-full-1.0-r0 do_populate_sdk_ext: Failed to generate filtered task list for extensible SDK:
>
> /bin/bash: line 0: .: .: is a directory
>
> ERROR: bitbake failed:
>
> /bin/sh: bitbake: command not found
>
> ERROR: sbcb-defaultfs-full-1.0-r0 do_populate_sdk_ext: 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:
> <module>
>
>      0001:
>
> *** 0002:copy_buildsystem(d)
>
>      0003:
>
> File:
> '/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/classes/populate_
> sdk_ext.bbclass', lineno: 444, function: copy_buildsystem
>
>      0440:    sdk_ext_type = d.getVar('SDK_EXT_TYPE')
>
>      0441:    if (sdk_ext_type != 'minimal' or sdk_include_toolchain or derivative) and not sdk_include_nativesdk:
>
>      0442:        # Create the filtered task list used to generate the sstate cache shipped with the SDK
>
>      0443:        tasklistfn = d.getVar('WORKDIR') + '/tasklist.txt'
>
> *** 0444:        create_filtered_tasklist(d, baseoutpath, tasklistfn, conf_initpath)
>
>      0445:    else:
>
>      0446:        tasklistfn = None
>
>      0447:
>
>      0448:    if os.path.exists(builddir + '/cache/bb_unihashes.dat'):
>
> File:
> '/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/classes/populate_
> sdk_ext.bbclass', lineno: 180, function: create_filtered_tasklist
>
>      0176:        # Clean out residue of running bitbake, which check_sstate_task_list()
>
>      0177:        # will effectively do
>
>      0178:        clean_esdk_builddir(d, sdkbasepath)
>
>      0179:    finally:
>
> *** 0180:        os.replace(sdkbasepath + '/conf/local.conf.bak', sdkbasepath + '/conf/local.conf')
>
>      0181:
>
>      0182:python copy_buildsystem () {
>
>      0183:    import re
>
>      0184:    import shutil
>
> Exception: FileNotFoundError: [Errno 2] No such file or directory: '/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/sbcb_default-poky-linux/sbcb-defaultfs-full/1.0-r0/sdk-ext/image//opt/limws/3.0.4/conf/local.conf.bak' -> '/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/sbcb_default-poky-linux/sbcb-defaultfs-full/1.0-r0/sdk-ext/image//opt/limws/3.0.4/conf/local.conf'
>
>
>
> ERROR: Logfile of failure stored in:
> /disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/s
> bcb-default/tmp/work/sbcb_default-poky-linux/sbcb-defaultfs-full/1.0-r
> 0/temp/log.do_populate_sdk_ext.14130
>
> ERROR: Task (/disk0/scratch/smonsees/yocto/workspace_3/poky/../meta-bae/meta-limws/meta-intel/recipes-core/images/sbcb-defaultfs-full.bb:do_populate_sdk_ext) failed with exit code '1'
>
> NOTE: Tasks Summary: Attempted 6770 tasks of which 6274 didn't need to be rerun and 1 failed.
>
>
>
> Summary: 1 task failed:
>
>   
> /disk0/scratch/smonsees/yocto/workspace_3/poky/../meta-bae/meta-limws/
> meta-intel/recipes-core/images/sbcb-defaultfs-full.bb:do_populate_sdk_
> ext
>
> Summary: There were 2 WARNING messages shown.
>
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>
> 17:49 smonsees@yix490016
> /disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/s
> bcb-default>
>
>
>
>




Re: #yocto #zeus #sdk populate_sdk_ext build failing #yocto #zeus #sdk

Monsees, Steven C (US)
 

I configured SDK for:

SDK_EXT_TYPE = "minimal"
SDK_INCLUDE_TOOLCHAIN = "1"
SDK_INCLUDE_PKGDATA = "0"

And I still see "Error: Failed to generate filtered task list for extensible SDK..."

In my latest log I also see:

"Error: Task quilt-native.do_fetch attempted to execute unexpectedly...
...
This is usually due to missing ser=tscene tasks...
..."

Why might the filtered task list fail to generate correctly ?

This appears to be the real issue, and then it dies a slow death...

Thanks,
Steve

-----Original Message-----
From: Khem Raj <raj.khem@gmail.com>
Sent: Tuesday, February 2, 2021 10:37 PM
To: Monsees, Steven C (US) <steven.monsees@baesystems.com>
Cc: yocto@lists.yoctoproject.org
Subject: Re: [yocto] #yocto #zeus #sdk populate_sdk_ext build failing

*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.


it seems bitbake does not execute when its trying to configure eSDK for install. Perhaps you can try to see some logs inside the esdk build area to check if there is further info.
secondly, try to build an esdk for core-image-minimal and see if that works.

On Fri, Jan 29, 2021 at 3:04 PM Monsees, Steven C (US) via lists.yoctoproject.org <steven.monsees=baesystems.com@lists.yoctoproject.org> wrote:



I need some help in understanding why the SDK EXT is failing to build
under zeus…



Can someone explain why the extended sdk build fails and how I might resolve ?



sbcb-defaultfs kernel builds and boots correctly…



SDK builds under zeus for sbcb-defaultfs :



bitbake sbcb-defaultfs-full -c populate_sdk -WORKING CORRECTLY



bitbake sbcb-defaultfs-full -c populate_sdk_ext -Fails build with the following Errors:



17:13 smonsees@yix490016
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/s
bcb-default> bitbake sbcb-defaultfs-full -c populate_sdk_ext

Loading cache: 100%
|###########################################################| Time:
0:00:00

Loaded 3645 entries from dependency cache.

NOTE: Resolving any missing task queue dependencies



Build Configuration:

BB_VERSION = "1.44.0"

BUILD_SYS = "x86_64-linux"

NATIVELSBSTRING = "rhel-7.9"

TARGET_SYS = "x86_64-poky-linux"

MACHINE = "sbcb-default"

DISTRO = "limws"

DISTRO_VERSION = "3.0.4"

TUNE_FEATURES = "m64 corei7"

TARGET_FPU = ""

meta

meta-poky = "my_yocto_3.0.4:f2eb22a8783f1eecf99bd4042695bab920eed00e"

meta-perl

meta-python

meta-filesystems

meta-networking

meta-initramfs

meta-oe = "zeus:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"

meta = "master:a32ddd2b2a51b26c011fa50e441df39304651503"

meta-intel = "zeus:d9942d4c3a710406b051852de7232db03c297f4e"

meta-intel

workspace = "v2019.02:f635a364c55f1fb12519aff54924a0a5b947091e"



Initialising tasks: 100%
|######################################################| Time: 0:00:04

Checking sstate mirror object availability: 100%
|##############################| Time: 0:00:00

Sstate summary: Wanted 503 Found 298 Missed 205 Current 1936 (59%
match, 91% complete)

NOTE: Executing Tasks

NOTE: Setscene tasks completed

WARNING: rpcsvc-proto-native-1.4+gitAUTOINC+9bc3b5b785-r0 do_fetch:
Failed to fetch URL git://github.com/thkukuk/rpcsvc-proto, attempting
MIRRORS if available

WARNING: nativesdk-libnss-nis-3.1+gitAUTOINC+062f31999b-r0 do_fetch:
Failed to fetch URL git://github.com/thkukuk/libnss_nis, attempting
MIRRORS if available

NOTE: Excluding local workspace layer
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/s
bcb-default/workspace from extensible SDK

ERROR: sbcb-defaultfs-full-1.0-r0 do_populate_sdk_ext: Failed to generate filtered task list for extensible SDK:

/bin/bash: line 0: .: .: is a directory

ERROR: bitbake failed:

/bin/sh: bitbake: command not found

ERROR: sbcb-defaultfs-full-1.0-r0 do_populate_sdk_ext: 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:
<module>

0001:

*** 0002:copy_buildsystem(d)

0003:

File:
'/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/classes/populate_
sdk_ext.bbclass', lineno: 444, function: copy_buildsystem

0440: sdk_ext_type = d.getVar('SDK_EXT_TYPE')

0441: if (sdk_ext_type != 'minimal' or sdk_include_toolchain or derivative) and not sdk_include_nativesdk:

0442: # Create the filtered task list used to generate the sstate cache shipped with the SDK

0443: tasklistfn = d.getVar('WORKDIR') + '/tasklist.txt'

*** 0444: create_filtered_tasklist(d, baseoutpath, tasklistfn, conf_initpath)

0445: else:

0446: tasklistfn = None

0447:

0448: if os.path.exists(builddir + '/cache/bb_unihashes.dat'):

File:
'/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/classes/populate_
sdk_ext.bbclass', lineno: 180, function: create_filtered_tasklist

0176: # Clean out residue of running bitbake, which check_sstate_task_list()

0177: # will effectively do

0178: clean_esdk_builddir(d, sdkbasepath)

0179: finally:

*** 0180: os.replace(sdkbasepath + '/conf/local.conf.bak', sdkbasepath + '/conf/local.conf')

0181:

0182:python copy_buildsystem () {

0183: import re

0184: import shutil

Exception: FileNotFoundError: [Errno 2] No such file or directory: '/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/sbcb_default-poky-linux/sbcb-defaultfs-full/1.0-r0/sdk-ext/image//opt/limws/3.0.4/conf/local.conf.bak' -> '/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/sbcb_default-poky-linux/sbcb-defaultfs-full/1.0-r0/sdk-ext/image//opt/limws/3.0.4/conf/local.conf'



ERROR: Logfile of failure stored in:
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/s
bcb-default/tmp/work/sbcb_default-poky-linux/sbcb-defaultfs-full/1.0-r
0/temp/log.do_populate_sdk_ext.14130

ERROR: Task (/disk0/scratch/smonsees/yocto/workspace_3/poky/../meta-bae/meta-limws/meta-intel/recipes-core/images/sbcb-defaultfs-full.bb:do_populate_sdk_ext) failed with exit code '1'

NOTE: Tasks Summary: Attempted 6770 tasks of which 6274 didn't need to be rerun and 1 failed.



Summary: 1 task failed:


/disk0/scratch/smonsees/yocto/workspace_3/poky/../meta-bae/meta-limws/
meta-intel/recipes-core/images/sbcb-defaultfs-full.bb:do_populate_sdk_
ext

Summary: There were 2 WARNING messages shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

17:49 smonsees@yix490016
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/s
bcb-default>




Re: PREFERRED_VERSION_pn-: which version is selected?

Quentin Schulz
 

Hi Mauro,

On Mon, Feb 08, 2021 at 05:23:36PM +0100, Mauro Ziliani wrote:
My purpose is this.

For image-recipe_1.0.0 I need recip1 version 0.9

For image-recipe_1.1.0 I need recip1 version 1.0
You can't. Because recipes cannot impact other recipes.

Now there's a catch, which applies to a VERY specific corner case.

Let's say recip1 is a final package (recip1 recipe is in no DEPENDS of any
recipe, recip1 recipe packages are in no RDEPENDS, only recip1 packages are
mentioned in image recipes).

You can rename recip1_0.9 to recip109_0.9.bb and in your
image-recipe_1.0.0 add recip109 to IMAGE_INSTALL.
in image-recipe_1.1.0 have recip1 in IMAGE_INSTALL.

Obviously, since the recipe name is now different, they are different
recipes to Yocto, which means DEPENDS and RDEPENDS won't be
automatically "updated" to get the version you selected in image-recipe
(because... recipes can't modify other recipes).

Cheers,
Quentin


Re: PREFERRED_VERSION_pn-: which version is selected?

Mauro Ziliani
 

Thanks all for suggestions ed corrections

MZ

Il 08/02/21 12:14, Quentin Schulz ha scritto:
Hi Mauro,

On Mon, Feb 08, 2021 at 11:52:33AM +0100, Mauro Ziliani wrote:
Hi all.

I'm working with Krogoth on imx6


I have the same recipe with different versions

recipe1_0.9.bb

recipe1_1.0.bb


In the image recipe I put


image-recipe.bb

IMAGE_INSTALL_append := " \

    recipe1 \

"

PREFERRED_VERSION_pn-recipe1 := "0.9"
Yocto chant #1: Recipe data is local, conf data is global.

In other words, you cannot modify other recipes from one recipe.

Since image recipes are recipes, your PREFERRED_VERSION ni your image
recipe is effectively a no-op.

On a side note, := operator is rarely seen outside of
FILESEXTRAPATHS_prepend in bbappend, try to keep it this way.

If I do

 bitbake -s

I get

recipe1    :1.0-r0


If I do

bitbake image-recipe


in image-recipe.manifest I look

recipe1  1.0-r0


Why is not selected the preferred version?

How can I choose the recipe's version I'd like?
In a configuration file: local.conf, distro.conf, machine.conf.

Though, it is heavily discouraged to use local.conf for anything except
debugging sessions, as it is meant only for **local** configuration and
isn't supposed to be versioned.

Cheers,
Quentin

1201 - 1220 of 53454