I am having a Bitbake Fetcher Error: UnpackError with my YOCTO PROJECT - flutter

I am trying to build an image for stm32mp1 board, I want to build a flutter application with my image so when I add try to build I get do_unpack error. Here is the link for meta-flutter layer and here is the link that causes I believe the unpack error and you can see here the .bb file at least the relevant part:
SUMMARY = "Flutter Engine"
DESCRIPTION = "Google Flutter Engine for use with Flutter applications"
AUTHOR = "Flutter Team"
HOMEPAGE = "https://github.com/flutter/engineflutter/"
BUGTRACKER = "https://github.com/flutter/flutter/issues"
SECTION = "graphics"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://flutter/LICENSE;md5=a60894397335535eb10b54e2fff9f265"
CVE_PRODUCT = "libflutter_engine.so"
REQUIRED_DISTRO_FEATURES = "opengl"
DEPENDS += "\
compiler-rt \
libcxx \
zip-native \
"
SRC_URI = "gn://github.com/flutter/engine.git;name=src/flutter \
file://0001-clang-toolchain.patch \
file://0002-x64-sysroot-assert.patch \
file://0001-allow-deprecated-calls.patch \
file://0001-remove-x11-dependency.patch \
file://0001-prevent-redefinition-of-glib_autoptr_clear_AtkObject.patch \
Here is the full error lines:
ERROR: flutter-engine-runtimerelease-git-r0 do_unpack: Bitbake Fetcher Error: UnpackError('Unpack command PATH="/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp1/tmp-glibc/sysroots-uninative/x86_64-linux/usr/bin:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine-runtimerelease/git-r0/recipe-sysroot-native/usr/bin/python3-native:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/scripts:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine-runtimerelease/git-r0/recipe-sysroot-native/usr/bin/arm-ostl-linux-gnueabi:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine-runtimerelease/git-r0/recipe-sysroot/usr/bin/crossscripts:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine-runtimerelease/git-r0/recipe-sysroot-native/usr/sbin:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine-runtimerelease/git-r0/recipe-sysroot-native/usr/bin:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine-runtimerelease/git-r0/recipe-sysroot-native/sbin:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine-runtimerelease/git-r0/recipe-sysroot-native/bin:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/bin:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp1/tmp-glibc/hosttools" pbzip2 -dc -p12 /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp1/downloads/gn/https__github.com_flutter_engine.git-e85ea0e79c6d894c120cda4ee8ee10fe6745e187.tar.bz2 | tar x --no-same-owner -f - failed with return value 2', 'gn://github.com/flutter/engine.git;name=src/flutter')
ERROR: Logfile of failure stored in: /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine-runtimerelease/git-r0/temp/log.do_unpack.2523161
ERROR: Task (virtual:runtimerelease:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/meta-flutter/recipes-graphics/flutter-engine/flutter-engine_git.bb:do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7720 tasks of which 7703 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
Summary: 1 task failed:
virtual:runtimerelease:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/meta-flutter/recipes-graphics/flutter-engine/flutter-engine_git.bb:do_unpack

You have typos in SRC_UIR:
SRC_URI = "gn://github.com/flutter/engine.git;name=src/flutter \
Change preffix (proto) to git://.

Related

Yocto build for samba recipe failed

Yocto build for samba recipe failed
I am trying to build this samba recipe file
Here
bitbake smbnetfs
Error :
smbnetfs_git.bb DEPENDS on or otherwise requires it) samba was
skipped: it has incompatible license(s): GPL-3.0+ LGPL-3.0+ ERROR:
Required build target 'smbnetfs' has no buildable providers. Missing
or unbuildable dependency chain was: ['smbnetfs', 'samba']
HOMEPAGE = "https://www.samba.org/"
SECTION = "console/network"
LICENSE = "GPL-3.0+ & LGPL-3.0+ & GPL-2.0+"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \
file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 "
SAMBA_MIRROR = "http://samba.org/samba/ftp"
MIRRORS += "\
${SAMBA_MIRROR} http://mirror.internode.on.net/pub/samba \n \
${SAMBA_MIRROR} http://www.mirrorservice.org/sites/ftp.samba.org \n \
"
SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \
file://16-do-not-check-xsltproc-manpages.patch \
file://20-do-not-import-target-module-while-cross-compile.patch \
file://21-add-config-option-without-valgrind.patch \
file://0001-packaging-Avoid-timeout-for-nmbd-if-started-offline-.patch \
file://0006-avoid-using-colon-in-the-checking-msg.patch \
file://netdb_defines.patch \
file://glibc_only.patch \
file://iconv-4.7.0.patch \
file://dnsserver-4.7.0.patch \
file://smb_conf-4.7.0.patch \
file://volatiles.03_samba \
"
SRC_URI_append_libc-musl = " \
file://samba-pam.patch \
file://samba-4.3.9-remove-getpwent_r.patch \
"
SRC_URI[md5sum] = "0253021a45c479cec1e135b004a0177a"
SRC_URI[sha256sum] = "1eede30fc8ef6504e24602fb72b00baa0a7b73b59f16d25cb0771dc8c7c57d6e"
inherit systemd waf-samba cpan-base perlnative update-rc.d
# remove default added RDEPENDS on perl
RDEPENDS_${PN}_remove = "perl"
DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb libbsd libaio libpam"
My finding: There problem in LICENSE and LIC_FILES_CHKSUM
Reason = common-licenses folder is not available in the meta-openembedded
Why folder is missing from the meta-openembedded. How to resolve it.
I have gone through almost all the site. I have tired the option to close the license as below
LICENSE = "CLOSED"
BB_STRICT_CHECKSUM = "0"
But still no luck.
I tired this suggestion as well here and here
Please suggestion

botan-2.4.0-r0 do_compile: oe_runmake failed

i try to implement botan library in yocto, i have the recipe with following content
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://license.txt;md5=bf361fc63df3fa25652ee82c43b7601a"
SRC_URI = "https://cdn-aws.deb.debian.org/debian/pool/main/b/botan/botan_${PV}.orig.tar.gz"
SRC_URI[md5sum] = "e52c6e15c0017eb2d61838f56f051ded"
SRC_URI[sha256sum] = "2d5696c75b89e3c2e888867907764ab063daca9a1a42ea35649792dace4eff83"
S = "${WORKDIR}/${BPN}-2.4.0"
B = "${WORKDIR}/build"
#DEPENDS = "pkgconfig"
inherit autotools pkgconfig
do_install () {
install -d ${D}${libdir}
install -d ${D}${libdir}/.debug/
install -d ${D}${includedir}/botan
install -m 0755 ${B}/libbotan-2.so ${D}${libdir}
install -m 0755 ${B}/libbotan-2.a ${D}${libdir}
install -m 0755 ${WORKDIR}/botan-2.4.0/src/botan/*.hpp ${D}${includedir}/botan
rm ${WORKDIR}/botan-2.4.0/src/botan/*.cpp
rm ${WORKDIR}/botan-2.4.0/src/botan/*.hpp
}
FILES_${PN} += " \
${libdir}/libbotan-2.so \
"
FILES_${PN}-dev += " \
${includedir}/botan/*.hpp \
"
FILES_${PN}-staticdev += " \
${libdir}//libbotan-2.a \
"
FILES_${PN}-dbg += " \
${libdir}/.debug/* \
"
When i try bitbake botan, i encountered error:
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4
| make: *** No targets specified and no makefile found. Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile
Anything i doing it wrong or misinterpret?
i create this recipe using recipetool create https://cdn-aws.deb.debian.org/debian/pool/main/b/botan/botan_2.4.0.orig.tar.gz
I tried bitbake -c botan and bitbake again, it still the same.
The error tells it could not find Makefile in source directory. From the readme.rst file present in botan-2.4.0.tar.gz it is said that to run ./configure.py before start compiling, which will generate Makefile. so try to add something like below to your recipe
do_configure_prepend() {
${PYTHON} ${S}/configure.py
}

unable to execute do_install_append

I am trying to run a particular task in audit package.
I have attached .bb file for your reference
BB_VERSION:1.22.0
BUILD_SYS:x86_64-linux
NATIVELSBSTRING:Ubuntu-14.04
TARGET_SYS:arm-poky-linux-gnueabi
MACHINE:iwg22m
DISTRO:poky
DISTRO_VERSION:1.6.1
TUNE_FEATURES:armv7a vfp neon callconvention-hard cortexa7
TARGET_FPU:vfp-neon
Log for the same
$ bitbake -c install_append audit
Loading cache: 100% |####################################################################################################################| ETA: 00:00:00
Loaded 1863 entries from dependency cache.
WARNING: No recipes available for:
/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-graphics/qt/qtwebkit_git.bbappend
/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-graphics/qt/qtwayland_git.bbappend
/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-graphics/qt/qtbase_git.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "iwg22m"
DISTRO = "poky"
DISTRO_VERSION = "1.6.1"
TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa7"
TARGET_FPU = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp = "tmp:c4f1f0f491f988901bfd6965f7d10f60cb94a76f"
meta-renesas
meta-rzg1 = "tmp:19bf1ed97d04009722bb88a780268822ee60ff83"
meta-oe
meta-multimedia = "tmp:dca466c074c9a35bc0133e7e0d65cca0731e2acf"
meta-linaro-toolchain = "tmp:8a0601723c06fdb75e62aa0f0cf15fc9d7d90167"
NOTE: Preparing runqueue
ERROR: Task do_install_append does not exist for target audit. Close matches:
do_install
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
audit_2.8.4.bb
SUMMARY = "User space tools for kernel auditing"
DESCRIPTION = "The audit package contains the user space utilities for \
storing and searching the audit records generated by the audit subsystem \
in the Linux kernel."
HOMEPAGE = "http://people.redhat.com/sgrubb/audit/"
SECTION = "base"
LICENSE = "GPLv2+ & LGPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
SRC_URI = "http://people.redhat.com/sgrubb/${BPN}/${BPN}-${PV}.tar.gz \
file://audit-python-configure.patch \
file://audit-python.patch \
file://fix-swig-host-contamination.patch \
file://auditd \
file://auditd.service \
file://audit-volatile.conf \
"
SRC_URI[md5sum] = "871fbc03039a5101b5191c5dcc6e8ac2"
SRC_URI[sha256sum] = "61d8dc61e882fdbb75153a1316817a8f8c8fca25de588256edd81fbb03e7994b"
inherit autotools pythonnative update-rc.d systemd
UPDATERCPN = "auditd"
INITSCRIPT_NAME = "auditd"
INITSCRIPT_PARAMS = "defaults"
SYSTEMD_SERVICE_${PN} = "auditd.service"
DEPENDS += "python tcp-wrappers libcap-ng linux-libc-headers (>= 2.6.30)"
EXTRA_OECONF += "--without-prelude \
--with-libwrap \
--enable-gssapi-krb5=no \
--with-libcap-ng=yes \
--with-python=yes \
--libdir=${base_libdir} \
--sbindir=${base_sbindir} \
--without-python3 \
--disable-zos-remote \
"
EXTRA_OECONF_append_arm = " --with-arm=yes"
EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' \
PYINC='${STAGING_INCDIR}/$(PYLIBVER)' \
pyexecdir=${libdir}/python${PYTHON_BASEVERSION}/site-packages \
STDINC='${STAGING_INCDIR}' \
"
SUMMARY_audispd-plugins = "Plugins for the audit event dispatcher"
DESCRIPTION_audispd-plugins = "The audispd-plugins package provides plugins for the real-time \
interface to the audit system, audispd. These plugins can do things \
like relay events to remote machines or analyze events for suspicious \
behavior."
PACKAGES =+ "audispd-plugins"
PACKAGES += "auditd ${PN}-python"
FILES_${PN} = "${sysconfdir}/libaudit.conf ${base_libdir}/libaudit.so.1* ${base_libdir}/libauparse.so.*"
FILES_auditd += "${bindir}/* ${base_sbindir}/* ${sysconfdir}/*"
FILES_audispd-plugins += "${sysconfdir}/audisp/audisp-remote.conf \
${sysconfdir}/audisp/plugins.d/au-remote.conf \
${sbindir}/audisp-remote ${localstatedir}/spool/audit \
"
FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/*/.debug"
FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}"
FILES_${PN}-dev += "${base_libdir}/*.so ${base_libdir}/*.la ${base_libdir}/pkgconfig/*"
CONFFILES_auditd += "${sysconfdir}/audit/audit.rules"
RDEPENDS_auditd += "bash"
do_install_append() {
rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.a
rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.la
# reuse auditd config
[ ! -e ${D}/etc/default ] && mkdir ${D}/etc/default
mv ${D}/etc/sysconfig/auditd ${D}/etc/default
rmdir ${D}/etc/sysconfig/
# replace init.d
install -D -m 0755 ${S}/../auditd ${D}/etc/init.d/auditd
rm -rf ${D}/etc/rc.d
if ${#bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -d ${D}${sysconfdir}/tmpfiles.d/
install -m 0644 ${WORKDIR}/audit-volatile.conf ${D}${sysconfdir}/tmpfiles.d/
fi
# install systemd unit files
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/auditd.service ${D}${systemd_unitdir}/system
# audit-2.5 doesn't install any rules by default, so we do that here
mkdir -p ${D}/etc/audit ${D}/etc/audit/rules.d
cp ${S}/rules/10-base-config.rules ${D}/etc/audit/rules.d/audit.rules
chmod 750 ${D}/etc/audit ${D}/etc/audit/rules.d
chmod 640 ${D}/etc/audit/auditd.conf ${D}/etc/audit/rules.d/audit.rules
# Based on the audit.spec "Copy default rules into place on new installation"
cp ${D}/etc/audit/rules.d/audit.rules ${D}/etc/audit/audit.rules
}
As suggested i ran "bitbake -c install | cat -" audit and when i run "bitbake audit | cat -" the list of tasks are different.
bitbake audit | cat -
Loading cache...done.
Loaded 1863 entries from dependency cache.
WARNING: No recipes available for:
/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-graphics/qt/qtwebkit_git.bbappend
/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-graphics/qt/qtwayland_git.bbappend
/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-graphics/qt/qtbase_git.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "iwg22m"
DISTRO = "poky"
DISTRO_VERSION = "1.6.1"
TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa7"
TARGET_FPU = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp = "tmp:c4f1f0f491f988901bfd6965f7d10f60cb94a76f"
meta-renesas
meta-rzg1 = "tmp:19bf1ed97d04009722bb88a780268822ee60ff83"
meta-oe
meta-multimedia = "tmp:dca466c074c9a35bc0133e7e0d65cca0731e2acf"
meta-linaro-toolchain = "tmp:8a0601723c06fdb75e62aa0f0cf15fc9d7d90167"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Running setscene task 156 of 160 (/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-extended/audit/audit_2.8.4.bb, do_populate_sysroot_setscene)
NOTE: Running setscene task 157 of 160 (/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-extended/audit/audit_2.8.4.bb, do_populate_lic_setscene)
NOTE: Running setscene task 158 of 160 (/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-extended/audit/audit_2.8.4.bb, do_package_write_ipk_setscene)
NOTE: recipe audit-2.8.4-r0: task do_populate_sysroot_setscene: Started
NOTE: recipe audit-2.8.4-r0: task do_populate_lic_setscene: Started
NOTE: recipe audit-2.8.4-r0: task do_package_write_ipk_setscene: Started
NOTE: recipe audit-2.8.4-r0: task do_populate_lic_setscene: Succeeded
NOTE: recipe audit-2.8.4-r0: task do_populate_sysroot_setscene: Succeeded
NOTE: recipe audit-2.8.4-r0: task do_package_write_ipk_setscene: Succeeded
NOTE: Running setscene task 159 of 160 (/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-extended/audit/audit_2.8.4.bb, do_packagedata_setscene)
NOTE: recipe audit-2.8.4-r0: task do_packagedata_setscene: Started
NOTE: recipe audit-2.8.4-r0: task do_packagedata_setscene: Succeeded
NOTE: Executing RunQueue Tasks
bitbake -c install | cat -
Loading cache...done.
Loaded 1863 entries from dependency cache.
WARNING: No recipes available for:
/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-graphics/qt/qtwebkit_git.bbappend
/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-graphics/qt/qtwayland_git.bbappend
/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-graphics/qt/qtbase_git.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "iwg22m"
DISTRO = "poky"
DISTRO_VERSION = "1.6.1"
TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa7"
TARGET_FPU = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp = "tmp:c4f1f0f491f988901bfd6965f7d10f60cb94a76f"
meta-renesas
meta-rzg1 = "tmp:19bf1ed97d04009722bb88a780268822ee60ff83"
meta-oe
meta-multimedia = "tmp:dca466c074c9a35bc0133e7e0d65cca0731e2acf"
meta-linaro-toolchain = "tmp:8a0601723c06fdb75e62aa0f0cf15fc9d7d90167"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 404 of 415 (ID: 3, /home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-extended/audit/audit_2.8.4.bb, do_fetch)
NOTE: recipe audit-2.8.4-r0: task do_fetch: Started
NOTE: recipe audit-2.8.4-r0: task do_fetch: Succeeded
NOTE: Running task 411 of 415 (ID: 0, /home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-extended/audit/audit_2.8.4.bb, do_unpack)
NOTE: recipe audit-2.8.4-r0: task do_unpack: Started
NOTE: recipe audit-2.8.4-r0: task do_unpack: Succeeded
NOTE: Running task 412 of 415 (ID: 1, /home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-extended/audit/audit_2.8.4.bb, do_patch)
NOTE: recipe audit-2.8.4-r0: task do_patch: Started
NOTE: recipe audit-2.8.4-r0: task do_patch: Succeeded
NOTE: Running task 413 of 415 (ID: 4, /home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-extended/audit/audit_2.8.4.bb, do_configure)
NOTE: recipe audit-2.8.4-r0: task do_configure: Started
NOTE: recipe audit-2.8.4-r0: task do_configure: Succeeded
NOTE: Running task 414 of 415 (ID: 5, /home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-extended/audit/audit_2.8.4.bb, do_compile)
NOTE: recipe audit-2.8.4-r0: task do_compile: Started
NOTE: recipe audit-2.8.4-r0: task do_compile: Succeeded
NOTE: Running task 415 of 415 (ID: 2, /home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/../meta-renesas/meta-rzg1/recipes-extended/audit/audit_2.8.4.bb, do_install)
NOTE: recipe audit-2.8.4-r0: task do_install: Started
NOTE: recipe audit-2.8.4-r0: task do_install: Succeeded
NOTE: Tasks Summary: Attempted 415 tasks of which 409 didn't need to be rerun and all succeeded.
Summary: There was 1 WARNING message shown.
The list of tasks are completely different
Bitbake creates the methods executed dynamically and runs them so your _append is literally appended to the end of the do_install task. Then the task is executed.
Maybe it would help to view the debug output with bitbake -e audit just search for your do_install_append code at the end of the do_install task for the recipe audit.
If that output is too large maybe try piping bitbake into cat to see each task execute, something like bitbake audit | cat -
After the variable values, all functions appear in the output. For shell functions, variables referenced within the function body are expanded. If a function has been modified using overrides or using override-style operators like _append and _prepend, then the final assembled function body appears in the output.
https://www.yoctoproject.org/docs/2.2.1/ref-manual/ref-manual.html#usingpoky-debugging-viewing-variable-values

Error when I run bitbake

I have installed the yocto project and the meta-raspberry layer. When I try to bitbake the image (bitbake rpi-basic-image) I receive these errors:
user:~/Desktop/yocto_r/build-rpi$ bitbake rpi-basic-image
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 15 entries from dependency cache.
ERROR: /home/user/Desktop/yocto_r/poky/meta-raspberrypi/recipes-core/images/rpi-test-image.bb: Deprecated variable(s) found: "IMAGE_DEPENDS_rpi-sdimg". Use do_image_<type>[depends] += "<recipe>:<task>" instead
ERROR: /home/user/Desktop/yocto_r/poky/meta-raspberrypi/recipes-core/images/rpi-basic-image.bb: Deprecated variable(s) found: "IMAGE_DEPENDS_rpi-sdimg". Use do_image_<type>[depends] += "<recipe>:<task>" instead
ERROR: /home/user/Desktop/yocto_r/poky/meta-raspberrypi/recipes-core/images/rpi-hwup-image.bb: Deprecated variable(s) found: "IMAGE_DEPENDS_rpi-sdimg". Use do_image_<type>[depends] += "<recipe>:<task>" instead
ERROR: Failed to parse recipe: /home//Desktop/yocto_r/poky/meta-raspberrypi/recipes-core/images/rpi-test-image.bb
Anyone knows what's the problem?
It seems that the recipe is not compatible with updated image-types class.
Replace IMAGE_DEPENDS_rpi-sdimg by do_image_rpi-sdimg[depends].
For example if you have
IMAGE_DEPENDS_rpi-sdimg = "virtual/kernel"
then replace it with
do_image_rpi-sdimg[depends] += "virtual/kernel:do_populate_sysroot"
I also had this problem.
modify meta-raspberrypi/classes/sdcard_image-rpi.bbclass file like below
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass
index 79ab53a..91719f2 100644
--- a/classes/sdcard_image-rpi.bbclass
+++ b/classes/sdcard_image-rpi.bbclass
## -50,7 +50,7 ## IMAGE_ROOTFS_ALIGNMENT = "4096"
SDIMG_ROOTFS_TYPE ?= "ext3"
SDIMG_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}"
-IMAGE_DEPENDS_rpi-sdimg = " \
+do_image_rpi-sdimg = " \
parted-native \
mtools-native \
dosfstools-native \

Yocto:Could not inherit file classes/autotools-brokensep.bbclass

I am new to yocto project. I am getting the following error while running the bitbake command
$bitbake gemini-image
ERROR: ParseError at /home/zappy/Desktop/fyocto/meta-ivi/meta-ivi/recipes-extended/persistence-client-library/persistence-client-library_git.bb:18: Could not inherit file classes/autotools-brokensep.bbclass
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
my bblayers.conf file is
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "6"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/zappy/Desktop/fyocto/poky/meta \
/home/zappy/Desktop/fyocto/poky/meta-yocto \
/home/zappy/Desktop/fyocto/poky/meta-yocto-bsp \
/home/zappy/Desktop/fyocto/meta-ivi/meta-ivi \
/home/zappy/Desktop/fyocto/meta-ti \
"
BBLAYERS_NON_REMOVABLE ?= " \
/home/zappy/Desktop/fyocto/poky/meta \
/home/zappy/Desktop/fyocto/poky/meta-yocto \
And my local.conf file is(edited lines only)
MACHINE?= ”pandaboard”
DISTRO ?= "poky-ivi-systemd"
INCOMPATIBLE_LICENSE = "GPLv3"
any one familiar with these types of errors??
please feel free to ask if any further details is needed to understand the problem
EDIT:
This is the persistence-client-library_git.bb file
SUMMARY = "GENIVI Persistence Client Library"
DESCRIPTION = "The Persistence Management is responsible to handle \
persistent data, including all data read and modified often during \
a lifetime of an infotainment system."
HOMEPAGE = "http://projects.genivi.org/persistence-client-library"
BUGTRACKER = "http://bugs.genivi.org/enter_bug.cgi?product=Persistence"
LICENSE = "MPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=6161c6840f21a000e9b52af81d2ca823"
DEPENDS = "dlt-daemon dbus libcheck persistence-common-object"
PV = "7.0+git${SRCPV}"
SRC_URI = "git://git.projects.genivi.org/persistence/persistence-client-library.git"
SRCREV = "441b3ce710ec6b7f1e6360cdf29e5c4243af9f1e"
S = "${WORKDIR}/git"
inherit pkgconfig autotools-brokensep
PARALLEL_MAKE = ""
FILES_${PN} = " \
${libdir}/*.so \
${libdir}/*.so.* \
${sysconfdir} \
"
do_install_append() {
install -d ${D}${sysconfdir}/dbus-1/system.d
install -m 0644 ${S}/config/org.genivi.persistence.admin.conf ${D}${sysconfdir}/dbus-1/system.d
}
RDEPENDS_${PN} = "node-state-manager"
Problem: It is not able to locate the autotools-brokensep.bbclass which is mentioned in your persistence-client-library_git.bb as inherit pkgconfig autotools-brokensep
Solution: Provide the path of the file in bblayers.conf where the file locates, and even check th layers.conf of which the file resides.