Skip to content

Building spice-gtk fails because it cannot find Python's pyparsing #159270

@jktjkt

Description

@jktjkt

Describe the bug

A regular update fails because spice-gtk apparently won't find the pyparsing module:

Steps To Reproduce

(edit: line-wrapped for clarity)

[root@chobotnice:~]# time nixos-rebuild switch --upgrade -j 1
unpacking channels...
building Nix...
building the system configuration...
these 17 derivations will be built:
  /nix/store/mgs5j3b4baqjw322k7gfhx8if3wgssq3-spice-gtk-0.37.drv
  /nix/store/gxk3rzv7vwsxajg0d0xd1yfdpwsmjpj1-virt-manager-3.2.0.drv
  /nix/store/b49spk35rxq2ysni0r5xfixizcq6iikg-system-path.drv
  /nix/store/3f55lr2rdahlpzf7blgn99lf0xqg1hk6-unit-systemd-fsck-.service.drv
  /nix/store/7jz3x4brmb7nn3qf0kvvjppcgdbx0g17-unit-accounts-daemon.service.drv
  /nix/store/l7lmqp75x9qmr2xmc45rk3407agqg5fj-unit-polkit.service.drv
  /nix/store/abi33c20bl1hq3y7lhb3kmcfmxbzrzva-dbus-1.drv
  /nix/store/lnfhl5fk6d9zxs6gjv3wg9bl1r2r9f9q-unit-dbus.service.drv
  /nix/store/6rsxw7m1y88iihq5gsfxhyr8wap5yb78-system-units.drv
  /nix/store/vqp09k6dfhx76pz5hyycxdbqsd273x0j-unit-dbus.service.drv
  /nix/store/ggwclaajcw499alhcfzy7fzrasq2ih8y-user-units.drv
  /nix/store/bd2f9xywpgk0qibfm30xgbw5pslvdlnq-etc.drv
  /nix/store/nn0m5l26sysbrki0kgyz58k569fxhagq-udev-rules.drv
  /nix/store/rmgb538c0sx95dv2wna72ns0mnmb67fl-link-units.drv
  /nix/store/qb7zgx327ng59wnqm4x4ksn6fm3200hg-stage-1-init.sh.drv
  /nix/store/bijnxsiqsmr3a10yhwpqrx0zkv9qy1yk-initrd-linux-5.16.7.drv
  /nix/store/s2gy6khwmgsmzd57lmfygs2lb668xgpk-nixos-system-chobotnice-22.05pre353535.48d63e924a2.drv
building '/nix/store/rmgb538c0sx95dv2wna72ns0mnmb67fl-link-units.drv'...
'/nix/store/24ljibki63lxk0m11qnw8fh9smh64g3x-systemd-249.7/lib/systemd/network/99-default.link' -> '/nix/store/si45fwgqrwzpkhzia0932ndm6q0br6pw-link-units/99-default.link'
building '/nix/store/mgs5j3b4baqjw322k7gfhx8if3wgssq3-spice-gtk-0.37.drv'...
unpacking sources
unpacking source archive /nix/store/1085xrxs0sl84r12641shac53af5cr18-spice-gtk-0.37.tar.bz2
source root is spice-gtk-0.37
setting SOURCE_DATE_EPOCH to timestamp 1558007590 of file spice-gtk-0.37/doc/reference/html/spice-gtk-spice-version.html
patching sources
configuring
meson flags: 
  --buildtype=plain
  --libdir=/nix/store/54ix55g2q6jrkvgda5290azz0rbj7jix-spice-gtk-0.37/lib
 --libexecdir=/nix/store/54ix55g2q6jrkvgda5290azz0rbj7jix-spice-gtk-0.37/libexec
         --bindir=/nix/store/54ix55g2q6jrkvgda5290azz0rbj7jix-spice-gtk-0.37/bin
 --sbindir=/nix/store/54ix55g2q6jrkvgda5290azz0rbj7jix-spice-gtk-0.37/sbin
         --includedir=/nix/store/10ncnws2amx9zfq8smq5g9dv8i2zd59h-spice-gtk-0.37-dev/include
         --mandir=/nix/store/wnhpgzxs3niq0qii41vbwgmvg9z1jicj-spice-gtk-0.37-man/share/man
 --infodir=/nix/store/54ix55g2q6jrkvgda5290azz0rbj7jix-spice-gtk-0.37/share/info
         --localedir=/nix/store/54ix55g2q6jrkvgda5290azz0rbj7jix-spice-gtk-0.37/share/locale
         -Dauto_features=enabled
         -Dwrap_mode=nodownload
         --prefix=/nix/store/54ix55g2q6jrkvgda5290azz0rbj7jix-spice-gtk-0.37
   -Dcelt051=disabled
   -Dpulse=disabled 
The Meson build system
Version: 0.60.3
Source dir: /build/spice-gtk-0.37
Build dir: /build/spice-gtk-0.37/build
Build type: native build
Project name: spice-gtk
Project version: 0.37
C compiler for the host machine: gcc (gcc 10.3.0 "gcc (GCC) 10.3.0")
C linker for the host machine: gcc ld.bfd 2.35.2
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program sh found: YES (/nix/store/4nmqxajzaf60yjribkgvj5j54x9yvr1r-bash-5.1-p12/bin/sh)

Executing subproject spice-common 

spice-common| Project name: spice-common
spice-common| Project version: undefined
spice-common| C compiler for the host machine: gcc (gcc 10.3.0 "gcc (GCC) 10.3.0")
spice-common| C linker for the host machine: gcc ld.bfd 2.35.2
spice-common| Has header "alloca.h" : YES
spice-common| Has header "arpa/inet.h" : YES
spice-common| Has header "dlfcn.h" : YES
spice-common| Has header "inttypes.h" : YES
spice-common| Has header "malloc.h" : YES
spice-common| Has header "memory.h" : YES
spice-common| Has header "netinet/in.h" : YES
spice-common| Has header "stddef.h" : YES
spice-common| Has header "stdint.h" : YES
spice-common| Has header "stdlib.h" : YES
spice-common| Has header "strings.h" : YES
spice-common| Has header "string.h" : YES
spice-common| Has header "sys/socket.h" : YES
spice-common| Has header "sys/stat.h" : YES
spice-common| Has header "sys/types.h" : YES
spice-common| Has header "unistd.h" : YES
spice-common| Has header "regex.h" : YES
spice-common| Has header "sys/mman.h" : YES
spice-common| Checking for function "alloca" : YES
spice-common| Checking for function "sigaction" : YES
spice-common| Checking for function "drand48" : YES
spice-common| Checking for function "setlinebuf" : YES
spice-common| Checking for function "hypot" : NO
spice-common| Library m found: YES
spice-common| Checking for function "hypot" with dependency -lm: YES
spice-common| Found pkg-config: /nix/store/r255i42fsinsmjpywxzj8rsav51vx4b5-pkg-config-wrapper-0.29.2/bin/pkg-config (0.29.2)
spice-common| Run-time dependency spice-protocol found: YES 0.14.3
spice-common| Run-time dependency glib-2.0 found: YES 2.70.2
spice-common| Run-time dependency gio-2.0 found: YES 2.70.2
spice-common| Run-time dependency gthread-2.0 found: YES 2.70.2
spice-common| Run-time dependency pixman-1 found: YES 0.38.4
spice-common| Run-time dependency openssl found: YES 1.1.1m
spice-common| Dependency celt051 skipped: feature celt051 disabled
spice-common| Run-time dependency opus found: YES 1.3.1
spice-common| Program python3 found: YES (/nix/store/afi0ysqw20yiiw2gr2d28dx40bc4ddf8-python3-3.9.10/bin/python3.9)
spice-common| Message: Checking for python module six
spice-common| Message: Checking for python module pyparsing

subprojects/spice-common/meson.build:140:6: ERROR: Problem encountered: Python module pyparsing not found

A full log can be found at /build/spice-gtk-0.37/build/meson-logs/meson-log.txt
error: builder for '/nix/store/mgs5j3b4baqjw322k7gfhx8if3wgssq3-spice-gtk-0.37.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/gxk3rzv7vwsxajg0d0xd1yfdpwsmjpj1-virt-manager-3.2.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/b49spk35rxq2ysni0r5xfixizcq6iikg-system-path.drv' failed to build
building '/nix/store/nn0m5l26sysbrki0kgyz58k569fxhagq-udev-rules.drv'...
error: 1 dependencies of derivation '/nix/store/s2gy6khwmgsmzd57lmfygs2lb668xgpk-nixos-system-chobotnice-22.05pre353535.48d63e924a2.drv' failed to build

real    0m11.361s
user    0m9.417s
sys     0m2.046s

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[root@chobotnice:~]# nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.06 MiB download, 0.30 MiB unpacked):
  /nix/store/xsgq8c5pg6lpjils5qvg67crrv6sy247-bash-interactive-5.1-p12-dev
copying path '/nix/store/xsgq8c5pg6lpjils5qvg67crrv6sy247-bash-interactive-5.1-p12-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.12, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5.1`
 - channels(root): `"nixos-22.05pre353535.48d63e924a2"`
 - channels(jkt): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions