Open foxos21 opened 2 days ago
I'm not sure the tag build failure would be appropiate as the build of the current version (2.1.1) in nixpkgs builds ok.
You can check this PR https://github.com/NixOS/nixpkgs/pull/352156 for the change needed to build orca-slicer 2.2.0
;)
@jonboh But without the patch it shows another error i have seen this error before but i never resolved it.
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/libslic3r/MeshBoolean.cpp.rej
error: builder for '/nix/store/g03kpmn4x91phh28dl7q1g6pj7b44l7l-orca-slicer-2.2.0.drv' failed with exit code 1;
last 10 log lines:
> Running phase: patchPhase
> applying patch /nix/store/7jq52w8wjqykpiycbvhy1qkfw9rfr339-0001-not-for-upstream-CMakeLists-Link-against-webkit2gtk-.patch
> patching file src/CMakeLists.txt
> Hunk #1 succeeded at 188 with fuzz 1 (offset 13 lines).
> applying patch /nix/store/v6c7kmf13nfrjgqyyr2j8m4xz9jf9wnf-meshboolean-const.patch
> patching file src/libslic3r/MeshBoolean.cpp
> Reversed (or previously applied) patch detected! Assume -R? [n]
> Apply anyway? [n]
> Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file src/libslic3r/MeshBoolean.cpp.rej
For full logs, run 'nix-store -l /nix/store/g03kpmn4x91phh28dl7q1g6pj7b44l7l-orca-slicer-2.2.0.drv'.
Look the patches applied in the PR:
patches = [
# Fix for webkitgtk linking
./0001-not-for-upstream-CMakeLists-Link-against-webkit2gtk-.patch
./dont-link-opencv-world.patch
];
the patches are the ones in https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/misc/bambu-studio
I'm able to build and run 2.2.0 in my fork with that.
idk who to ask @r-ryantm
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Additional context
Metadata
"x86_64-linux"
Linux 6.6.56, NixOS, 24.05 (Uakari), 24.05.5993.cd3e8833d706
yes
yes
nix-env (Nix) 2.18.8
"nixos-24.05"
/nix/var/nix/profiles/per-user/root/channels/nixos