qt 6.7 build errorr
phanirithvij opened this issue · 2 comments
phanirithvij commented
Describe the bug
Flake build output on nixos (unstable)
error: builder for '/nix/store/49alvdnypi7fh0xryf7vcvh5zbp6b0r2-blobdrop-2.1.drv' failed with exit code 1;
last 32 log lines:
> Running phase: qtPreHook
> Running phase: unpackPhase
> unpacking source archive /nix/store/ipzy7i3ks3himxr8yvp0ml2g0yh8158f-4pr36l5p9x4y2mc4zvc169a471ydyk2x-source
> source root is 4pr36l5p9x4y2mc4zvc169a471ydyk2x-source
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> fixing cmake files...
> cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/ha0wkvflfk4jk3viapi9xnkdynd3rwpv-blobdrop-2.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/ha0wkvflfk4jk3viapi9xnkdynd3rwpv-blobdrop-2.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/ha0wkvflfk4jk3viapi9xnkdynd3rwpv-blobdrop-2.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/ha0wkvflfk4jk3viapi9xnkdynd3rwpv-blobdrop-2.1/share/doc/blobdrop -DCMAKE_INSTALL_INFODIR=/nix/store/ha0wkvflfk4jk3viapi9xnkdynd3rwpv-blobdrop-2.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/ha0wkvflfk4jk3viapi9xnkdynd3rwpv-blobdrop-2.1/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/ha0wkvflfk4jk3viapi9xnkdynd3rwpv-blobdrop-2.1/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/ha0wkvflfk4jk3viapi9xnkdynd3rwpv-blobdrop-2.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/ha0wkvflfk4jk3viapi9xnkdynd3rwpv-blobdrop-2.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/ha0wkvflfk4jk3viapi9xnkdynd3rwpv-blobdrop-2.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/ha0wkvflfk4jk3viapi9xnkdynd3rwpv-blobdrop-2.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/bd0ii4p72zgiy1jfaww5h3xihxn2l56x-gcc-wrapper-13.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/bd0ii4p72zgiy1jfaww5h3xihxn2l56x-gcc-wrapper-13.2.0/bin/ranlib -DCMAKE_AR=/nix/store/bd0ii4p72zgiy1jfaww5h3xihxn2l56x-gcc-wrapper-13.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/ha0wkvflfk4jk3viapi9xnkdynd3rwpv-blobdrop-2.1 -DFETCHCONTENT_SOURCE_DIR_QUARTZ=/nix/store/18i054r73jfcn76whdlhiw5qda2zklls-source
> -- The C compiler identification is GNU 13.2.0
> -- The CXX compiler identification is GNU 13.2.0
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /nix/store/bd0ii4p72zgiy1jfaww5h3xihxn2l56x-gcc-wrapper-13.2.0/bin/gcc - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Check for working CXX compiler: /nix/store/bd0ii4p72zgiy1jfaww5h3xihxn2l56x-gcc-wrapper-13.2.0/bin/g++ - skipped
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> CMake Error at CMakeLists.txt:12 (find_package):
> Could not find a configuration file for package "Qt6" that is compatible
> with requested version "6.7".
>
> The following configuration files were considered but not accepted:
>
> /nix/store/av07i0w816zrjbqffv6nysdr9dcnx0z0-qtbase-6.6.3/lib/cmake/Qt6/Qt6Config.cmake, version: 6.6.3
>
>
>
> -- Configuring incomplete, errors occurred!
For full logs, run 'nix log /nix/store/49alvdnypi7fh0xryf7vcvh5zbp6b0r2-blobdrop-2.1.drv'.
error: 1 dependencies of derivation '/nix/store/n2cfks776r3k01zcnp1xw71krp7spv9d-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/50hqf7q0jbsz00v3s36xk9gmxslxhhxl-nixos-system-iron-24.05.20240410.1042fd8.drv' failed to build
To reproduce
No response
Expected behavior
No response
phanirithvij commented
I pinned it in my flake to previous commit, I haven't had time to learn nix flakes so I apologize for not pinning earlier. I guess this is a known issue from the failing github actions and you haven't had time to look at it yet.
vimpostor commented
Yep, I have reverted the commit for now, we will need to wait until Qt 6.7 has made it to the unstable channel: https://nixpk.gs/pr-tracker.html?pr=300933