[yocto] Help on mono yocto build

bing mao bing.mao at gmail.com
Thu Sep 20 07:15:30 PDT 2018


Hi Yocto,
We are going to use mono on Yocto, I followed the instructions to build
mono and found following issue. I have searched on internet, I found
similar issue reported, but didn't find helpful answer, could you share me
some light on this?

Thanks,
Bing

mono-complete has been installed on my ubuntu-16.4, ad below is my mono
version on build host.

cmaobi at ubuntu:~/poky/build$ mono --version
Mono JIT compiler version 5.14.0.177 (tarball Mon Aug  6 09:13:43 UTC 2018)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
www.mono-project.com
TLS:           __thread
SIGSEGV:       altstack
Notifications: epoll
Architecture:  amd64
Disabled:      none
Misc:          softdebug
Interpreter:   yes
LLVM:          yes(3.6.0svn-mono-/)
GC:            sgen (concurrent by default)


==================================
Build Configuration:
BB_VERSION           = "1.39.1"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "i586-poky-linux"
MACHINE              = "qemux86"
DISTRO               = "poky"
DISTRO_VERSION       = "2.5+snapshot-20180920"
TUNE_FEATURES        = "m32 i586"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp       = "HEAD:b78597a4e038ed64b379f11257002e5a5f24886f"
meta-mono            = "HEAD:05edfa6067b21e308b977a3116e07756e88ab086"
meta-oe              = "HEAD:a06c29be2f5bc204f965ee07298c34232c5c39fc"

Initialising tasks: 100%
|#####################################################################################################|
Time: 0:00:04
Sstate summary: Wanted 22 Found 19 Missed 3 Current 2140 (86% match, 99%
complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/4.6.2-api/Mono.Debugger.Soft.dll contained in package
mono-api-4.6.2 requires mono(Mono.Cecil), but no providers found in
RDEPENDS_mono-api-4.6.2? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/mono-configuration-crypto/4.5/Mono.Configuration.Crypto.dll
contained in package mono-configuration-crypto requires
mono(System.Configuration), but no providers found in
RDEPENDS_mono-configuration-crypto? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/mono-configuration-crypto/4.5/mono-configuration-crypto.exe
contained in package mono-configuration-crypto requires mono(System), but
no providers found in RDEPENDS_mono-configuration-crypto? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/mono-configuration-crypto/4.5/mono-configuration-crypto.exe
contained in package mono-configuration-crypto requires mono(mscorlib), but
no providers found in RDEPENDS_mono-configuration-crypto? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/mono-configuration-crypto/4.5/Mono.Configuration.Crypto.dll
contained in package mono-configuration-crypto requires
mono(Mono.Security), but no providers found in
RDEPENDS_mono-configuration-crypto? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/mono-configuration-crypto/4.5/Mono.Configuration.Crypto.dll
contained in package mono-configuration-crypto requires mono(System.Xml),
but no providers found in RDEPENDS_mono-configuration-crypto? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/4.0-api/System.Net.Http.Formatting.dll contained in package
mono-libs-4.0 requires mono(System.Net.Http), but no providers found in
RDEPENDS_mono-libs-4.0? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/4.0-api/Mono.Debugger.Soft.dll contained in package
mono-libs-4.0 requires mono(Mono.Cecil), but no providers found in
RDEPENDS_mono-libs-4.0? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/4.5/Microsoft.CodeAnalysis.Scripting.dll contained in package
mono-libs-4.5 requires mono(System.Runtime.Loader), but no providers found
in RDEPENDS_mono-libs-4.5? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/4.7-api/Mono.Debugger.Soft.dll contained in package
mono-api-4.7 requires mono(Mono.Cecil), but no providers found in
RDEPENDS_mono-api-4.7? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/3.5-api/Microsoft.Build.Engine.dll contained in package
mono-libs-3.5 requires mono(System.Xml), but no providers found in
RDEPENDS_mono-libs-3.5? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/3.5-api/Microsoft.Build.Tasks.v3.5.dll contained in package
mono-libs-3.5 requires mono(System), but no providers found in
RDEPENDS_mono-libs-3.5? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/3.5-api/Microsoft.Build.Framework.dll contained in package
mono-libs-3.5 requires mono(mscorlib), but no providers found in
RDEPENDS_mono-libs-3.5? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/gac/Microsoft.Build.Framework/14.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll
contained in package mono-gac requires mono(mscorlib), but no providers
found in RDEPENDS_mono-gac? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/4.6.1-api/Mono.Debugger.Soft.dll contained in package
mono-api-4.6.1 requires mono(Mono.Cecil), but no providers found in
RDEPENDS_mono-api-4.6.1? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/4.5.2-api/Mono.Debugger.Soft.dll contained in package
mono-api-4.5.2 requires mono(Mono.Cecil), but no providers found in
RDEPENDS_mono-api-4.5.2? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/4.6-api/Mono.Debugger.Soft.dll contained in package
mono-api-4.6 requires mono(Mono.Cecil), but no providers found in
RDEPENDS_mono-api-4.6? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/4.5.1-api/Mono.Debugger.Soft.dll contained in package
mono-api-4.5.1 requires mono(Mono.Cecil), but no providers found in
RDEPENDS_mono-api-4.5.1? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/2.0-api/System.Net.Http.Formatting.dll contained in package
mono-libs-2.0 requires mono(System.Net.Http), but no providers found in
RDEPENDS_mono-libs-2.0? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/2.0-api/Mono.Debugger.Soft.dll contained in package
mono-libs-2.0 requires mono(Mono.Cecil), but no providers found in
RDEPENDS_mono-libs-2.0? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/2.0-api/System.Numerics.Vectors.dll contained in package
mono-libs-2.0 requires mono(System.Numerics), but no providers found in
RDEPENDS_mono-libs-2.0? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/2.0-api/System.Web.Mvc.dll contained in package mono-libs-2.0
requires mono(System.Runtime.Caching), but no providers found in
RDEPENDS_mono-libs-2.0? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA Issue:
/usr/lib/mono/xbuild/Microsoft/NuGet/Microsoft.NuGet.Build.Tasks.dll
contained in package mono-xbuild requires mono(mscorlib), but no providers
found in RDEPENDS_mono-xbuild? [file-rdeps]
ERROR: mono-5.12.0.226-r0 do_package_qa: QA run found fatal errors. Please
consider fixing them.
ERROR: mono-5.12.0.226-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
/home/cmaobi/poky/build/tmp/work/i586-poky-linux/mono/5.12.0.226-r0/temp/log.do_package_qa.105329
ERROR: Task
(/home/cmaobi/poky/meta-mono/recipes-mono/mono/mono_5.12.0.226.bb:do_package_qa)
failed with exit code '1'
ERROR: core-image-mono-1.0-r0 do_rootfs: Could not invoke dnf. Command
'/home/cmaobi/poky/build/tmp/work/qemux86-poky-linux/core-image-mono/1.0-r0/recipe-sysroot-native/usr/bin/dnf
-v --rpmverbosity=debug -y -c
/home/cmaobi/poky/build/tmp/work/qemux86-poky-linux/core-image-mono/1.0-r0/rootfs/etc/dnf/dnf.conf
--setopt=reposdir=/home/cmaobi/poky/build/tmp/work/qemux86-poky-linux/core-image-mono/1.0-r0/rootfs/etc/yum.repos.d
--repofrompath=oe-repo,/home/cmaobi/poky/build/tmp/work/qemux86-poky-linux/core-image-mono/1.0-r0/oe-rootfs-repo
--installroot=/home/cmaobi/poky/build/tmp/work/qemux86-poky-linux/core-image-mono/1.0-r0/rootfs
--setopt=logdir=/home/cmaobi/poky/build/tmp/work/qemux86-poky-linux/core-image-mono/1.0-r0/temp
--nogpgcheck install packagegroup-core-x11-sato run-postinsts
packagegroup-core-boot mono rpm psplash dnf mono-helloworld
packagegroup-core-x11-base packagegroup-core-ssh-dropbear
packagegroup-base-extended tzdata locale-base-en-us locale-base-en-gb'
returned 1:
DNF version: 2.7.5
cachedir:
/home/cmaobi/poky/build/tmp/work/qemux86-poky-linux/core-image-mono/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from
/home/cmaobi/poky/build/tmp/work/qemux86-poky-linux/core-image-mono/1.0-r0/oe-rootfs-repo
repo: using cache for: oe-repo
not found deltainfo for: oe-repo
not found updateinfo for: oe-repo
oe-repo: using metadata from Thu 20 Sep 2018 02:11:39 PM UTC.
Last metadata expiration check: 0:00:01 ago on Thu 20 Sep 2018 02:11:40 PM
UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error:
 Problem 1: package mono-5.12.0.226-r0.i586 requires mono-libs-4.5, but
none of the providers can be installed
  - conflicting requests
  - nothing provides mono(System.Collections.Immutable) = 1.2.0.0 needed by
mono-libs-4.5-5.12.0.226-r0.i586
 Problem 2: package mono-helloworld-1.2-r0.i586 requires mono, but none of
the providers can be installed
  - package mono-5.12.0.226-r0.i586 requires mono-libs-4.5, but none of the
providers can be installed
  - conflicting requests
  - nothing provides mono(System.Collections.Immutable) = 1.2.0.0 needed by
mono-libs-4.5-5.12.0.226-r0.i586

ERROR: core-image-mono-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in:
/home/cmaobi/poky/build/tmp/work/qemux86-poky-linux/core-image-mono/1.0-r0/temp/log.do_rootfs.105326
ERROR: Task
(/home/cmaobi/poky/meta-mono/recipes-mono/images/core-image-mono.bb:do_rootfs)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 5908 tasks of which 5906 didn't need to be
rerun and 2 failed.

Summary: 2 tasks failed:
  /home/cmaobi/poky/meta-mono/recipes-mono/mono/mono_5.12.0.226.bb:
do_package_qa
  /home/cmaobi/poky/meta-mono/recipes-mono/images/core-image-mono.bb:
do_rootfs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180920/bafe699e/attachment-0001.html>


More information about the yocto mailing list