Yocto Project Discussions
 help / color / mirror / Atom feed
From: dspore@parraid.com
To: yocto@lists.yoctoproject.org
Subject: Re: Recipe to install third-party RPM #bitbake
Date: Fri, 09 Dec 2022 07:29:47 -0800	[thread overview]
Message-ID: <12367.1670599787971354647@lists.yoctoproject.org> (raw)
In-Reply-To: <CAM6O0ZimX8=tH9hOYM9zV2NVL5zStD4MdqMiOojJrpU3ajyUbw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1829 bytes --]

Federico,

Thanks for your reply.  I did build a recipe for a tar.gz source archive previously, which worked.  But for the RPM I felt like I was missing something.  Meanwhile, my multilib build for core-image-base is failing with the error below.  This is without any custom recipes.  I am not sure what to about this missing manifest file.  I thought perhaps it was SDK related so I tried running *bitbake core-image-base -c populate_sdk*... but got a similar error.   If I knew the root cause of this error, I might be able to fix it.  But it seems that unless I've setup local.conf incorrectly, doing multilib should just work out of the box.  Note that I successfully built *core-image-base* WITHOUT multilib configured in my local.conf.  Simply adding the multilib config entries causes this error (local.conf attached).

ERROR: core-image-base-1.0-r0 do_prepare_recipe_sysroot: Manifest /home/parraid/var-fsl-yocto/build_xwayland/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-lib32-qemuwrapper-cross.populate_sysroot not found in imx8mp_var_dart armv7at2hf-neon-mx8mp armv7ahf-neon-mx8mp armv7at2hf-vfp-mx8mp armv7ahf-vfp-mx8mp armv6thf-vfp-mx8mp armv6hf-vfp-mx8mp armv5tehf-vfp-mx8mp armv5ehf-vfp-mx8mp armv5thf-vfp-mx8mp armv5hf-vfp-mx8mp armv8a-mx8mp armv8a-crc-crypto armv8a-crypto armv8a-crc armv8a aarch64 allarch x86_64_x86_64-nativesdk (variant 'lib32')?
ERROR: Logfile of failure stored in: /home/parraid/var-fsl-yocto/build_xwayland/tmp/work/imx8mp_var_dart-fslc-linux/core-image-base/1.0-r0/temp/log.do_prepare_recipe_sysroot.2763965
ERROR: Task (/home/parraid/var-fsl-yocto/sources/poky/meta/recipes-core/images/core-image-base.bb:do_prepare_recipe_sysroot) failed with exit code '1'

I feel if I can get this error resolved, it would be tremendous progress.

Thanks again!

David

[-- Attachment #1.2: Type: text/html, Size: 2003 bytes --]

[-- Attachment #2: local.conf --]
[-- Type: application/octet-stream, Size: 1127 bytes --]

MACHINE ??= 'imx8mp-var-dart'
DISTRO ?= 'fslc-xwayland'
USER_CLASSES ?= "buildstats"
PATCHRESOLVE = "noop"
ROOT_HOME = "/root"
BB_DISKMON_DIRS ??= "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    HALT,${TMPDIR},100M,1K \
    HALT,${DL_DIR},100M,1K \
    HALT,${SSTATE_DIR},100M,1K \
    HALT,/tmp,10M,1K"
PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
CONF_VERSION = "2"
RM_OLD_IMAGE = "1"
DISTRO_FEATURES:append = " systemd"
DISTRO_FEATURES:append = " virtualization"
DISTRO_FEATURES:append = " security"
DISTRO_FEATURES:append = " apparmor"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 = "armv7athf-neon"
INHERIT += "rm_work"
RM_WORK_EXCLUDE += "snapd"
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"
INHERIT += "extrausers"
EXTRA_USERS_PARAMS = "usermod -p '' root; "
IMAGE_INSTALL:append = " lib32-glibc lib32-libgcc lib32-libstdc++ lib32-bash"

      reply	other threads:[~2022-12-09 15:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-08 16:56 Recipe to install third-party RPM #bitbake dspore
2022-12-09  4:28 ` [yocto] " Federico Pellegrin
2022-12-09 15:29   ` dspore [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12367.1670599787971354647@lists.yoctoproject.org \
    --to=dspore@parraid.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox