24 Aug 2025 |
Artturin | * Nvm you meant the normal issue, not the cross issue | 18:35:13 |
tpw_rules | yeah this is broken somewhere in python hell | 18:36:30 |
dramforever | what on earth is going on
$ pyvenv/bin/meson --version
1.5.0
| 18:41:18 |
dramforever | qemu-user is being built with meson 1.5.0 | 18:41:28 |
Alyssa Ross | Is it using QEMU's vendored Meson? | 18:46:46 |
Alyssa Ross | We set a flag to ask it not to, but maybe it is anyway | 18:46:54 |
Alyssa Ross | actually I don't see that flag any more | 18:47:30 |
Alyssa Ross | maybe there's some other way we need to be doing that | 18:48:35 |
Alyssa Ross | QEMU 10.0.0 vendors 1.8.1 though | 18:49:40 |
dramforever | i forced enableDocs to true and that seems to have fixed it??? | 18:49:40 |
dramforever | (haven't built rest of qemu) | 18:49:46 |
Alyssa Ross | * QEMU 10.0.0 vendors 1.8.1 though | 18:49:54 |
Alyssa Ross | 10.1.0 does, sorry | 18:50:01 |
Alyssa Ross | So https://github.com/NixOS/nixpkgs/pull/428258 might also fix it | 18:50:12 |
Alyssa Ross | But we should figure out how to stop using the vendored Meson if that's what's happening | 18:50:22 |
dramforever | so https://github.com/NixOS/nixpkgs/pull/431074 did actually break it | 18:51:13 |
dramforever | status: trying this
# Don't change this to python3 and python3.pkgs.*, breaks cross-compilation
- (python3Packages.python.withPackages (ps: with ps; [ distlib ]))
+ python3Packages.python
+ python3Packages.distlib
| 18:51:35 |
Alyssa Ross | Maybe there's just no way to not use vendored Meson any more? | 18:52:01 |
dramforever | no, qemu is built with non-vendored fine | 18:52:33 |
dramforever | at least it's 1.8.3 | 18:52:38 |
Alyssa Ross | If a package is available for the chosen interpreter, ``configure``
prepares a small script that invokes it from the venv itself\ [#distlib]_.
If not, ``configure`` can also optionally install dependencies in the
virtual environment with ``pip``, either from wheels in ``python/wheels``
or by downloading the package with PyPI. Downloading can be disabled with
``--disable-download``; and anyway, it only happens when a ``configure``
option (currently, only ``--enable-docs``) is explicitly enabled but
the dependencies are not present.
| 18:52:42 |
Alyssa Ross | So docs does make a difference? | 18:52:50 |
Alyssa Ross | * If a package is available for the chosen interpreter, ``configure``
prepares a small script that invokes it from the venv itself\ [#distlib]_.
If not, ``configure`` can also optionally install dependencies in the
virtual environment with ``pip``, either from wheels in ``python/wheels``
or by downloading the package with PyPI. Downloading can be disabled with
``--disable-download``; and anyway, it only happens when a ``configure``
option (currently, only ``--enable-docs``) is explicitly enabled but
the dependencies are not present.
| 18:52:58 |
Alyssa Ross | does --disable-download make a difference then? | 18:53:15 |
dramforever | yes, this fixes qemu-user | 18:54:40 |
dramforever | testing full qemu rn | 18:54:43 |
dramforever | sorry, i meant https://github.com/nixos/nixpkgs/commit/e651d115d5f2a6d37661578370993d345d97c71c did break it | 18:55:31 |
dramforever | appliable diff https://fars.ee/B0XU | 18:56:48 |
dramforever | i suspect hexa just did not see the python3Packages below | 18:57:53 |
dramforever | and decided to just wrap it while not knowing what's going on | 18:58:03 |