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

itk: 5.0.0 -> 5.0.1 #66567

Merged
merged 2 commits into from
Aug 23, 2019
Merged

itk: 5.0.0 -> 5.0.1 #66567

merged 2 commits into from
Aug 23, 2019

Conversation

mmahut
Copy link
Member

@mmahut mmahut commented Aug 13, 2019

Motivation for this change

Updating to 5.0.1, hopefully fixes a number of builds.

Also moving the source to github.

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 nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @viric

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
nolmoonen Nol Moonen
Changing the source from sourceforge to github.
@mmahut
Copy link
Member Author

mmahut commented Aug 13, 2019

@mmahut
Copy link
Member Author

mmahut commented Aug 14, 2019

@GrahamcOfBorg build simpleitk

@mmahut
Copy link
Member Author

mmahut commented Aug 14, 2019

The build is too long for ofborg, but I success for me locally. Anyone willing to run nix-review on it, please.

@aanderse
Copy link
Member

~/nixpkgs> nix-review pr 66567
...

https://github.com/NixOS/nixpkgs/pull/66567
2 package are marked as broken and were skipped:
c3d seg3d

5 package failed to build:
ants elastix ezminc python27Packages.pyezminc simpleitk

1 package were build:
itk

🤷‍♂️

@mmahut
Copy link
Member Author

mmahut commented Aug 16, 2019

Odd.

@GrahamcOfBorg build simpleitk

@risicle
Copy link
Contributor

risicle commented Aug 17, 2019

Fails on macos 10.13:

builder for '/nix/store/l9g39yk5rmqmpvwrp3pcc0342s8av45g-simpleitk-1.2.2.drv' failed with exit code 2; last 10 log lines:
  [ 97%] Swig source to generate TCL wrapping
  Scanning dependencies of target SimpleITKTclsh
  [ 97%] Building CXX object Wrapping/Tcl/CMakeFiles/SimpleITKTclsh.dir/SimpleITKTCL_wrap.cxx.o
  /tmp/nix-build-simpleitk-1.2.2.drv-0/source/build/Wrapping/Tcl/SimpleITKTCL_wrap.cxx:166:10: fatal error: 'tcl.h' file not found
  #include <tcl.h>
           ^~~~~~~
  1 error generated.
  make[2]: *** [Wrapping/Tcl/CMakeFiles/SimpleITKTclsh.dir/build.make:407: Wrapping/Tcl/CMakeFiles/SimpleITKTclsh.dir/SimpleITKTCL_wrap.cxx.o] Error 1
  make[1]: *** [CMakeFiles/Makefile2:2554: Wrapping/Tcl/CMakeFiles/SimpleITKTclsh.dir/all] Error 2
  make: *** [Makefile:152: all] Error 2

@mmahut
Copy link
Member Author

mmahut commented Aug 17, 2019

ping @bcdarwin do you mind taking a look at ants elastix ezminc python27Packages.pyezminc simpleitk?

@mmahut
Copy link
Member Author

mmahut commented Aug 17, 2019

@risicle do you mind testing again on darwin?

@mmahut
Copy link
Member Author

mmahut commented Aug 17, 2019

@aanderse can you please try again? I get

2 package are marked as broken and were skipped:
c3d seg3d

4 package failed to build:
ants elastix ezminc python27Packages.pyezminc

2 package were build:
itk simpleitk

@risicle
Copy link
Contributor

risicle commented Aug 17, 2019

@risicle do you mind testing again on darwin?

I currently am, but it takes a while...

@aanderse
Copy link
Member

@mmahut yes, identical results now:

https://github.com/NixOS/nixpkgs/pull/66567
2 package are marked as broken and were skipped:
c3d seg3d

4 package failed to build:
ants elastix ezminc python27Packages.pyezminc

2 package were build:
itk simpleitk

@mmahut
Copy link
Member Author

mmahut commented Aug 18, 2019

@aanderse do you mind sharing your log? I did the nix-review of this on two separate machines and simpleitk did build for me.

@risicle
Copy link
Contributor

risicle commented Aug 18, 2019

Getting closer on macos now we're including tcl and tk:

  [ 97%] Built target SimpleITKLuaModule_LUA
  [ 97%] Swig source to generate TCL wrapping
  Scanning dependencies of target SimpleITKTclsh
  [ 97%] Building CXX object Wrapping/Tcl/CMakeFiles/SimpleITKTclsh.dir/SimpleITKTCL_wrap.cxx.o
  [ 97%] Linking CXX executable bin/SimpleITKTclsh
  ld: framework not found tcl
  clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
  make[2]: *** [Wrapping/Tcl/CMakeFiles/SimpleITKTclsh.dir/build.make:555: Wrapping/Tcl/bin/SimpleITKTclsh] Error 1
  make[1]: *** [CMakeFiles/Makefile2:2554: Wrapping/Tcl/CMakeFiles/SimpleITKTclsh.dir/all] Error 2
  make: *** [Makefile:152: all] Error 2

I'm trying a rebuild right now with darwin.apple_sdk.frameworks.Tcl included...

@risicle
Copy link
Contributor

risicle commented Aug 18, 2019

Getting closer...

Scanning dependencies of target SimpleITKTclsh
[ 97%] Building CXX object Wrapping/Tcl/CMakeFiles/SimpleITKTclsh.dir/SimpleITKTCL_wrap.cxx.o
[ 97%] Linking CXX executable bin/SimpleITKTclsh
Undefined symbols for architecture x86_64:
  "_Tcl_MainEx", referenced from:
      _main in SimpleITKTCL_wrap.cxx.o
ld: symbol(s) not found for architecture x86_64
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)

@risicle
Copy link
Contributor

risicle commented Aug 18, 2019

Hmm, yes, same error as before. If it builds on hydra, I guess that might be enough - but I suspect there's some impurity at play here.

@mmahut
Copy link
Member Author

mmahut commented Aug 18, 2019

@risicle how do you build it? using nix-review?

@risicle
Copy link
Contributor

risicle commented Aug 18, 2019

both nix-review and nix-build - same results.

Changing the source from sourceforge to github.
@mmahut
Copy link
Member Author

mmahut commented Aug 21, 2019

Odd, I'm going to merge it, as it passes fine on darwin. I have mailed the maintainer for other packages as well, we will mark them as broken if no reply.

@mmahut mmahut merged commit 5fa9205 into NixOS:master Aug 23, 2019
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