Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

building issue yocto for arm 32 bit machine #19

Open
saauda opened this issue Aug 3, 2018 · 2 comments
Open

building issue yocto for arm 32 bit machine #19

saauda opened this issue Aug 3, 2018 · 2 comments

Comments

@saauda
Copy link

saauda commented Aug 3, 2018

hello everybody,
I have a problem building yocto with meta-snappy
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-fslc-linux-gnueabi"
MACHINE = "imx6ulevk"
DISTRO = "fslc-framebuffer"
DISTRO_VERSION = "2.4"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "HEAD:9ed1178c87afce997d5a21cadae7461fb6bb48da"
meta-oe
meta-filesystems
meta-multimedia = "HEAD:352531015014d1957d6444d114f4451e241c4d23"
meta-freescale = "HEAD:a4158e3425a79720ddc4c02e76251d567bdceb51"
meta-freescale-3rdparty = "HEAD:a02324e27f7a7ac630dab616f46a8bad7fe2c071"
meta-freescale-distro = "HEAD:51756d1c2058139c8a21f89b86cfd8007b71b7f0"
meta-snappy = "master:0b97a631282b6b8350de10d0265d726e8c7d6f77"
meta-intel = "meta-intel-rocko-2.4:d68dda959b5bf6f90aa8e5c2f027be324bb68e14"

this is the Error:
ERROR: core-image-minimal-snapd-1.0-r0 do_rootfs: Could not invoke dnf. Command '////build/tmp/work/imx6ulevk-fslc-linux-gnueabi/core-image-minimal-snapd/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c////build/tmp/work/imx6ulevk-fslc-linux-gnueabi/core-image-minimal-snapd/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=////build/tmp/work/imx6ulevk-fslc-linux-gnueabi/core-image-minimal-snapd/1.0-r0/rootfs/etc/yum.repos.d --repofrompath=oe-repo,////build/tmp/work/imx6ulevk-fslc-linux-gnueabi/core-image-minimal-snapd/1.0-r0/oe-rootfs-repo --installroot=////build/tmp/work/imx6ulevk-fslc-linux-gnueabi/core-image-minimal-snapd/1.0-r0/rootfs --setopt=logdir=////build/tmp/work/imx6ulevk-fslc-linux-gnueabi/core-image-minimal-snapd/1.0-r0/temp --nogpgcheck install packagegroup-snapd snapd rpm apt bash openssh run-postinsts packagegroup-core-boot' returned 1:
Added oe-repo repo from /home/gianpa/fsl-community-bsp/build/tmp/work/imx6ulevk-fslc-linux-gnueabi/core-image-minimal-snapd/1.0-r0/oe-rootfs-repo
Last metadata expiration check: 0:00:00 ago on Fri 03 Aug 2018 03:58:09 PM UTC.
Error:
Problem 1: conflicting requests

  • nothing provides kernel-module-squashfs needed by snapd-2.32.2-r0.armv7at2hf_neon
    Problem 2: package packagegroup-snapd-1.0-r0.noarch requires snapd, but none of the providers can be installed
  • conflicting requests
  • nothing provides kernel-module-squashfs needed by snapd-2.32.2-r0.armv7at2hf_neon

ERROR: core-image-minimal-snapd-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: ////build/tmp/work/imx6ulevk-fslc-linux-gnueabi/core-image-minimal-snapd/1.0-r0/temp/log.do_rootfs.13830
ERROR: Task (/
///sources/meta-snappy/recipes-core/images/core-image-minimal-snapd.bb:do_rootfs) failed with exit code '1'

local.conf:

MACHINE ??= 'imx6ulevk'
DISTRO ?= 'fslc-framebuffer'
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"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
ROOT_HOME = "/root"
INHERIT += "rm_work"

exclude snapd in case you want to develop snapd recipes

RM_WORK_EXCLUDE += "snapd"
CORE_IMAGE_EXTRA_INSTALL += "openssh"
SSTATE_MIRRORS ?= "
file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n
file://.* file:///some/local/dir/sstate/PATH \n
file://.* http://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH \n
file://.* http://sstate.yoctoproject.org/2.4/PATH;downloadfilename=PATH \n
file://.* http://sstate.yoctoproject.org/2.5/PATH;downloadfilename=PATH \n
"
please help me, I've been trying for the last week but no results

@Xerusial
Copy link

Xerusial commented Aug 3, 2018

As always I recommend a post on forum.snapcraft.io

@Xerusial
Copy link

Xerusial commented Aug 3, 2018

The guys from snap have choosen this forum to be the main developer support platform and will answer you quickly

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants