Problem while buidling nixos configuration, qtgreet fails to build due to wayqt(?)

nix log /nix/store/1i53x5mymrsw5yz5jrbcbz96vz2xpnp6-wayqt-0.3.0.drv
Running phase: qtPreHook
@nix { "action": "setPhase", "phase": "qtPreHook" }
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/vgs0pq18ynzmh0j3w57if6ibk234a9gv-source
Running phase: qtPreHook
@nix { "action": "setPhase", "phase": "qtPreHook" }
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/vgs0pq18ynzmh0j3w57if6ibk234a9gv-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/dm1l58bad24mjwgqrbqasjraa6d7zn51-fix-qtwayland-header-path.diff
patching file meson.build
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
mesonConfigurePhase flags: --prefix=/nix/store/6fr13m6xk038fry4z46v858ap0wkwq4s-wayqt-0.3.0 --libdir=/nix/store/6fr13m6xk038fry4z46v858ap0wkwq4s-wayqt-0.3.0/lib --libexecdir=/nix/store/6fr13m6xk038fry4z46v858a>
The Meson build system
Version: 1.9.1
Source dir: /build/source
Build dir: /build/source/build
Build type: native build
Project name: WayQt
Project version: 0.3.0
C compiler for the host machine: gcc (gcc 14.3.0 "gcc (GCC) 14.3.0")
C linker for the host machine: gcc ld.bfd 2.44
C++ compiler for the host machine: g++ (gcc 14.3.0 "g++ (GCC) 14.3.0")
C++ linker for the host machine: g++ ld.bfd 2.44
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/nix/store/0skggkamysbh0ksc3582lb69wzrpabcg-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2
Run-time dependency qt6 (modules: Core, Gui, WaylandClient) found: YES 6.10.0 (pkg-config)
Program qmake6 found: YES (/nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/bin/qmake6)
Run-time dependency wayland-client found: YES 1.24.0
Library rt found: YES
Program wayland-scanner found: YES (/nix/store/pd0fbk9yrygb8c5p36j4cazpf6lw8v75-wayland-scanner-1.24.0-bin/bin/wayland-scanner)
Detecting Qt6 tools
Run-time dependency qt6 (modules: Core) found: YES 6.10.0 (pkg-config)
Program /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/bin/qmltyperegistrar found: NO
Program /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/libexec/qmltyperegistrar found: NO
Program qmltyperegistrar6 found: NO
Program qmltyperegistrar-qt6 found: NO
Program qmltyperegistrar found: NO
Program /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/bin/uic found: NO
Program /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/libexec/uic found: YES 6.10.0 6.10.0 (/nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/libexec/uic)
Program /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/bin/qmlcachegen found: NO
Program /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/libexec/qmlcachegen found: NO
Program qmlcachegen6 found: NO
Program qmlcachegen-qt6 found: NO
Program qmlcachegen found: NO
Program /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/bin/lrelease found: NO
Program /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/libexec/lrelease found: NO
Program lrelease6 found: NO
Program lrelease-qt6 found: NO
Program lrelease found: NO
Program /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/bin/rcc found: NO
Program /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/libexec/rcc found: YES 6.10.0 6.10.0 (/nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/libexec/rcc)
Program /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/bin/moc found: NO
Program /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/libexec/moc found: YES 6.10.0 6.10.0 (/nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/libexec/moc)

meson.build:126:8: ERROR: Include dir /nix/store/pkr8v6abdl7y49jw2z2i0w95zzdbsqar-qtwayland-6.10.0/include/QtWaylandGlobal/6.10.0 does not exist.

A full log can be found at /build/source/build/meson-logs/meson-log.txt

here is nixos configuration, also /build/source/build/meson-logs/meson-log.txt doesn’t exist on my system.

I got the same error. It looks like the upgrade if Qt to 6.10 broke qtgreet that depends on it. I fixed the issue by importing qtgreet from stable release where it works (you can do that while keeping using the rest of your packages from unstable).

Alternatively, you could just wait for nixpkgs maintainers to fix it — submitting a bug report may be a good idea too.

First time making an issue on nixpkgs repository(or any repository lol), does this suffice?

1 Like