Skip to content

duckx: fix build with cmake4#453510

Merged
vcunat merged 1 commit intoNixOS:masterfrom
iedame:fix/duckx
Oct 27, 2025
Merged

duckx: fix build with cmake4#453510
vcunat merged 1 commit intoNixOS:masterfrom
iedame:fix/duckx

Conversation

@iedame
Copy link
Contributor

@iedame iedame commented Oct 19, 2025

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. labels Oct 19, 2025
@nix-owners nix-owners bot requested a review from Titaniumtown October 19, 2025 11:55
@iedame
Copy link
Contributor Author

iedame commented Oct 19, 2025

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 453510
Commit: 8a44a2742892f36f1661347e1c704f571c7d34f5 (subsequent changes)
Merge: 572eea3ff8963f7eca71c4f7c4a2049cb9a271ed

Logs: https://github.com/iedame/nixpkgs-review-gha/actions/runs/18629993409


x86_64-linux

❌ 1 package failed to build:
  • gpt4all-cuda
✅ 2 packages built:
  • duckx
  • gpt4all

Error logs: `x86_64-linux`
gpt4all-cuda
[ 27%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxdocpropsapp.cpp.o
53 errors detected in the compilation of "/build/source/gpt4all-backend/deps/llama.cpp-mainline/ggml/src/ggml-cuda/arange.cu".
make[2]: *** [llmodel/CMakeFiles/ggml-mainline-cuda-avxonly.dir/build.make:171: llmodel/CMakeFiles/ggml-mainline-cuda-avxonly.dir/deps/llama.cpp-mainline/ggml/src/ggml-cuda/arange.cu.o] Error 2
[ 27%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxmediafile.cpp.o
[ 27%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxstyles.cpp.o
make[1]: *** [CMakeFiles/Makefile2:1663: llmodel/CMakeFiles/ggml-mainline-cuda-avxonly.dir/all] Error 2
[ 27%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxzipwriter.cpp.o
[ 28%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxcellformula.cpp.o
[ 28%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxcolor.cpp.o
[ 28%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxdocpropscore.cpp.o
[ 29%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxnumformatparser.cpp.o
[ 29%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxtheme.cpp.o
[ 29%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxcelllocation.cpp.o
[ 29%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxconditionalformatting.cpp.o
[ 30%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxdocument.cpp.o
[ 30%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxrelationships.cpp.o
[ 30%] Building CXX object deps/QXlsx/QXlsx/CMakeFiles/QXlsx.dir/source/xlsxutility.cpp.o
[ 30%] Linking CXX static library libQXlsxQt6.a
[ 30%] Built target QXlsx
make: *** [Makefile:156: all] Error 2

aarch64-linux

❌ 1 package failed to build:
  • gpt4all-cuda
✅ 2 packages built:
  • duckx
  • gpt4all

Error logs: `aarch64-linux`
gpt4all-cuda
   ^

/nix/store/r1y0h2n9072avjap9iq5brz9z7mahpr9-gcc-14.3.0/include/c++/14.3.0/bits/alloc_traits.h(705): error: identifier "__is_nothrow_new_constructible" is undefined
noexcept(__is_nothrow_new_constructible<_Up, _Args...>)
^

/nix/store/r1y0h2n9072avjap9iq5brz9z7mahpr9-gcc-14.3.0/include/c++/14.3.0/bits/alloc_traits.h(705): error: type name is not allowed
noexcept(__is_nothrow_new_constructible<_Up, _Args...>)
^

/nix/store/r1y0h2n9072avjap9iq5brz9z7mahpr9-gcc-14.3.0/include/c++/14.3.0/bits/alloc_traits.h(705): error: expected a ")"
noexcept(__is_nothrow_new_constructible<_Up, _Args...>)
^

53 errors detected in the compilation of "/build/source/gpt4all-backend/deps/llama.cpp-mainline/ggml/src/ggml-cuda/arange.cu".
make[2]: *** [llmodel/CMakeFiles/ggml-mainline-cuda-avxonly.dir/build.make:171: llmodel/CMakeFiles/ggml-mainline-cuda-avxonly.dir/deps/llama.cpp-mainline/ggml/src/ggml-cuda/arange.cu.o] Error 2
[ 21%] Linking CXX static library libSingleApplication.a
[ 21%] Built target SingleApplication
make[1]: *** [CMakeFiles/Makefile2:1663: llmodel/CMakeFiles/ggml-mainline-cuda-avxonly.dir/all] Error 2
make: *** [Makefile:156: all] Error 2


x86_64-darwin (sandbox = true)

✅ 1 package built:
  • duckx

aarch64-darwin (sandbox = true)

✅ 1 package built:
  • duckx

@iedame
Copy link
Contributor Author

iedame commented Oct 19, 2025

Regarding gpt4all-cuda -> #409674 #434165

@vcunat vcunat added this pull request to the merge queue Oct 27, 2025
Merged via the queue into NixOS:master with commit 61b02f2 Oct 27, 2025
32 of 33 checks passed
@iedame iedame deleted the fix/duckx branch October 27, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants