On Mon Feb 23, 2026 at 4:39 PM CET, Adam Duskett via lists.openembedded.org
wrote:
> Completely rewritten in C++, there are several changes needed
> to facilitate moving from DNF4 to DNF5. Below are some significant
> items to note:
>
> - The "-v/--verbose" cli option is removed. As such, remove the argument
> everywhere it was called.[1]
>
> - the rpmverbosity cli option is replaced with --setopt=rpmverbosity
>
> - Change gpgcheck to pkg_gpgcheck as this is what the documentation
> recommends.[2]
>
> - --nogpgcheck is now --no-gpgchecks
>
> - --setopt=protect_running_kernel=False has to be set or else every dnf
> transaction complains that /boot/vmlinuz-${kernel_version} does not
> exist in /var/log/dnf5.log. There is an open issue on github[3] to enable
> the currently not-yet implemented `autocheck_running_kernel option`, but
> it has been open for quite some time and the protect_running_kernel
> option supresses the message.
>
> - Move --skip-broken to after the install argument as the global
> --skip-broken argument is removed.
>
> - /var/cache/dnf is replaced with /var/cache/libdnf5
>
> - Add `features += 'PACKAGECONFIG:append:pn-rpm = " sequoia"\n'`
> `features += 'PACKAGECONFIG:append:pn-librepo = " sequoia"\n'`
> to test_testimage_dnf as librepo currently does not work
> with gpgme.
>
> While DNF5 has many config options, unfortunately, the majority
> of them depends on sdbus-c++, which is not included in OE-core.
> However, the package is included in meta-openembedded, so it's
> best to include the PACKAGECONFIG options in the recipe and
> leave them off by default.
>
> 1: https://github.com/rpm-software-management/dnf5/issues/464
> 2: https://dnf5.readthedocs.io/en/latest/dnf5.conf.5.html
> 3: https://github.com/rpm-software-management/dnf5/issues/1255
> Signed-off-by: Adam Duskett <[email protected]>
> ---
Hi Adam,
Thanks for the new version.
We have a new warning on the autobuilder:
WARNING: core-image-minimal-1.0-r0 do_rootfs: [log_check] core-image-minimal:
found 1 warning message in the logfile:
[log_check] Warning: skipped OpenPGP checks for 38 packages from repository:
oe-repo
https://autobuilder.yoctoproject.org/valkyrie/#/builders/11/builds/3196
https://autobuilder.yoctoproject.org/valkyrie/#/builders/16/builds/3256
It appears with most tested configurations.
Also, we have an error that is probably related to this series:
Traceback (most recent call last):
File
"/srv/pokybuild/yocto-worker/musl-qemux86-64/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py",
line 35, in wrapped_f
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File
"/srv/pokybuild/yocto-worker/musl-qemux86-64/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/dnf.py",
line 76, in test_dnf_makecache
self.dnf_with_repo('makecache')
File
"/srv/pokybuild/yocto-worker/musl-qemux86-64/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/dnf.py",
line 71, in dnf_with_repo
output = self.dnf(" ".join(cmdlinerepoopts) + " --no-gpgchecks " + command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/srv/pokybuild/yocto-worker/musl-qemux86-64/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/dnf.py",
line 21, in dnf
status, output = self.target.run(command, 1500)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/srv/pokybuild/yocto-worker/musl-qemux86-64/build/layers/openembedded-core/meta/lib/oeqa/core/target/ssh.py",
line 98, in run
status, output = self._run(sshCmd, processTimeout, ignore_status, raw,
ignore_ssh_fails)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/srv/pokybuild/yocto-worker/musl-qemux86-64/build/layers/openembedded-core/meta/lib/oeqa/core/target/ssh.py",
line 70, in _run
raise AssertionError("ssh exited with status '255' for command "
AssertionError: ssh exited with status '255' for command '['ssh', '-l', 'root',
'-o', 'ServerAliveCountMax=2', '-o', 'ServerAliveInterval=30', '-o',
'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o',
'LogLevel=ERROR', '192.168.7.6', 'export PATH=/usr/sbin:/sbin:/usr/bin:/bin;
dnf --setopt=protect_running_kernel=False
--repofrompath=oe-testimage-repo-x86_64_v3,http://192.168.7.5:45047/x86_64_v3
--repofrompath=oe-testimage-repo-qemux86_64,http://192.168.7.5:45047/qemux86_64
--repofrompath=oe-testimage-repo-noarch,http://192.168.7.5:45047/noarch
--no-gpgchecks makecache']': this is likely an SSH failure
...
AssertionError: 2 != 0 : Log:
/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/qemux86_64-poky-linux-musl/core-image-full-cmdline/1.0/target_logs/dmesg_output.log
-----------------------
Central error: [ 14.872213] dnf[505]: segfault at 7f8f1b8ce000 ip
00007f8f1da5d014 sp 00007f8f1b895348 error 6 in
libc.so[7b014,7f8f1d9f4000+6a000] likely on CPU 0 (core 0, socket 0)
***********************
[ 1.347803] Freeing unused kernel image (text/rodata gap) memory: 268K
[ 1.349819] Freeing unused kernel image (rodata/data gap) memory: 1988K
[ 1.351736] Run /sbin/init as init process
[ 1.352864] with arguments:
[ 1.352865] /sbin/init
[ 1.352866] with environment:
[ 1.352867] HOME=/
[ 1.352867] TERM=linux
[ 1.357452] input: QEMU QEMU USB Tablet as
/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input1
[ 1.360534] hid-generic 0003:0627:0001.0001: input: USB HID v0.01 Mouse
[QEMU QEMU USB Tablet] on usb-0000:00:1d.7-1/input0
[ 1.401965] udevd[146]: starting version 3.2.14
[ 1.407271] udevd[147]: starting eudev-3.2.14
[ 1.477478] usb 1-2: new high-speed USB device number 3 using ehci-pci
[ 1.609892] input: QEMU QEMU USB Keyboard as
/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/0003:0627:0001.0002/input/input2
[ 1.663894] hid-generic 0003:0627:0001.0002: input: USB HID v1.11 Keyboard
[QEMU QEMU USB Keyboard] on usb-0000:00:1d.7-2/input0
[ 1.935163] EXT4-fs (vda): re-mounted af13441a-0b27-4d0e-b95b-cbcec53b242b.
[ 4.415509] NFSD: Unable to initialize client recovery tracking! (-110)
[ 4.417630] NFSD: Is nfsdcld running? If not, enable
CONFIG_NFSD_LEGACY_CLIENT_TRACKING.
[ 4.420057] NFSD: starting 90-second grace period (net effffff9)
[ 14.872213] dnf[505]: segfault at 7f8f1b8ce000 ip 00007f8f1da5d014 sp
00007f8f1b895348 error 6 in libc.so[7b014,7f8f1d9f4000+6a000] likely on CPU 0
(core 0, socket 0)
[ 14.872224] Code: 48 89 44 17 c9 48 89 44 17 d1 48 89 44 17 d9 48 89 f8 c3
f7 c7 0f 00 00 00 49 89 f8 48 89 44 17 f8 48 89 d1 75 0b 48 c1 e9 03 <f3> 48 ab
4c 89 c0 c3 31 d2 29 fa 83 e2 0f 48 89 07 48 89 47 08 48
...
RESULTS - dnf.DnfRepoTest.test_dnf_makecache: FAILED (0.54s)
RESULTS - parselogs.ParseLogsTest.test_parselogs: FAILED (2.93s)
Maybe only when building with musl:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/3284
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/3252
And finally we have this one:
ERROR: dnf-5.4.0.0-r0 do_package: Didn't find service unit
'dnf5-makecache.service', specified in SYSTEMD_SERVICE:dnf.
https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/3063
Can you have a look at these issues?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#231744):
https://lists.openembedded.org/g/openembedded-core/message/231744
Mute This Topic: https://lists.openembedded.org/mt/117958798/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-