# (Yocto Build Conflicts) ConnectCore i.MX6UL Starter Failing to build image because of package conflicts

**URL:** <https://forums.digi.com/t/yocto-build-conflicts-connectcore-i-mx6ul-starter-failing-to-build-image-because-of-package-conflicts/19405>\
**Category:** Linux\
**Tags:** connectcore, ubuntu, bitbake, ccimx6ulsbc, yocto\
**Created:** [April 24, 2018, 11:12am UTC](https://forums.digi.com/t/yocto-build-conflicts-connectcore-i-mx6ul-starter-failing-to-build-image-because-of-package-conflicts/19405 "2018-04-24T11:12:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AES\_Dev](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@AES\_Dev](https://forums.digi.com/u/AES_Dev)\
**Post date:** [April 24, 2018, 11:12am UTC](https://forums.digi.com/t/yocto-build-conflicts-connectcore-i-mx6ul-starter-failing-to-build-image-because-of-package-conflicts/19405/1 "2018-04-24T11:12:08Z")

</div>

I’m attempting to build a custom image for my ConnectCore Start board. I am following the instructions found in this guide:

> **[90001423.pdf](https://docs.digi.com/resources/documentation/digidocs/pdfs/90001423.pdf)**
>
> 635.99 KB

I have edited my local.conf file as such to include a variety of extra development tools (modifications below). However, the build fails (error below the file contents).

* * *

* * *

EXTRA\_IMAGE\_FEATURES ?= “debug-tweaks”  
EXTRA\_IMAGE\_FEATURES += “dbg-pkgs” #ADDITIONAL FEATURE/PACKAGE  
EXTRA\_IMAGE\_FEATURES += “dev-pkgs” #ADDITIONAL FEATURE/PACKAGE  
EXTRA\_IMAGE\_FEATURES += “tools-sdk” #ADDITIONAL FEATURE/PACKAGE  
EXTRA\_IMAGE\_FEATURES += “tools-debug” #ADDITIONAL FEATURE/PACKAGE  
EXTRA\_IMAGE\_FEATURES += “eclipse-debug” #ADDITIONAL FEATURE/PACKAGE  
EXTRA\_IMAGE\_FEATURES += “tools-profile” #ADDITIONAL FEATURE/PACKAGE  
EXTRA\_IMAGE\_FEATURES += “tools-testapps” #ADDITIONAL FEATURE/PACKAGE

# 

#Extra features to support WiscSee/WiscSim

# 

IMAGE\_INSTALL\_append = " btrfs-tools" #ADDITIONAL FEATURE/PACKAGE  
IMAGE\_INSTALL\_append = " f2fs-tools" #ADDITIONAL FEATURE/PACKAGE  
IMAGE\_INSTALL\_append = " python-bitarray" #ADDITIONAL FEATURE/PACKAGE  
IMAGE\_INSTALL\_append = " blktrace" #ADDITIONAL FEATURE/PACKAGE  
IMAGE\_INSTALL\_append = " xfsprogs" #ADDITIONAL FEATURE/PACKAGE  
IMAGE\_INSTALL\_append = " python-pip" #ADDITIONAL FEATURE/PACKAGE

* * *

* * *

upon invoking bitbake, after getting ~80% through with the build, it fails while invoking dnf (error below):

* * *

* * *

aes\_local@aes-local-VirtualBox:~/workspace/ccimx6ulstarter/conf$ bitbake core-image-base  
NOTE: Started PRServer with DBfile: /home/aes\_local/workspace/ccimx6ulstarter/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 42907, PID: 22733  
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:01:53  
Parsing of 2212 .bb files complete (0 cached, 2212 parsed). 3050 targets, 158 skipped, 0 masked, 0 errors.  
NOTE: Resolving any missing task queue dependencies

Build Configuration:  
BB\_VERSION = “1.36.0”  
BUILD\_SYS = “x86\_64-linux”  
NATIVELSBSTRING = “universal”  
TARGET\_SYS = “arm-dey-linux-gnueabi”  
MACHINE = “ccimx6ulstarter”  
DISTRO = “dey”  
DISTRO\_VERSION = “2.4-r1”  
TUNE\_FEATURES = “arm armv7ve vfp thumb neon callconvention-hard cortexa7”  
TARGET\_FPU = “hard”  
meta  
meta-poky  
meta-yocto-bsp = “HEAD:fdeecc901196bbccd7c5b1ea4268a2cf56764a62”  
meta-oe  
meta-python  
meta-filesystems  
meta-networking  
meta-webserver = “HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57”  
meta-qt5 = “HEAD:bf68f8b8f5a31c9814a09f6c4e145dda7cdd8634”  
meta-swupdate = “HEAD:ca89e377482015ff9807179fc224cc2f5f9c65a6”  
meta-freescale = “HEAD:d6141ea291a1ac9ab8fb1dd1110d408f840fda57”  
meta-fsl-demos = “HEAD:0ec6d7e206705702b5b534611754de0787f92b72”  
meta-digi-arm  
meta-digi-dey = “HEAD:1246ecff2cecea9247d94f36385608ac844d7abb”

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:18  
NOTE: Executing SetScene Tasks  
NOTE: Executing RunQueue Tasks  
ERROR: core-image-base-1.0-r0 do\_rootfs: Could not invoke dnf. Command ‘/home/aes\_local/workspace/ccimx6ulstarter/tmp/work/ccimx6ulstarter-dey-linux-gnueabi/core-image-base/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c /home/aes\_local/workspace/ccimx6ulstarter/tmp/work/ccimx6ulstarter-dey-linux-gnueabi/core-image-base/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/aes\_local/workspace/ccimx6ulstarter/tmp/work/ccimx6ulstarter-dey-linux-gnueabi/core-image-base/1.0-r0/rootfs/etc/yum.repos.d --repofrompath=oe-repo,/home/aes\_local/workspace/ccimx6ulstarter/tmp/work/ccimx6ulstarter-dey-linux-gnueabi/core-image-base/1.0-r0/oe-rootfs-repo --installroot=/home/aes\_local/workspace/ccimx6ulstarter/tmp/work/ccimx6ulstarter-dey-linux-gnueabi/core-image-base/1.0-r0/rootfs --setopt=logdir=/home/aes\_local/workspace/ccimx6ulstarter/tmp/work/ccimx6ulstarter-dey-linux-gnueabi/core-image-base/1.0-r0/temp --allowerasing -x udev-cache --nogpgcheck install packagegroup-core-tools-profile xfsprogs packagegroup-dey-bluetooth packagegroup-dey-network packagegroup-base-extended packagegroup-core-standalone-sdk-target python-bitarray packagegroup-dey-wireless rpm packagegroup-core-boot packagegroup-core-ssh-dropbear run-postinsts dnf psplash btrfs-tools python-pip packagegroup-dey-audio packagegroup-core-eclipse-debug packagegroup-core-sdk packagegroup-core-tools-debug packagegroup-core-tools-testapps f2fs-tools blktrace locale-base-en-us locale-base-en-gb’ returned 1:  
Added oe-repo repo from /home/aes\_local/workspace/ccimx6ulstarter/tmp/work/ccimx6ulstarter-dey-linux-gnueabi/core-image-base/1.0-r0/oe-rootfs-repo  
Last metadata expiration check: 0:00:01 ago on Tue 17 Apr 2018 10:15:58 PM UTC.  
Error:  
Problem: package packagegroup-dey-core-1.0-r0.0.ccimx6ulstarter requires networkmanager, but none of the providers can be installed

- package networkmanager-1.8.2-r0.0.cortexa7hf\_neon conflicts with connman provided by connman-1.34-r0.0.cortexa7hf\_neon
- package packagegroup-distro-base-1.0-r83.0.ccimx6ulstarter requires packagegroup-dey-core, but none of the providers can be installed
- package connman-client-1.34-r0.0.cortexa7hf\_neon requires connman, but none of the providers can be installed
- package packagegroup-base-1.0-r83.0.ccimx6ulstarter requires packagegroup-distro-base, but none of the providers can be installed
- package packagegroup-core-tools-testapps-1.0-r2.0.ccimx6ulstarter requires connman-client, but none of the providers can be installed
- package packagegroup-base-extended-1.0-r83.0.ccimx6ulstarter requires packagegroup-base, but none of the providers can be installed
- conflicting requests

ERROR: core-image-base-1.0-r0 do\_rootfs: Function failed: do\_rootfs  
ERROR: Logfile of failure stored in: /home/aes\_local/workspace/ccimx6ulstarter/tmp/work/ccimx6ulstarter-dey-linux-gnueabi/core-image-base/1.0-r0/temp/log.do\_rootfs.22873  
ERROR: Task (/usr/local/dey-2.4/sources/poky/meta/recipes-core/images/core-image-base.bb:do\_rootfs) failed with exit code ‘1’  
NOTE: Tasks Summary: Attempted 5455 tasks of which 5423 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:  
/usr/local/dey-2.4/sources/poky/meta/recipes-core/images/core-image-base.bb:do\_rootfs  
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

* * *

* * *

I also modified package\_manager.py in /dey-2.4/sources/poky/meta/lib/oe/package\_manager.py to invoke the ‘–allowerasing’ flag with dnf to try and override the conflicts, however it still errors out here. What am I missing?

Thank you

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [April 25, 2018, 2:27pm UTC](https://forums.digi.com/t/yocto-build-conflicts-connectcore-i-mx6ul-starter-failing-to-build-image-because-of-package-conflicts/19405/2 "2018-04-25T14:27:34Z")

</div>

looks like the bug from here:  
[https://bugzilla.redhat.com/show\_bug.cgi?id=1441636](https://bugzilla.redhat.com/show_bug.cgi?id=1441636)  
Did you try the workaround?

---

<div class="post-metadata">

**Author:** ![AES\_Dev](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@AES\_Dev](https://forums.digi.com/u/AES_Dev)\
**Post date:** [May 2, 2018, 3:52pm UTC](https://forums.digi.com/t/yocto-build-conflicts-connectcore-i-mx6ul-starter-failing-to-build-image-because-of-package-conflicts/19405/3 "2018-05-02T15:52:31Z")

</div>

I ended up going and creating a completely new project and pulling in the latest DIGI Yocto 2.4 packages and building everything from scratch. Everything seemed to have compiled fine after that.
