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

freecad: 0.16.6712 -> 0.17 #41139

Merged
merged 2 commits into from Jun 3, 2018
Merged

freecad: 0.16.6712 -> 0.17 #41139

merged 2 commits into from Jun 3, 2018

Conversation

Moredread
Copy link
Contributor

@Moredread Moredread commented May 27, 2018

FreeCAD 0.17 now needs vtk, (open-)mpi, hdf5 and MEDFile for the FEM feature.

MEDFile (from http://salome-platform.org/downloads/current-version) has been packaged in this PR.

I also haven't checked if dependencies have been dropped or whether the PYTHONPATH patch/hack is still needed.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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.

@Moredread Moredread changed the title freecad: 0.16.6712 -> 0.17 WIP freecad: 0.16.6712 -> 0.17 May 27, 2018
@Moredread
Copy link
Contributor Author

@viric can you have a look?

@Moredread Moredread force-pushed the freecad-0.17 branch 3 times, most recently from ab8769a to 822532f Compare May 28, 2018 20:08
@Moredread
Copy link
Contributor Author

Moredread commented May 28, 2018

I have packaged the MED file lib. I'm not certain though if the category is correct, esp. as there are some user space utils installed with it.

Things that still need to be done:

  • Don't install the test files to bin for lib med file
  • Run those tests if possible
  • Exposed used MPI implementation
  • optional: expose med file optional dependencies (mpi, python, fortran)

@Moredread Moredread changed the title WIP freecad: 0.16.6712 -> 0.17 freecad: 0.16.6712 -> 0.17 May 28, 2018
@matthewbauer
Copy link
Member

@grhamcofborg build medfile freecad

@xeji
Copy link
Contributor

xeji commented Jun 2, 2018

@GrahamcOfBorg hamcofborg build medfile freecad

@xeji
Copy link
Contributor

xeji commented Jun 2, 2018

oops, that was another typo 😄
@GrahamcOfBorg build medfile freecad

@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: medfile, freecad

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: medfile, freecad

Partial log (click to expand)

shrinking /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib/FreeCAD.so
shrinking /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib/ImageGui.so
shrinking /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib/PointsGui.so
shrinking /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib/libSMESHDS.so
shrinking /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib/FreeCADGui.so
shrinking /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib/libFreeCADGui.so
strip is /nix/store/92d2ifxcni4n3zx9s8wnkcjlvnx5ajlc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib  /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/bin
patching script interpreter paths in /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17
checking for references to /build in /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17...

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: medfile, freecad

Partial log (click to expand)

cannot build derivation '/nix/store/942ri0w34cs6v74w12hv7dzcykvphv84-opencascade-oce-0.17.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/w4sfqp00fzwl1xxc8raqwn912dp86rny-pyside-apiextractor-0.10.10.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ss2sllgbs2kvdfg9mh45cpx9gmznnw9j-soqt-1.5.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/89jhlbivzbi946y4qks8nz4k5d4lmsq9-pyside-generatorrunner-0.6.16.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/v0iy3mndxsfhd57blw42zpnqgzhwizg3-python2.7-pivy-20101207.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4f8r0ad7n5r9wdixvqgq70g73hvd68rp-python2.7-pyside-shiboken-1.2.4.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/83csjs3675wc0y8q3x4lwgcwjglnbpih-python2.7-pyside-1.2.4.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/823pg57vwdg9kaqj62ri5bdhj91d5j69-python2.7-pyside-tools-0.2.15.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/v7g4bdjrvk379kn8fb2ixfc0z58v4fwm-freecad-0.17.drv': 7 dependencies couldn't be built
error: build of '/nix/store/v7g4bdjrvk379kn8fb2ixfc0z58v4fwm-freecad-0.17.drv' failed

@xeji xeji merged commit e4ad563 into NixOS:master Jun 3, 2018
@Moredread Moredread deleted the freecad-0.17 branch June 26, 2018 19:07
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

4 participants