[yocto] sumo-2.5 build error with core-image-base ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt --quiltrc

Veerender S veerender.s56 at gmail.com
Tue Oct 1 02:11:19 PDT 2019


Hi scott/stefano,

Please provide your inputs to clear the below issue from yocto- sumo-2.5
branch( Compiling for iMx8) i am struggling since 2 weeks.

I am building yocto sumo 2.5 branch with below configuration (bblayers.conf
and local.conf are below the mail. please check ).

Below is the error details while doing Build    $* bitbake core-image-base*

ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt --quiltrc
/home/e866686/Imx8-Work/imx-yocto-bsp/build/tmp/work/x86_64-linux/e2fsprogs-native/1.43.8-r0/recipe-sysroot-native/etc/quiltrc
push' exited with 0  Output:
Applying patch remove.ldconfig.call.patch
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From b139e03ac2f72e644e547c7ee9b1514383af4d97 Mon Sep 17 00:00:00 2001
|From: Andrei Dinu <andrei.adrianx.dinu at intel.com>
|Date: Wed, 30 Jan 2013 15:22:04 +0200
|Subject: [PATCH] When /etc/ld.so.cache is writeable by user running bitbake
| then it creates invalid cache (in my case libstdc++.so
| cannot be found after building zlib(-native) and I have to
| call touch */libstdc++.so && /sbin/ldconfig to fix it.
|
|So remove ldconfig call from make install-libs
|
|Patch authored by Martin Jansa.
|
|Upstream-Status: Inappropriate [disable feature]
|
|Signed-off-by: Scott Garman <scott.a.garman at intel.com>
|Signed-off-by: Andrei Dinu <andrei.adrianx.dinu at intel.com>
|---
| lib/Makefile.elf-lib |    3 ---
| 1 file changed, 3 deletions(-)
|diff --git a/lib/Makefile.elf-lib b/lib/Makefile.elf-lib
|index 78479d3..4a4a5ac 100644
|--- a/lib/Makefile.elf-lib
|+++ b/lib/Makefile.elf-lib
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
Patch remove.ldconfig.call.patch does not apply (enforce with -f)
ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in:
/home/e866686/Imx8-Work/imx-yocto-bsp/build/tmp/work/x86_64-linux/e2fsprogs-native/1.43.8-r0/temp/log.do_patch.30378
ERROR: Task
(virtual:native:/home/e866686/Imx8-Work/imx-yocto-bsp/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_patch)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 504 tasks of which 501 didn't need to be
rerun and 1 failed.

configurations:

*build/conf/bblayers.conf*
BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) +
'/../..')}"

BBFILES ?= ""
BBLAYERS = " \
  ${BSPDIR}/sources/poky/meta \
  ${BSPDIR}/sources/poky/meta-poky \
  \
  ${BSPDIR}/sources/meta-openembedded/meta-oe \
  ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
  \
  ${BSPDIR}/sources/meta-freescale \
  ${BSPDIR}/sources/meta-freescale-3rdparty \
  ${BSPDIR}/sources/meta-freescale-distro \
"

# i.MX Yocto Project Release layers
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-bsp "
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-sdk "

BBLAYERS += " ${BSPDIR}/sources/meta-browser "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-gnome "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-networking "
#BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-iot-cloud"
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-python "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-filesystems "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-webserver "
BBLAYERS += " ${BSPDIR}/sources/meta-qt5 "
BBLAYERS += " ${BSPDIR}/sources/meta-selinux "

*build/conf/local.conf*
MACHINE ??= 'imx8mqevk'
DISTRO ?= 'fsl-imx-wayland'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K \
    ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"

#DISTRO_FEATURES_remove = " sysvinit"
#DISTRO_FEATURES_append = " systemd"
#VIRTUAL-RUNTIME_init_manager = "systemd"
#DISTRO_FEATURES_BACKFILL_CONSIDERED = ""

#DISTRO_FEATURES_append += " alsa bluez5"
DISTRO_FEATURES_append = "acl xattr pam selinux"

# Srini : Lowered the version to make it compatible with ASTERISK VOIP
package commandline.
PREFERRED_VERSION_libedit = "2012*"
#PREFERRED_VERSION_refpolicy-minimum = "2.20151208"
#PREFERRED_VERSION_refpolicy = "2.20151208"
 PREFERRED_PROVIDER_virtual/refpolicy ?= "refpolicy-standard"

IMAGE_INSTALL_append += " libedit"
IMAGE_INSTALL_append += " paho-mqtt-c"

IMAGE_INSTALL_append += " libxml2"
IMAGE_INSTALL_append += " iptables"
IMAGE_INSTALL_append += " lksctp-tools"
#IMAGE_INSTALL_append += " asterisk"
CORE_IMAGE_EXTRA_INSTALL += "python3 python3-pip"
#CORE_IMAGE_EXTRA_INSTALL += "packagegroup-cloud-azure"
IMAGE_INSTALL_append += "packagegroup-core-selinux"
# Light weight web server. Enabled Python for CGI support
IMAGE_INSTALL_append += " sthttpd"
IMAGE_INSTALL_append += " python3"

# To configure Audio
IMAGE_INSTALL_append += " alsa-utils"
IMAGE_INSTALL_append += " gstreamer"
IMAGE_INSTALL_append += " mosquitto"
IMAGE_INSTALL_append += " e2fsprogs parted"
#IMAGE_INSTALL_remove += " libedit"

BBMASK += "${BSPDIR}/sources/meta-telephony/recipes-misc/lksctp-tools/"
BBMASK += "${BSPDIR}/sources/meta-telephony/recipes-devtools/"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"


-- 
Thanks&Regards
Veerender.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20191001/55c489bd/attachment-0001.html>


More information about the yocto mailing list