Il ven 19 mag 2023, 16:39 Peter Maydell <peter.mayd...@linaro.org> ha
scritto:

> On Thu, 18 May 2023 at 12:41, Paolo Bonzini <pbonz...@redhat.com> wrote:
> > ----------------------------------------------------------------
> > * kvm: enable dirty ring for arm64
> > * target/i386: new features
> > * target/i386: AVX fixes
> > * configure: create a python venv unconditionally
> > * meson: bump to 0.63.0 and move tests from configure
> > * meson: Pass -j option to sphinx
> > * drop support for Python 3.6
> > * fix check-python-tox
> > * fix "make clean" in the source directory
>
> Hi; this seems to have broken builds from not-clean on my system.
> Blowing away the build tree and recreating it from scratch
> works, as does manually re-running configure,
> but the Makefile ought to re-run parts of configure
> etc when it needs to.
>

Can you send your config-host.mak after a failed rebuild? I think what's
happening is that the path to meson has changed but Makefile still tries
the old one (which could be the system meson in /usr/bin).

If so, you should be able to get out of the breakage by adding

MESON=pyvenv/bin/meson

after the "-include config-host.mak" line.

Paolo


> It does seem to try to, but (unlike a manual configure re-run)
> it doesn't prevent the failure.
>
> You can see that it says it needs to run configure, and mkvenv
> claims to be installing meson 0.6.3, but then the actual build
> says it didn't work. (A second run of 'make' at this point doesn't
> do the rerun of configure but meson fails in the same way.)
>
> Other weird things:
> (1) the error message is printed three times
> (2) "warn: ignoring non-existent submodule meson"
>
> $ make -C build/x86-tgts
> make: Entering directory
> '/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86-tgts'
> config-host.mak is out-of-date, running configure
> python determined to be '/usr/bin/python3'
> python version: Python 3.10.6
> mkvenv: Creating non-isolated virtual environment at 'pyvenv'
> mkvenv: checking for meson>=0.63.0
> mkvenv: installing meson>=0.63.0
> mkvenv: checking for sphinx>=1.6.0, sphinx-rtd-theme>=0.5.0
> /usr/bin/ninja  build.ninja && touch build.ninja.stamp
> [0/1] Regenerating build files.
> The Meson build system
> Version: 0.61.5
> Source dir: /mnt/nvmedisk/linaro/qemu-from-laptop/qemu
> Build dir: /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86-tgts
> Build type: native build
>
> ../../meson.build:1:0: ERROR: Meson version is 0.61.5 but project
> requires >=0.63.0
>
> A full log can be found at
>
> /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86-tgts/meson-logs/meson-log.txt
> FAILED: build.ninja
> /usr/bin/python3
> /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/meson/meson.py --internal
> regenerate /mnt/nvmedisk/linaro/qemu-from-laptop/qemu
> /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86-tgts --backend
> ninja
> ninja: error: rebuilding 'build.ninja': subcommand failed
>   GIT     ui/keycodemapdb meson tests/fp/berkeley-testfloat-3
> tests/fp/berkeley-softfloat-3 dtc
> warn: ignoring non-existent submodule meson
> /usr/bin/ninja  build.ninja && touch build.ninja.stamp
> [0/1] Regenerating build files.
> The Meson build system
> Version: 0.61.5
> Source dir: /mnt/nvmedisk/linaro/qemu-from-laptop/qemu
> Build dir: /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86-tgts
> Build type: native build
>
> ../../meson.build:1:0: ERROR: Meson version is 0.61.5 but project
> requires >=0.63.0
>
> A full log can be found at
>
> /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86-tgts/meson-logs/meson-log.txt
> FAILED: build.ninja
> /usr/bin/python3
> /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/meson/meson.py --internal
> regenerate /mnt/nvmedisk/linaro/qemu-from-laptop/qemu
> /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86-tgts --backend
> ninja
> ninja: error: rebuilding 'build.ninja': subcommand failed
>   GIT     ui/keycodemapdb tests/fp/berkeley-testfloat-3
> tests/fp/berkeley-softfloat-3 dtc
> [0/1] Regenerating build files.
> The Meson build system
> Version: 0.61.5
> Source dir: /mnt/nvmedisk/linaro/qemu-from-laptop/qemu
> Build dir: /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86-tgts
> Build type: native build
>
> ../../meson.build:1:0: ERROR: Meson version is 0.61.5 but project
> requires >=0.63.0
>
> A full log can be found at
>
> /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86-tgts/meson-logs/meson-log.txt
> ninja: error: rebuilding 'build.ninja': subcommand failed
> FAILED: build.ninja
> /usr/bin/python3
> /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/meson/meson.py --internal
> regenerate /mnt/nvmedisk/linaro/qemu-from-laptop/qemu
> /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86-tgts --backend
> ninja
> make: *** [Makefile:165: run-ninja] Error 1
> make: Leaving directory
> '/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86-tgts'
>
>
> thanks
> -- PMM
>
>

Reply via email to