public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <adam.duskett@amarulasolutions.com>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v5 7/8] dnf: Upgrade to 5.4.0.0
Date: Tue, 24 Feb 2026 07:51:19 +0100	[thread overview]
Message-ID: <DGMZR9E83Q30.1THN2QXSLJ8P4@bootlin.com> (raw)
In-Reply-To: <20260223153929.2641007-7-adam.duskett@amarulasolutions.com>

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 <adam.duskett@amarulasolutions.com>
> ---

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



  reply	other threads:[~2026-02-24  6:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23 15:39 [PATCH v5 1/8] rpm/rootfs.py: ensure exit 1 has a word boundary Adam Duskett
2026-02-23 15:39 ` [PATCH v5 2/8] signing-keys.bb: Fix DISTRO_CODENAME truncation Adam Duskett
2026-02-23 15:39 ` [PATCH v5 3/8] libtoml11: new recipe Adam Duskett
2026-02-23 15:39 ` [PATCH v5 4/8] libsolv: explicitly enable comps for rpm packageconfig Adam Duskett
2026-02-23 15:39 ` [PATCH v5 5/8] librepo: upgrade 1.20.0 -> 1.21.0 Adam Duskett
2026-02-23 15:39 ` [PATCH v5 6/8] librepo: add PACKAGECONFIG[sequoia] Adam Duskett
2026-02-23 15:39 ` [PATCH v5 7/8] dnf: Upgrade to 5.4.0.0 Adam Duskett
2026-02-24  6:51   ` Mathieu Dubois-Briand [this message]
2026-02-23 15:39 ` [PATCH v5 8/8] libdnf: remove recipe Adam Duskett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DGMZR9E83Q30.1THN2QXSLJ8P4@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=adam.duskett@amarulasolutions.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox