NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.45k stars 12.95k forks source link

Build failure: python3.11-dbus-python-1.3.2-aarch64-unknown-linux #309395

Open colemickens opened 1 month ago

colemickens commented 1 month ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. try to build this from nixos-unstable (e9be4245)

nix build -L github:nixos/nixpkgs/nixos-unstable#legacyPackages.x86_64-linux.pkgsCross.aarch64-multiplatform.python3Packages.dbus-python

Build log

       last 10 log lines:
       > Run-time dependency python found: YES 3.11
       > Configuring TestSuitePythonService.service using configuration
       > Configuring tmp-session-bus.conf using configuration
       > Program dbus-run-session found: NO
       >
       > ../test/meson.build:72:19: ERROR: Program 'dbus-run-session' not found or not executable
       >
       > A full log can be found at /build/dbus-python-1.3.2/_meson-build/meson-logs/meson-log.txt
       >
       > ERROR Backend subprocess exited when trying to invoke build_wheel
       For full logs, run 'nix log /nix/store/ggv0x9yrgas3rqqy33fg4dgjhhfqip78-python3.11-dbus-python-1.3.2-aarch64-unknown-linux-gnu.drv'.

Add a :+1: reaction to issues you find important.

colemickens commented 1 month ago

Adding dbus to nativeBuildInputs "fixes" the build, but I'm not sure if that's totally valid.

Mic92 commented 1 month ago

It's a valid fix. I made it part of https://github.com/NixOS/nixpkgs/pull/308196