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

geant4 overhaul #40618

Closed
wants to merge 7 commits into from
Closed

geant4 overhaul #40618

wants to merge 7 commits into from

Conversation

veprbl
Copy link
Member

@veprbl veprbl commented May 16, 2018

Motivation for this change

Update geant4 expression to conform to usual practices used in nixpkgs.

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.

cc @tmplt

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: g4py, geant4

Partial log (click to expand)



-- Configuring incomplete, errors occurred!
See also "/tmp/nix-build-geant4-10.4.1.drv-0/geant4.10.04.p01/build/CMakeFiles/CMakeOutput.log".
-- Configuring incomplete, errors occurred!
See also "/tmp/nix-build-geant4-10.4.1.drv-1/geant4.10.04.p01/build/CMakeFiles/CMakeOutput.log".
builder for '/nix/store/xy2hsflzjln6ykf76h5xrva2bsdgarh5-geant4-10.4.1.drv' failed with exit code 1
cannot build derivation '/nix/store/3dc8fc63vy798yncidn29sanscknv92f-g4py-10.4.1.drv': 1 dependencies couldn't be built
builder for '/nix/store/hgwqzbbscmhqaxqc8q07qr8a74wyvnzj-geant4-10.4.1.drv' failed with exit code 1
error: build of '/nix/store/3dc8fc63vy798yncidn29sanscknv92f-g4py-10.4.1.drv', '/nix/store/hgwqzbbscmhqaxqc8q07qr8a74wyvnzj-geant4-10.4.1.drv' failed

@tmplt
Copy link
Member

tmplt commented May 16, 2018

I can only approve these changes. Can't comment on g4py though.

I do wonder, though: is there any reason to default dependencies to null when the most probably choice is under the same name? clhep ? null is understandable since it's not packaged but the remainder (expat, zlib, xercesc, motif, libGLU_combined, xlibsWrapper, qt5.qtbase, xorg.libXpm.dev and xorg.libXmu) are. If the user does not want to built with the default choice then it can just be overridden, just like now where the null must be overridden, yes?

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: g4py, geant4

Partial log (click to expand)

shrinking /nix/store/wgn58bb3g8z837s1za12q91qiay0s1a2-g4py-10.4.1/lib/Geant4/G4track.so
shrinking /nix/store/wgn58bb3g8z837s1za12q91qiay0s1a2-g4py-10.4.1/lib/Geant4/G4processes.so
shrinking /nix/store/wgn58bb3g8z837s1za12q91qiay0s1a2-g4py-10.4.1/lib/Geant4/G4global.so
shrinking /nix/store/wgn58bb3g8z837s1za12q91qiay0s1a2-g4py-10.4.1/lib/Geant4/G4intercoms.so
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wgn58bb3g8z837s1za12q91qiay0s1a2-g4py-10.4.1/lib
patching script interpreter paths in /nix/store/wgn58bb3g8z837s1za12q91qiay0s1a2-g4py-10.4.1
checking for references to /build in /nix/store/wgn58bb3g8z837s1za12q91qiay0s1a2-g4py-10.4.1...
/nix/store/wgn58bb3g8z837s1za12q91qiay0s1a2-g4py-10.4.1
/nix/store/v7ky541kkmnf9xnd8i0wa92xf13cygaa-geant4-10.4.1

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: g4py, geant4

Partial log (click to expand)

/nix/store/l4w7xwjy2nmk31fl5kgyy7gg8z7l9n8z-bash-4.4-p19/bin/bash ../libtool --tag CXX --tag disable-shared   --mode=compile /build/build/./gcc/xgcc -shared-libgcc -B/build/build/./gcc -nostdinc++ -L/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/src -L/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -O2 -I/nix/store/2f7lbnlwa8hrn1b25cl3cv5jaxln6s53-glibc-2.27-dev/include -B/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib/ -idirafter /nix/store/2f7lbnlwa8hrn1b25cl3cv5jaxln6s53-glibc-2.27-dev/include -idirafter /nix/store/vb30lb3gcacx271d0zkp8wxka738fh85-gcc-7.3.0/lib/gcc/aarch64-unknown-linux-gnu/7.3.0/include-fixed -Wl,-rpath,/nix/store/b2iddxg0z4dwffz4pldxs7255f1z2wzw-gfortran-7.3.0-lib/lib -Wl,-L/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib -Wl,-rpath -Wl,/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib -Wl,-L/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib    -I/build/gcc-7.3.0/libstdc++-v3/../libgcc -I/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/include/aarch64-unknown-linux-gnu -I/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/include -I/build/gcc-7.3.0/libstdc++-v3/libsupc++   -prefer-pic -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once    -ffunction-sections -fdata-sections  -frandom-seed=new_opa.lo -O2 -I/nix/store/2f7lbnlwa8hrn1b25cl3cv5jaxln6s53-glibc-2.27-dev/include -B/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib/ -idirafter /nix/store/2f7lbnlwa8hrn1b25cl3cv5jaxln6s53-glibc-2.27-dev/include -idirafter /nix/store/vb30lb3gcacx271d0zkp8wxka738fh85-gcc-7.3.0/lib/gcc/aarch64-unknown-linux-gnu/7.3.0/include-fixed -Wl,-rpath,/nix/store/b2iddxg0z4dwffz4pldxs7255f1z2wzw-gfortran-7.3.0-lib/lib -Wl,-L/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib -Wl,-rpath -Wl,/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib -Wl,-L/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib  -std=gnu++1z -c ../../../../gcc-7.3.0/libstdc++-v3/libsupc++/new_opa.cc
/nix/store/l4w7xwjy2nmk31fl5kgyy7gg8z7l9n8z-bash-4.4-p19/bin/bash ../libtool --tag CXX --tag disable-shared   --mode=compile /build/build/./gcc/xgcc -shared-libgcc -B/build/build/./gcc -nostdinc++ -L/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/src -L/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -O2 -I/nix/store/2f7lbnlwa8hrn1b25cl3cv5jaxln6s53-glibc-2.27-dev/include -B/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib/ -idirafter /nix/store/2f7lbnlwa8hrn1b25cl3cv5jaxln6s53-glibc-2.27-dev/include -idirafter /nix/store/vb30lb3gcacx271d0zkp8wxka738fh85-gcc-7.3.0/lib/gcc/aarch64-unknown-linux-gnu/7.3.0/include-fixed -Wl,-rpath,/nix/store/b2iddxg0z4dwffz4pldxs7255f1z2wzw-gfortran-7.3.0-lib/lib -Wl,-L/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib -Wl,-rpath -Wl,/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib -Wl,-L/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib    -I/build/gcc-7.3.0/libstdc++-v3/../libgcc -I/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/include/aarch64-unknown-linux-gnu -I/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/include -I/build/gcc-7.3.0/libstdc++-v3/libsupc++   -prefer-pic -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once    -ffunction-sections -fdata-sections  -frandom-seed=new_opant.lo -O2 -I/nix/store/2f7lbnlwa8hrn1b25cl3cv5jaxln6s53-glibc-2.27-dev/include -B/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib/ -idirafter /nix/store/2f7lbnlwa8hrn1b25cl3cv5jaxln6s53-glibc-2.27-dev/include -idirafter /nix/store/vb30lb3gcacx271d0zkp8wxka738fh85-gcc-7.3.0/lib/gcc/aarch64-unknown-linux-gnu/7.3.0/include-fixed -Wl,-rpath,/nix/store/b2iddxg0z4dwffz4pldxs7255f1z2wzw-gfortran-7.3.0-lib/lib -Wl,-L/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib -Wl,-rpath -Wl,/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib -Wl,-L/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib  -std=gnu++1z -c ../../../../gcc-7.3.0/libstdc++-v3/libsupc++/new_opant.cc
/nix/store/l4w7xwjy2nmk31fl5kgyy7gg8z7l9n8z-bash-4.4-p19/bin/bash ../libtool --tag CXX --tag disable-shared   --mode=compile /build/build/./gcc/xgcc -shared-libgcc -B/build/build/./gcc -nostdinc++ -L/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/src -L/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -O2 -I/nix/store/2f7lbnlwa8hrn1b25cl3cv5jaxln6s53-glibc-2.27-dev/include -B/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib/ -idirafter /nix/store/2f7lbnlwa8hrn1b25cl3cv5jaxln6s53-glibc-2.27-dev/include -idirafter /nix/store/vb30lb3gcacx271d0zkp8wxka738fh85-gcc-7.3.0/lib/gcc/aarch64-unknown-linux-gnu/7.3.0/include-fixed -Wl,-rpath,/nix/store/b2iddxg0z4dwffz4pldxs7255f1z2wzw-gfortran-7.3.0-lib/lib -Wl,-L/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib -Wl,-rpath -Wl,/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib -Wl,-L/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib    -I/build/gcc-7.3.0/libstdc++-v3/../libgcc -I/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/include/aarch64-unknown-linux-gnu -I/build/build/aarch64-unknown-linux-gnu/libstdc++-v3/include -I/build/gcc-7.3.0/libstdc++-v3/libsupc++   -prefer-pic -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once    -ffunction-sections -fdata-sections  -frandom-seed=new_opva.lo -O2 -I/nix/store/2f7lbnlwa8hrn1b25cl3cv5jaxln6s53-glibc-2.27-dev/include -B/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib/ -idirafter /nix/store/2f7lbnlwa8hrn1b25cl3cv5jaxln6s53-glibc-2.27-dev/include -idirafter /nix/store/vb30lb3gcacx271d0zkp8wxka738fh85-gcc-7.3.0/lib/gcc/aarch64-unknown-linux-gnu/7.3.0/include-fixed -Wl,-rpath,/nix/store/b2iddxg0z4dwffz4pldxs7255f1z2wzw-gfortran-7.3.0-lib/lib -Wl,-L/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib -Wl,-rpath -Wl,/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib -Wl,-L/nix/store/14wyhz52r2fz8gxjrjk3h7gr1h1qpb0j-glibc-2.27/lib  -std=gnu++1z -c ../../../../gcc-7.3.0/libstdc++-v3/libsupc++/new_opva.cc
building of '/nix/store/ik5ndd18iwq6g8bb97s035liaw188r36-gfortran-7.3.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/9qqxyydncd109mwlr3i43lr564z37ysk-gfortran-wrapper-7.3.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/2327nfjq44klykfhl5lp1zhm4lcks23p-openblas-0.2.20.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/s24x3cf3aq3r4pq7iw7zh9vhhii4vfqm-python2.7-numpy-1.14.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/ikw6kmwcdbsdv8wa7w38jkvq56j76b8k-boost-1.66_0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/h8p76k8rvhqjwwnbq9q9l4v1z9n4apn3-g4py-10.4.1.drv': 2 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/h8p76k8rvhqjwwnbq9q9l4v1z9n4apn3-g4py-10.4.1.drv' failed

@veprbl
Copy link
Member Author

veprbl commented May 17, 2018

@tmplt You are right. This stuff is just bizarre. I've pushed commit to remove that.

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: g4py, geant4

Partial log (click to expand)



-- Configuring incomplete, errors occurred!
See also "/tmp/nix-build-geant4-10.4.1.drv-0/geant4.10.04.p01/build/CMakeFiles/CMakeOutput.log".
-- Configuring incomplete, errors occurred!
See also "/tmp/nix-build-geant4-10.4.1.drv-1/geant4.10.04.p01/build/CMakeFiles/CMakeOutput.log".
builder for '/nix/store/a5idwipw91w29wb9z6lwpx5r5z4qf259-geant4-10.4.1.drv' failed with exit code 1
builder for '/nix/store/gyc7v6p2hp38nbjjpsd1cnz7snvjmq1c-geant4-10.4.1.drv' failed with exit code 1
cannot build derivation '/nix/store/p2ld9vqy7gp3v01977fmm7y2ki75m12r-g4py-10.4.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/gyc7v6p2hp38nbjjpsd1cnz7snvjmq1c-geant4-10.4.1.drv', '/nix/store/p2ld9vqy7gp3v01977fmm7y2ki75m12r-g4py-10.4.1.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: g4py, geant4

Partial log (click to expand)

shrinking /nix/store/pjnb8kydrz83g3hnq08kn32d9yjd7h6z-g4py-10.4.1/lib/Geant4/G4track.so
shrinking /nix/store/pjnb8kydrz83g3hnq08kn32d9yjd7h6z-g4py-10.4.1/lib/Geant4/G4processes.so
shrinking /nix/store/pjnb8kydrz83g3hnq08kn32d9yjd7h6z-g4py-10.4.1/lib/Geant4/G4global.so
shrinking /nix/store/pjnb8kydrz83g3hnq08kn32d9yjd7h6z-g4py-10.4.1/lib/Geant4/G4intercoms.so
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pjnb8kydrz83g3hnq08kn32d9yjd7h6z-g4py-10.4.1/lib
patching script interpreter paths in /nix/store/pjnb8kydrz83g3hnq08kn32d9yjd7h6z-g4py-10.4.1
checking for references to /build in /nix/store/pjnb8kydrz83g3hnq08kn32d9yjd7h6z-g4py-10.4.1...
/nix/store/pjnb8kydrz83g3hnq08kn32d9yjd7h6z-g4py-10.4.1
/nix/store/iq9h5far92hx5jwg0b49icrqhmg3596d-geant4-10.4.1

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: g4py, geant4

Partial log (click to expand)

-- Installing: /nix/store/1ni7mmqmfkk059k6fmy9bgxf649m05vy-geant4-10.4.1/include/Geant4/G4N14GEMChannel.hh
-- Installing: /nix/store/1ni7mmqmfkk059k6fmy9bgxf649m05vy-geant4-10.4.1/include/Geant4/G4Be12GEMChannel.hh
-- Installing: /nix/store/1ni7mmqmfkk059k6fmy9bgxf649m05vy-geant4-10.4.1/include/Geant4/G4N15GEMChannel.hh
-- Installing: /nix/store/1ni7mmqmfkk059k6fmy9bgxf649m05vy-geant4-10.4.1/include/Geant4/G4N16GEMChannel.hh
-- Installing: /nix/store/1ni7mmqmfkk059k6fmy9bgxf649m05vy-geant4-10.4.1/include/Geant4/G4Be12GEMProbability.hh
-- Installing: /nix/store/1ni7mmqmfkk059k6fmy9bgxf649m05vy-geant4-10.4.1/include/Geant4/G4N17GEMChannel.hh
-- Installing: /nix/store/1ni7mmqmfkk059k6fmy9bgxf649m05vy-geant4-10.4.1/include/Geant4/G4Be7GEMChannel.hh
building of '/nix/store/shf98ifzx5y66hmv1xa88i1nq04p0bjx-geant4-10.4.1.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/0rh0p5kicvmngkrfdqzab1d5srsw28x7-g4py-10.4.1.drv': 2 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/0i3jx02b0gljhph8l4p2qzfinn4sfs5g-geant4-10.4.1.drv', '/nix/store/0rh0p5kicvmngkrfdqzab1d5srsw28x7-g4py-10.4.1.drv' failed

@veprbl
Copy link
Member Author

veprbl commented Jul 5, 2018

I think this is good to merge. Can anyone take a look?

@veprbl
Copy link
Member Author

veprbl commented Jul 12, 2018

Any chance to have this merged?

@vcunat
Copy link
Member

vcunat commented Jul 12, 2018

Sounds OK to merge, except that when I merge it with master, g4py won't build, spitting multiple lines with ld: cannot find -lboost_python.

@veprbl
Copy link
Member Author

veprbl commented Jul 12, 2018

@GrahamcOfBorg build g4py

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: g4py

Partial log (click to expand)

Call Stack (most recent call first):
  cmake/Modules/G4CMakeMain.cmake:64 (include)
  CMakeLists.txt:56 (include)


-- Configuring incomplete, errors occurred!
See also "/tmp/nix-build-geant4-10.4.1.drv-0/geant4.10.04.p01/build/CMakeFiles/CMakeOutput.log".
builder for '/nix/store/4f88ra7r5rfcyhb2ld8l7q9qgg5d8vzh-geant4-10.4.1.drv' failed with exit code 1
cannot build derivation '/nix/store/k7r5363p2wmvdw9rlzz31592xmqmfd0k-g4py-10.4.1.drv': 1 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/k7r5363p2wmvdw9rlzz31592xmqmfd0k-g4py-10.4.1.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: g4py

Partial log (click to expand)

[ 70%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/particle_hp/src/G4ParticleHPFastLegendre_28.cc.o
[ 70%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/particle_hp/src/G4ParticleHPFastLegendre_30.cc.o
[ 70%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/particle_hp/src/G4ParticleHPField.cc.o
[ 70%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/particle_hp/src/G4ParticleHPFieldPoint.cc.o
[ 70%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/particle_hp/src/G4ParticleHPFinalState.cc.o
[ 70%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/particle_hp/src/G4ParticleHPFission.cc.o
[ 70%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/particle_hp/src/G4ParticleHPFissionBaseFS.cc.o
building of ‘/nix/store/xnj6xbv12pi6v6x2hbxld2r1ah4zv99r-geant4-10.4.1.drv’ timed out after 1800 seconds
cannot build derivation ‘/nix/store/qm377hy2mpjsazr66dpp0720d71l4hma-g4py-10.4.1.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/qm377hy2mpjsazr66dpp0720d71l4hma-g4py-10.4.1.drv’ failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: g4py

Partial log (click to expand)

-- Installing: /nix/store/n0lvqr1096n302wgk8b8q74jp82zwkj4-geant4-10.4.1/include/Geant4/G4WentzelVIRelModel.hh
-- Installing: /nix/store/n0lvqr1096n302wgk8b8q74jp82zwkj4-geant4-10.4.1/include/Geant4/G4WentzelVIRelXSection.hh
-- Installing: /nix/store/n0lvqr1096n302wgk8b8q74jp82zwkj4-geant4-10.4.1/include/Geant4/G4XrayRayleighModel.hh
-- Installing: /nix/store/n0lvqr1096n302wgk8b8q74jp82zwkj4-geant4-10.4.1/include/Geant4/G4alphaIonisation.hh
-- Installing: /nix/store/n0lvqr1096n302wgk8b8q74jp82zwkj4-geant4-10.4.1/include/Geant4/G4eBremsstrahlung.hh
-- Installing: /nix/store/n0lvqr1096n302wgk8b8q74jp82zwkj4-geant4-10.4.1/include/Geant4/G4eBremParametrizedModel.hh
-- Installing: /nix/store/n0lvqr1096n302wgk8b8q74jp82zwkj4-geant4-10.4.1/include/Geant4/G4eBremsstrahlungRelModel.hh
building of '/nix/store/p6y09mk33swn1cb6ag1s45ljxkmcg1bl-geant4-10.4.1.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/51yqpaaxbisl1q764dfdyqzcmkgqkdn3-g4py-10.4.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/51yqpaaxbisl1q764dfdyqzcmkgqkdn3-g4py-10.4.1.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: g4py, geant4

Partial log (click to expand)

  Apple X11 OpenGL GL/gl.h NOTFOUND
Call Stack (most recent call first):
  cmake/Modules/G4CMakeMain.cmake:64 (include)
  CMakeLists.txt:56 (include)


-- Configuring incomplete, errors occurred!
See also "/tmp/nix-build-geant4-10.4.1.drv-0/geant4.10.04.p01/build/CMakeFiles/CMakeOutput.log".
builder for '/nix/store/5ni9xjxf101lr6gdcmi6lca3mrlmn2mn-geant4-10.4.1.drv' failed with exit code 1
error: build of '/nix/store/5ni9xjxf101lr6gdcmi6lca3mrlmn2mn-geant4-10.4.1.drv', '/nix/store/famrh3mr0af5ischdrmzp3c13zgq4a73-g4py-10.4.1.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: g4py, geant4

Partial log (click to expand)

shrinking /nix/store/8kplw6lsw1r27igm76pj1s7cp79wxg2b-g4py-10.4.1/lib/Geant4/G4track.so
shrinking /nix/store/8kplw6lsw1r27igm76pj1s7cp79wxg2b-g4py-10.4.1/lib/Geant4/G4processes.so
shrinking /nix/store/8kplw6lsw1r27igm76pj1s7cp79wxg2b-g4py-10.4.1/lib/Geant4/G4global.so
shrinking /nix/store/8kplw6lsw1r27igm76pj1s7cp79wxg2b-g4py-10.4.1/lib/Geant4/G4intercoms.so
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8kplw6lsw1r27igm76pj1s7cp79wxg2b-g4py-10.4.1/lib
patching script interpreter paths in /nix/store/8kplw6lsw1r27igm76pj1s7cp79wxg2b-g4py-10.4.1
checking for references to /build in /nix/store/8kplw6lsw1r27igm76pj1s7cp79wxg2b-g4py-10.4.1...
/nix/store/8kplw6lsw1r27igm76pj1s7cp79wxg2b-g4py-10.4.1
/nix/store/qmzrmp5iygl0m4df1rb5c5a6vckf953s-geant4-10.4.1

@GrahamcOfBorg
Copy link

Timed out, unknown build status on aarch64-linux (full log)

Attempted: g4py, geant4

Partial log (click to expand)

[ 72%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/parton_string/hadronization/src/G4HadronBuilder.cc.o
[ 72%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/parton_string/management/src/G4PomeronCrossSection.cc.o
[ 72%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/parton_string/management/src/G4VSplitableHadron.cc.o
[ 72%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/parton_string/management/src/G4VPartonStringModel.cc.o
[ 72%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/parton_string/hadronization/src/G4FragmentingString.cc.o
[ 95%] Building CXX object source/visualization/management/CMakeFiles/G4vis_management.dir/src/G4VisCommandsTouchableSet.cc.o
building of '/nix/store/b5b0bcd2hk7awx150vpv1wnbxsragx48-geant4-10.4.1.drv' timed out after 3600 seconds
building of '/nix/store/zy2nsvmy3lij4njja2x4scvng3b6ymii-geant4-10.4.1.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/wjbyyx9z82d9m0i7wa44yav7i6lnirgx-g4py-10.4.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/b5b0bcd2hk7awx150vpv1wnbxsragx48-geant4-10.4.1.drv', '/nix/store/wjbyyx9z82d9m0i7wa44yav7i6lnirgx-g4py-10.4.1.drv' failed

@veprbl
Copy link
Member Author

veprbl commented Aug 17, 2018

Let's merge?

@veprbl
Copy link
Member Author

veprbl commented Aug 28, 2018

Ping

@veprbl
Copy link
Member Author

veprbl commented Sep 3, 2018

Had to rebase after 2c2f1e3 . Can we please merge?

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: g4py, geant4

Partial log (click to expand)

shrinking /nix/store/4pzvkzx7dk1xhpbf2nfrwb0srs07jxjs-g4py-10.4.1/lib/Geant4/G4run.so
shrinking /nix/store/4pzvkzx7dk1xhpbf2nfrwb0srs07jxjs-g4py-10.4.1/lib/Geant4/G4intercoms.so
shrinking /nix/store/4pzvkzx7dk1xhpbf2nfrwb0srs07jxjs-g4py-10.4.1/lib/Geant4/G4interface.so
shrinking /nix/store/4pzvkzx7dk1xhpbf2nfrwb0srs07jxjs-g4py-10.4.1/lib/Geant4/G4global.so
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4pzvkzx7dk1xhpbf2nfrwb0srs07jxjs-g4py-10.4.1/lib
patching script interpreter paths in /nix/store/4pzvkzx7dk1xhpbf2nfrwb0srs07jxjs-g4py-10.4.1
checking for references to /build in /nix/store/4pzvkzx7dk1xhpbf2nfrwb0srs07jxjs-g4py-10.4.1...
/nix/store/4pzvkzx7dk1xhpbf2nfrwb0srs07jxjs-g4py-10.4.1
/nix/store/spnwn9wpydfdsla1bmc821ihz6rppfd6-geant4-10.4.1

@veprbl veprbl closed this Sep 3, 2018
@tmplt
Copy link
Member

tmplt commented Sep 4, 2018

closed

So will this not get merged?

@veprbl
Copy link
Member Author

veprbl commented Sep 7, 2018

I opened #46019 hoping to increase visibility. That had no effect. I don't understand why this particular PR gets so little traction.

@xeji xeji mentioned this pull request Sep 7, 2018
9 tasks
@vcunat
Copy link
Member

vcunat commented Sep 8, 2018

I'd expect the main reason is that only very small fraction of nixpkgs users will utilize such a package.

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