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

lhapdf: fix "lhapdf list" interactive tool #44905

Merged
merged 1 commit into from Sep 24, 2018
Merged

Conversation

veprbl
Copy link
Member

@veprbl veprbl commented Aug 11, 2018

In version 6.2.1 the "list" command now uses python bindings, which need
to be imported, so we need to set the PYTHONPATH.

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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

In version 6.2.1 the "list" command now uses python bindings, which need
to be imported, so we need to set the PYTHONPATH.
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: lhapdf

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/5hrdkw4acwfvdp3cphxg9h1nyh6cqrk3-lhapdf-6.2.1
shrinking /nix/store/5hrdkw4acwfvdp3cphxg9h1nyh6cqrk3-lhapdf-6.2.1/lib/python2.7/site-packages/lhapdf.so
shrinking /nix/store/5hrdkw4acwfvdp3cphxg9h1nyh6cqrk3-lhapdf-6.2.1/lib/libLHAPDF.so
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5hrdkw4acwfvdp3cphxg9h1nyh6cqrk3-lhapdf-6.2.1/lib  /nix/store/5hrdkw4acwfvdp3cphxg9h1nyh6cqrk3-lhapdf-6.2.1/bin
patching script interpreter paths in /nix/store/5hrdkw4acwfvdp3cphxg9h1nyh6cqrk3-lhapdf-6.2.1
/nix/store/5hrdkw4acwfvdp3cphxg9h1nyh6cqrk3-lhapdf-6.2.1/bin/.lhapdf-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/9qjc0d5557h3dkpsvfq98b2k96lnb6pw-python-2.7.15/bin/python"
/nix/store/5hrdkw4acwfvdp3cphxg9h1nyh6cqrk3-lhapdf-6.2.1/bin/lhapdf-config: interpreter directive changed from " /usr/bin/env bash" to "/nix/store/56nrxy58wbhvs2sy3rir1jqa68p0kkm5-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/5hrdkw4acwfvdp3cphxg9h1nyh6cqrk3-lhapdf-6.2.1...
/nix/store/5hrdkw4acwfvdp3cphxg9h1nyh6cqrk3-lhapdf-6.2.1

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: lhapdf

Partial log (click to expand)

make[3]: Leaving directory '/private/tmp/nix-build-lhapdf-6.2.1.drv-0/LHAPDF-6.2.1'
make[2]: Leaving directory '/private/tmp/nix-build-lhapdf-6.2.1.drv-0/LHAPDF-6.2.1'
make[1]: Leaving directory '/private/tmp/nix-build-lhapdf-6.2.1.drv-0/LHAPDF-6.2.1'
post-installation fixup
strip is /nix/store/251fvx4mx9q4zarbca5cciasmn66p668-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/5kqzi0xbwdxq0k91qgw1n58v5aa5cnib-lhapdf-6.2.1/lib  /nix/store/5kqzi0xbwdxq0k91qgw1n58v5aa5cnib-lhapdf-6.2.1/bin
patching script interpreter paths in /nix/store/5kqzi0xbwdxq0k91qgw1n58v5aa5cnib-lhapdf-6.2.1
/nix/store/5kqzi0xbwdxq0k91qgw1n58v5aa5cnib-lhapdf-6.2.1/bin/.lhapdf-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/lcb5fjx5qind424zfx8adrd3f1rn5xar-python-2.7.15/bin/python"
/nix/store/5kqzi0xbwdxq0k91qgw1n58v5aa5cnib-lhapdf-6.2.1/bin/lhapdf-config: interpreter directive changed from " /usr/bin/env bash" to "/nix/store/hp9yq2m1i066irvasv20zr2lmj54fk9h-bash-4.4-p23/bin/bash"
/nix/store/5kqzi0xbwdxq0k91qgw1n58v5aa5cnib-lhapdf-6.2.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: lhapdf

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/hybb14jr1cwp85w2nbj6ykbfzgbhhmi4-lhapdf-6.2.1
shrinking /nix/store/hybb14jr1cwp85w2nbj6ykbfzgbhhmi4-lhapdf-6.2.1/lib/python2.7/site-packages/lhapdf.so
shrinking /nix/store/hybb14jr1cwp85w2nbj6ykbfzgbhhmi4-lhapdf-6.2.1/lib/libLHAPDF.so
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hybb14jr1cwp85w2nbj6ykbfzgbhhmi4-lhapdf-6.2.1/lib  /nix/store/hybb14jr1cwp85w2nbj6ykbfzgbhhmi4-lhapdf-6.2.1/bin
patching script interpreter paths in /nix/store/hybb14jr1cwp85w2nbj6ykbfzgbhhmi4-lhapdf-6.2.1
/nix/store/hybb14jr1cwp85w2nbj6ykbfzgbhhmi4-lhapdf-6.2.1/bin/.lhapdf-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/9gfk6klv3zajmibdsvn4yhz20z6vg5gw-python-2.7.15/bin/python"
/nix/store/hybb14jr1cwp85w2nbj6ykbfzgbhhmi4-lhapdf-6.2.1/bin/lhapdf-config: interpreter directive changed from " /usr/bin/env bash" to "/nix/store/7q3ayirslrcva28wava6zpjcflcz1h3b-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/hybb14jr1cwp85w2nbj6ykbfzgbhhmi4-lhapdf-6.2.1...
/nix/store/hybb14jr1cwp85w2nbj6ykbfzgbhhmi4-lhapdf-6.2.1

@xeji xeji merged commit 8229fbb into NixOS:master Sep 24, 2018
@veprbl veprbl deleted the pr/lhapdf_fix branch December 1, 2020 17:04
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