From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: John Snow <jsnow@redhat.com>,
QEMU Developers <qemu-devel@nongnu.org>,
Thomas Huth <thuth@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Qemu-block <qemu-block@nongnu.org>, Peter Lieven <pl@dlhnet.de>
Subject: Re: block/nfs.c and libnfs vs Fedora 43 (was: Re: [PULL v2 00/19] Python patches)
Date: Thu, 26 Feb 2026 11:16:04 +0000 [thread overview]
Message-ID: <aaArdNcA8Iq9DrBA@redhat.com> (raw)
In-Reply-To: <CAFEAcA-zsPN0Pbg9USt2dWCD9+iONr=bCGDaxomysn3ubqx=gA@mail.gmail.com>
On Thu, Feb 26, 2026 at 10:44:58AM +0000, Peter Maydell wrote:
> On Tue, 24 Feb 2026 at 18:14, John Snow <jsnow@redhat.com> wrote:
> >
> > The following changes since commit afe653676dc6dfd49f0390239ff90b2f0052c2b8:
> >
> > Merge tag 'audio-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging (2026-02-23 14:03:50 +0000)
> >
> > are available in the Git repository at:
> >
> > https://gitlab.com/jsnow/qemu.git tags/python-pull-request
> >
> > for you to fetch changes up to 4e55bb4be53bc7a5e3fe1429af12d2e3090049a5:
> >
> > python: add setuptools and wheel dependencies (2026-02-24 13:11:29 -0500)
> >
> > ----------------------------------------------------------------
> >
> > ----------------------------------------------------------------
>
> Hi -- it looks like this pullreq may have broken the "coverity" job
> that (run on a separate schedule from main CI) does a QEMU build to
> upload to the coverity scan service:
>
> https://gitlab.com/qemu-project/qemu/-/jobs/13264087007
>
> It fails during QEMU configure:
>
> Dependency libnfs found: NO. Found 16.2.0 but need: '<6.0.0' ;
> matched: '>=1.9.3'
> Run-time dependency libnfs found: NO
> ../meson.build:1150:11: ERROR: Dependency lookup for libnfs with
> method 'pkgconfig' failed: Invalid version, need 'libnfs' ['<6.0.0']
> found '16.2.0'.
>
> I'm guessing this is because:
> * the coverity job runs on the amd64-fedora-container
> * we just upgraded our Fedora container to F43
> * coverity configures with --enable-libnfs
Do we really need to be hardcoding configure options ?
It is a pretty random subset of options, compared to what gets
enabled in the build.
Originally we had the hand-built Dockerfile, but now nearly all
our dockerfiles are auto-generated by lcitool, so we get the full
set of QEMU deps on every distro.
There is a risk that we break a meson/configure chck somewhere,
but IMHO that's not something our coverity needs to be validating
directly. If that happens and we later fix it, coverity would
pick up any flaws that weere introduced in the window it was
broken.
> * in meson.build we enforce libnfs < 6.0.0
> * F43 ships with a newer libnfs
>
> The "not libnfs v6" restriction was added by thuth in
> commit e2d98f257138 in 2024 because of a big API change in
> libnfs v6. The theory was that this was a temporary hack
> until somebody updated block/nfs.c to handle the new API.
> Over a year later, nobody has touched block/nfs.c...
>
> I guess for the moment we should fix the Coverity build
> by dropping the --enable-libnfs (and accepting that we
> don't scan block/nfs.c any more). For the longer term:
>
> * does anybody want to update block/nfs.c ?
> * or should we mark it as deprecated and plan to eventually
> drop it, given that the set of supported distros you can
> build it on is rapidly shrinking ?
MAINTAINERS file marks it as "maintained" but given the ongoing
brokeness that feels outdated :-(
In Fedora we've been carrying a patch to QEMU to enable libnfs
v6.
https://src.fedoraproject.org/rpms/qemu/blob/rawhide/f/0002-nfs-Add-support-for-libnfs-v2-api.patch
https://src.fedoraproject.org/rpms/qemu/blob/rawhide/f/0008-Revert-meson.build-Disallow-libnfs-v6-to-fix-the-bro.patch
I vaguely recall someone saying there was problem with this patch but I
can't remember details. We've had no bug reports AFAIR, but that could
just mean it has few/no users to begin with.
With regards,
Daniel
--
|: https://berrange.com ~~ https://hachyderm.io/@berrange :|
|: https://libvirt.org ~~ https://entangle-photo.org :|
|: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
next prev parent reply other threads:[~2026-02-26 11:17 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-24 18:14 [PULL v2 00/19] Python patches John Snow
2026-02-24 18:14 ` [PULL v2 01/19] python/mkvenv: create timestamp file for each group "ensured" John Snow
2026-02-24 18:14 ` [PULL v2 02/19] python/mkvenv: bump 'qemu.qmp' dependency for testdeps John Snow
2026-02-24 18:14 ` [PULL v2 03/19] python/mkvenv: add 'tooling' and 'functests' dependency groups John Snow
2026-02-24 18:14 ` [PULL v2 04/19] python/mkvenv: add mechanism to install local package(s) John Snow
2026-02-24 18:14 ` [PULL v2 05/19] meson, mkvenv: add functests custom target John Snow
2026-02-24 18:14 ` [PULL v2 06/19] tests: Use configured python to run GitLab iotests John Snow
2026-02-24 18:14 ` [PULL v2 07/19] iotests: tolerate being run outside of pyvenv John Snow
2026-02-24 18:14 ` [PULL v2 08/19] tests: use "run" script to execute device-crash-test John Snow
2026-02-24 18:14 ` [PULL v2 09/19] tests/lcitool: update lcitool to latest version John Snow
2026-02-24 18:14 ` [PULL v2 10/19] tests/lcitool: add python3 wheel and setuptools deps for qemu John Snow
2026-02-24 18:14 ` [PULL v2 11/19] python: add vendored qemu.qmp package John Snow
2026-02-24 18:14 ` [PULL v2 12/19] meson, mkvenv: make functional tests depend on functests group John Snow
2026-02-24 18:14 ` [PULL v2 13/19] meson, mkvenv: add qemu.git/python/qemu package to pythondeps.toml John Snow
2026-02-24 18:14 ` [PULL v2 14/19] configure: unconditionally install "tooling" group John Snow
2026-02-24 18:14 ` [PULL v2 15/19] tests: replace check-venv with vm-venv target John Snow
2026-02-24 18:14 ` [PULL v2 16/19] scripts: nudge users to use 'run' script for scripts that import qemu.qmp John Snow
2026-02-24 18:14 ` [PULL v2 17/19] python: delete qemu.qmp John Snow
2026-02-24 18:14 ` [PULL v2 18/19] python: update README.rst to reflect qemu.qmp's removal John Snow
2026-02-24 18:14 ` [PULL v2 19/19] python: add setuptools and wheel dependencies John Snow
2026-02-25 13:42 ` [PULL v2 00/19] Python patches Peter Maydell
2026-02-26 10:44 ` block/nfs.c and libnfs vs Fedora 43 (was: Re: [PULL v2 00/19] Python patches) Peter Maydell
2026-02-26 11:16 ` Daniel P. Berrangé [this message]
2026-02-26 11:22 ` Peter Maydell
2026-02-26 11:39 ` Peter Lieven
2026-02-26 12:41 ` block/nfs.c and libnfs vs Fedora 43 Thomas Huth
2026-02-26 13:06 ` Peter Lieven
2026-02-27 12:14 ` Markus Armbruster
2026-02-27 13:37 ` Peter Lieven
2026-02-27 13:49 ` Peter Maydell
2026-02-27 13:52 ` Thomas Huth
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=aaArdNcA8Iq9DrBA@redhat.com \
--to=berrange@redhat.com \
--cc=jsnow@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=pl@dlhnet.de \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.