trilby icon indicating copy to clipboard operation
trilby copied to clipboard

Mismatched Qt dependencies error when building (aarch64)

Open RusticCraftsman opened this issue 1 year ago • 0 comments

after enabling cross compilation in my x86_64-linux system via adding the following to my configuration.nix:

boot.binfmt.emulatedSystems = [ "aarch64-linux" ];

After rebooting, so the emulated system applies, I executed the following: nix build .#trilby-server-unstable-aarch64-isoImage

and after 2 hours and 40 minutes, the following build error appeared:

error: builder for '/nix/store/dxqp9zx67g9jdp657gwnamfld0bvdivm-qtsvg-5.15.12.drv' failed with exit code 1;
       last 3 log lines:
       > Error: detected mismatched Qt dependencies:
       >     /nix/store/y6k52y5mc4ddr8dzqmjmyhpvv7if9dsw-qtbase-5.15.12-dev
       >     /nix/store/k6bzgbksd210zbmazf1ax5f37nq9b92y-qtbase-5.15.12-dev
       For full logs, run 'nix log /nix/store/dxqp9zx67g9jdp657gwnamfld0bvdivm-qtsvg-5.15.12.drv'.
error: 1 dependencies of derivation '/nix/store/wg4ppv5ylf97h3d9qmsjmm8palpil84p-python3.11-PyQt5-5.15.9.drv' failed to build
error: 1 dependencies of derivation '/nix/store/x7hckx3y3mp5npfhifxnkyiqrp94aiz5-ffado-2.4.8.drv' failed to build
error: 1 dependencies of derivation '/nix/store/0i2h82km1xk3knmnvkcl2qxl6k8fr54a-pipewire-1.0.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/jd95xq46l8lir0p8nj56mxn7583pzq6w-SDL2-2.28.5.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4xr0w5vzm9qx97v00xaqah35w2965dpw-openal-soft-1.23.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/pck3zj7awmwlc0ym542gh24w5fx6mvvn-gst-plugins-bad-1.22.8.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hm9v8h4ipw4zv00xrhahqi7md6h660i4-gtk4-4.12.4.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1gb1kz09l61wy2m38plrgv50s8h60rdd-wrap-gapps-hook.drv' failed to build
error (ignored): error: cannot unlink '/tmp/nix-build-openldap-aarch64-unknown-linux-gnu-2.6.7.drv-0/openldap-2.6.7': Directory not empty
error: 1 dependencies of derivation '/nix/store/kcjcq6ck32nljz7jwnqbhdmyk5h9fnqf-gcr-aarch64-unknown-linux-gnu-4.1.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/87lx3qsl2v0xxh172c7a75fj0jxfyy82-libnma-aarch64-unknown-linux-gnu-1.10.6.drv' failed to build
error: 1 dependencies of derivation '/nix/store/g9asih9c4mbship06il4rcq5mih0zszh-libnma-aarch64-unknown-linux-gnu-1.10.6.drv' failed to build
error: 1 dependencies of derivation '/nix/store/b5vfrh10nw5s0jb8mkqqipl3kgcfa3nw-NetworkManager-fortisslvpn-gnome-1.4.0-aarch64-unknown-linux-gnu.drv' failed to build
error: 1 dependencies of derivation '/nix/store/b0qijw5j8gywh19xp4ywkgb01km4zcqn-NetworkManager-iodine-gnome-unstable-2019-11-05-aarch64-unknown-linux-gnu.drv' failed to build
error: 1 dependencies of derivation '/nix/store/whgigj5dnd15biydmhvlwyh2s9y1mc3y-NetworkManager-l2tp-gnome-1.20.10-aarch64-unknown-linux-gnu.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vbiir2cn9c9n75pjjishvvdbbbbiibwv-NetworkManager-openconnect-aarch64-unknown-linux-gnu-1.2.10.drv' failed to build
error: 1 dependencies of derivation '/nix/store/p33kk2mp5zwg2fiv362xk9yxllzh01zp-NetworkManager-openvpn-aarch64-unknown-linux-gnu-1.10.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/x258432k31i4dvknrlc0iydbg17r49ch-NetworkManager-sstp-gnome-unstable-2023-03-09-aarch64-unknown-linux-gnu.drv' failed to build
error: 1 dependencies of derivation '/nix/store/5nigid011bxbw8kc56libkw16sxlqry8-NetworkManager-vpnc-aarch64-unknown-linux-gnu-1.2.8.drv' failed to build
error: 1 dependencies of derivation '/nix/store/84dlbf08yabfaqmbrkz30sxd4f718c1p-etc.drv' failed to build
error (ignored): error: cannot unlink '/tmp/nix-build-dbus-aarch64-unknown-linux-gnu-1.14.10.drv-0/dbus-1.14.10': Directory not empty
error: 1 dependencies of derivation '/nix/store/a4wkzvgdg0bw2g5raz7k26a9c0p6nmlk-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/za17kgs68nacmqsz0iiwakm3k3yksxss-trilby-server-unstable-aarch64-isoImage.drv' failed to build
error: 1 dependencies of derivation '/nix/store/57m0zidka1xfi4ybpxac9bbh6cp4hskz-closure-info-aarch64-unknown-linux-gnu.drv' failed to build
error: 1 dependencies of derivation '/nix/store/7193hnqazc95lqn0wd8lgl8v6944l68x-efi-directory.drv' failed to build
error (ignored): error: cannot unlink '/tmp/nix-build-vala-aarch64-unknown-linux-gnu-0.56.14.drv-0/vala-0.56.14': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-x265-aarch64-unknown-linux-gnu-3.5.drv-0/x265_3.5/source': Directory not empty
error: 1 dependencies of derivation '/nix/store/ycg4gjrkyi273xscdsxsww8yck4y5xbw-trilby-server-24.05-aarch64.iso-aarch64-unknown-linux-gnu.drv' failed to build

running nix log /nix/store/dxqp9zx67g9jdp657gwnamfld0bvdivm-qtsvg-5.15.12.drv outputs the following:

warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/dxqp9zx67g9jdp657gwnamfld0bvdivm-qtsvg-5.15.12.drv^*'
Error: detected mismatched Qt dependencies:
    /nix/store/y6k52y5mc4ddr8dzqmjmyhpvv7if9dsw-qtbase-5.15.12-dev
    /nix/store/k6bzgbksd210zbmazf1ax5f37nq9b92y-qtbase-5.15.12-dev

RusticCraftsman avatar Feb 21 '24 19:02 RusticCraftsman