Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cura: 3.2.1 -> 3.3.1 #41623

Merged
merged 4 commits into from Jun 10, 2018
Merged

cura: 3.2.1 -> 3.3.1 #41623

merged 4 commits into from Jun 10, 2018

Conversation

jfrankenau
Copy link
Member

Motivation for this change

Updating cura and related packages.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

cc @abbradar

# This patch from Arch Linux fixes Cura segfaulting on startup
# https://github.com/Ultimaker/Cura/issues/3438
# It can probably removed on 5.10.3
patches = [ ./pyqt5-cura-crash.patch ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We try to avoid local copies of available patches in nixpkgs. Please fetchpatch this patch from the Arch Linux git repo instead:
https://git.archlinux.org/svntogit/packages.git/plain/repos/extra-x86_64/pyqt5-cura-crash.patch?id=6cfe64a3d1827e0ed9cc62f1683a53b582315f4f ,
see other examples in nixpkgs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@xeji
Copy link
Contributor

xeji commented Jun 10, 2018

@GrahamcOfBorg build libarcus cura curaengine

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: libarcus, cura, curaengine

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: cura, curaengine

The following builds were skipped because they don't evaluate on x86_64-linux: libarcus

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/vkc0lq65ww9n1lmmqas0p2wcvbghn510-cura-3.3.1
strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/vkc0lq65ww9n1lmmqas0p2wcvbghn510-cura-3.3.1/lib  /nix/store/vkc0lq65ww9n1lmmqas0p2wcvbghn510-cura-3.3.1/bin
patching script interpreter paths in /nix/store/vkc0lq65ww9n1lmmqas0p2wcvbghn510-cura-3.3.1
/nix/store/vkc0lq65ww9n1lmmqas0p2wcvbghn510-cura-3.3.1/bin/cura: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/rsa1rsd6c6szy0dmi61599b33aqiy269-python3-3.6.5/bin/python3"
checking for references to /build in /nix/store/vkc0lq65ww9n1lmmqas0p2wcvbghn510-cura-3.3.1...
wrapping `/nix/store/vkc0lq65ww9n1lmmqas0p2wcvbghn510-cura-3.3.1/bin/cura'...
postPatchMkspecs
postPatchMkspecs

@xeji
Copy link
Contributor

xeji commented Jun 10, 2018

@GrahamcOfBorg build python3.pkgs.libarcus

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: python3.pkgs.libarcus

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python3.pkgs.libarcus

Partial log (click to expand)

-- Installing: /nix/store/hh5qkl4vv6bj6gi8f87mg51lynlisclx-libarcus-3.3.0/lib/cmake/Arcus/ArcusConfigVersion.cmake
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/hh5qkl4vv6bj6gi8f87mg51lynlisclx-libarcus-3.3.0
shrinking /nix/store/hh5qkl4vv6bj6gi8f87mg51lynlisclx-libarcus-3.3.0/lib/python3.6/site-packages/Arcus.so
shrinking /nix/store/hh5qkl4vv6bj6gi8f87mg51lynlisclx-libarcus-3.3.0/lib/libArcus.so.1.1.0
strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hh5qkl4vv6bj6gi8f87mg51lynlisclx-libarcus-3.3.0/lib
patching script interpreter paths in /nix/store/hh5qkl4vv6bj6gi8f87mg51lynlisclx-libarcus-3.3.0
checking for references to /build in /nix/store/hh5qkl4vv6bj6gi8f87mg51lynlisclx-libarcus-3.3.0...
/nix/store/hh5qkl4vv6bj6gi8f87mg51lynlisclx-libarcus-3.3.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python3.pkgs.libarcus

Partial log (click to expand)

/nix/store/01wdb0jlb9zafm3aj4z5yj3awx6jq5va-libarcus-3.3.0

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: cura, curaengine

The following builds were skipped because they don't evaluate on aarch64-linux: libarcus

Partial log (click to expand)

[5107/17529] CXX obj/third_party/libyuv/libyuv_internal/convert_to_i420.o
[5108/17529] CXX obj/third_party/libyuv/libyuv_internal/convert_from.o
[5109/17529] CXX obj/third_party/libyuv/libyuv_internal/convert_from_argb.o
cannot build derivation '/nix/store/cr8jk6b7psn4s8hq7xhb7sa1vnqg304x-python3.6-numpy-stl-2.4.1.drv': 1 dependencies couldn't be built
[5110/17529] CXX obj/third_party/libyuv/libyuv_internal/convert.o
building of '/nix/store/in3z0dbriysjc14xkf7yvlxvn80p9znw-qtwebengine-5.10.1.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/39cgby6i7icfyybyxbalzi5d4h60gl5h-python3.6-PyQt-5.10.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/q2pb7a6j2070dacfm51kxgl6gzynm33f-uranium-3.3.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/zn9mc8pbwky1j6k651vni62n8rxaicgx-cura-3.3.1.drv': 2 dependencies couldn't be built
error: build of '/nix/store/zn9mc8pbwky1j6k651vni62n8rxaicgx-cura-3.3.1.drv' failed

@xeji xeji merged commit 8bd9f06 into NixOS:master Jun 10, 2018
@jfrankenau jfrankenau deleted the update-cura branch June 20, 2018 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants