Bug 14297

Summary: libdnf: could not detect OS or basearch, do_populate_sdk from core-image-sato
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Köry Maincent <kory.maincent>
Component: coreAssignee: Unassigned <unassigned>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Köry Maincent 2021-03-09 18:22:50 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/3188/steps/14/logs/stdio


ERROR: core-image-sato-1.0-r0 do_populate_sdk: Could not invoke dnf. Command '/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/sdk/image/usr/local/oecore-i686/sysroots/armv7vet2hf-neon-oe-linux-gnueabi/etc/dnf/dnf.conf --setopt=reposdir=/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/sdk/image/usr/local/oecore-i686/sysroots/armv7vet2hf-neon-oe-linux-gnueabi/etc/yum.repos.d --installroot=/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/sdk/image/usr/local/oecore-i686/sysroots/armv7vet2hf-neon-oe-linux-gnueabi --setopt=logdir=/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/temp --repofrompath=oe-repo,/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/oe-sdk-repo --nogpgcheck install dnf packagegroup-base-extended packagegroup-core-boot packagegroup-core-ssh-dropbear packagegroup-core-standalone-sdk-target packagegroup-core-x11-base packagegroup-core-x11-sato psplash rpm run-postinsts target-sdk-provides-dummy' returned 1:
DNF version: 4.6.0
cachedir: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/sdk/image/usr/local/oecore-i686/sysroots/armv7vet2hf-neon-oe-linux-gnueabi/var/cache/dnf
Added oe-repo repo from /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/oe-sdk-repo
User-Agent: falling back to 'libdnf': could not detect OS or basearch
repo: using cache for: oe-repo
oe-repo: using metadata from Mon 08 Mar 2021 06:41:00 PM UTC.
Last metadata expiration check: 0:00:01 ago on Mon 08 Mar 2021 06:41:07 PM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error: 
 Problem 1: package matchbox-terminal-0.2-r0.armv7vet2hf_neon requires libgtk-3.so.0, but none of the providers can be installed
  - package matchbox-terminal-0.2-r0.armv7vet2hf_neon requires libgtk-3.0 >= 3.24.25, but none of the providers can be installed
  - package packagegroup-core-x11-base-1.0-r1.noarch requires matchbox-terminal, but none of the providers can be installed
  - package libgtk-3.0-3.24.25-r0.armv7vet2hf_neon requires libfontconfig.so.1, but none of the providers can be installed
  - package libgtk-3.0-3.24.25-r0.armv7vet2hf_neon requires libfontconfig1 >= 2.13.1, but none of the providers can be installed
  - conflicting requests
  - nothing provides libuuid1 >= 2.36.2 needed by libfontconfig1-2.13.1-r0.armv7vet2hf_neon
 Problem 2: package packagegroup-core-x11-sato-apps-1.0-r33.qemuarm requires gst-examples, but none of the providers can be installed
  - package gst-examples-1.18.3-r0.armv7vet2hf_neon requires libgtk-3.so.0, but none of the providers can be installed
  - package gst-examples-1.18.3-r0.armv7vet2hf_neon requires libgdk-3.so.0, but none of the providers can be installed
  - package gst-examples-1.18.3-r0.armv7vet2hf_neon requires libgtk-3.0 >= 3.24.25, but none of the providers can be installed
  - package packagegroup-core-x11-sato-1.0-r33.qemuarm requires packagegroup-core-x11-sato-apps, but none of the providers can be installed
  - package libgtk-3.0-3.24.25-r0.armv7vet2hf_neon requires libfontconfig.so.1, but none of the providers can be installed
  - package libgtk-3.0-3.24.25-r0.armv7vet2hf_neon requires libfontconfig1 >= 2.13.1, but none of the providers can be installed
  - conflicting requests
  - nothing provides libuuid1 >= 2.36.2 needed by libfontconfig1-2.13.1-r0.armv7vet2hf_neon
(try to add '--skip-broken' to skip uninstallable packages)
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/temp/log.do_populate_sdk.1359870
NOTE: recipe core-image-sato-1.0-r0: task do_populate_sdk: Failed
ERROR: Task (/home/pokybuild/yocto-worker/qemuarm-oecore/build/meta/recipes-sato/images/core-image-sato.bb:do_populate_sdk) failed with exit code '1'
Comment 1 Köry Maincent 2021-03-11 14:02:41 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1607/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1608/steps/11/logs/stdio

Seems caused by the util-linux patch from master-next according to this message:
  - nothing provides libuuid1 >= 2.36.2 needed by libaprutil-1-0-1.6.1-r0.cortexa57
Comment 2 Randy MacLeod 2021-03-11 16:26:44 UTC
fixed by a patch update on the email list.