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

python.pkgs.tensorflow: repair postFixup phase #41878

Merged
merged 1 commit into from Jun 12, 2018
Merged

Conversation

jyp
Copy link
Contributor

@jyp jyp commented Jun 12, 2018

Remove an extra dot.
Fixes #41163

Motivation for this change

Fix #41163

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.

@etu
Copy link
Contributor

etu commented Jun 12, 2018

This worked for me on NixOS (using this commit):

nix-shell -I nixpkgs="https://github.com/NixOS/nixpkgs/archive/7e1f9da6bce9352bed5cb1af829f2b6b24876f11.tar.gz" -p python36Packages.tensorflow python36 --run python

and then writing

import tensorflow

(This doesn't work against current master)

@Mic92 Mic92 changed the title python.packages.tensorflow: repair postFixup phase python.pkgs.tensorflow: repair postFixup phase Jun 12, 2018
@Mic92
Copy link
Member

Mic92 commented Jun 12, 2018

@GrahamcOfBorg build python.pkgs.tensorflow python3.pkgs.tensorflow

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: python.pkgs.tensorflow, python3.pkgs.tensorflow

Partial log (click to expand)

updateAutotoolsGnuConfigScriptsPhase
configuring
building
installing
/build/dist /build
tensorflow-1.7.1-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.
builder for '/nix/store/xm1c9h359p0l1ix846d23fd4lw6k200f-python2.7-tensorflow-1.7.1.drv' failed with exit code 1
tensorflow-1.7.1-cp36-cp36m-linux_x86_64.whl is not a supported wheel on this platform.
builder for '/nix/store/9ciwfn67pwz80hhk8wpdmh76vbdl8pzk-python3.6-tensorflow-1.7.1.drv' failed with exit code 1
error: build of '/nix/store/9ciwfn67pwz80hhk8wpdmh76vbdl8pzk-python3.6-tensorflow-1.7.1.drv', '/nix/store/xm1c9h359p0l1ix846d23fd4lw6k200f-python2.7-tensorflow-1.7.1.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: python3.pkgs.tensorflow

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

Partial log (click to expand)

copying path '/nix/store/k64i6dlxrgjcw9xnpalbqqx4ag5vyy1h-python3.6-gast-0.2.0' from 'https://cache.nixos.org'...
copying path '/nix/store/mkwqfcr51qxjdxfxzhqs0kiz4rdaim6r-python3.6-mox-0.5.3' from 'https://cache.nixos.org'...
copying path '/nix/store/6hj0xl31jaahi2j9hzdnnk69xhrzfgj7-python3.6-python-dateutil-2.6.1' from 'https://cache.nixos.org'...
copying path '/nix/store/xylybz2spi73jay1fmsij84z4kcjypf0-python3.6-python-gflags-3.1.2' from 'https://cache.nixos.org'...
copying path '/nix/store/2dvif2dkxwmsi4f300l7aiwgb370w173-python3.6-pytz-2018.3' from 'https://cache.nixos.org'...
copying path '/nix/store/z9r670ifprlpyb1657jkf66siqq2m7lr-python3.6-termcolor-1.1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/1dnx3dxqvpsrqy180g4rbnpd51h4ldbj-python3.6-google-apputils-0.4.1' from 'https://cache.nixos.org'...
copying path '/nix/store/insv78r2r90zwlpii42x4nwy8gb7lwgj-python3.6-protobuf-3.5.1.1' from 'https://cache.nixos.org'...
copying path '/nix/store/j8zdpmsahhdikgg034sba0dpgpipalkp-python3.6-tensorflow-1.7.1' from 'https://cache.nixos.org'...
/nix/store/j8zdpmsahhdikgg034sba0dpgpipalkp-python3.6-tensorflow-1.7.1

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python.pkgs.tensorflow, python3.pkgs.tensorflow

Partial log (click to expand)

stripping (with command strip and flags -S) in /nix/store/bphmd0bdy45kg6nvidlvg239wga9q5ax-python3.6-tensorflow-1.7.1/lib  /nix/store/bphmd0bdy45kg6nvidlvg239wga9q5ax-python3.6-tensorflow-1.7.1/bin
patching script interpreter paths in /nix/store/bphmd0bdy45kg6nvidlvg239wga9q5ax-python3.6-tensorflow-1.7.1
checking for references to /build in /nix/store/bphmd0bdy45kg6nvidlvg239wga9q5ax-python3.6-tensorflow-1.7.1...
wrapping `/nix/store/bphmd0bdy45kg6nvidlvg239wga9q5ax-python3.6-tensorflow-1.7.1/bin/freeze_graph'...
wrapping `/nix/store/bphmd0bdy45kg6nvidlvg239wga9q5ax-python3.6-tensorflow-1.7.1/bin/toco'...
wrapping `/nix/store/bphmd0bdy45kg6nvidlvg239wga9q5ax-python3.6-tensorflow-1.7.1/bin/saved_model_cli'...
wrapping `/nix/store/bphmd0bdy45kg6nvidlvg239wga9q5ax-python3.6-tensorflow-1.7.1/bin/tensorboard'...
wrapping `/nix/store/bphmd0bdy45kg6nvidlvg239wga9q5ax-python3.6-tensorflow-1.7.1/bin/toco_from_protos'...
/nix/store/f1yi95b2cvrs98yy6l4gihrm29xs7crc-python2.7-tensorflow-1.7.1
/nix/store/bphmd0bdy45kg6nvidlvg239wga9q5ax-python3.6-tensorflow-1.7.1

@Mic92 Mic92 merged commit 9c52c7c into NixOS:master Jun 12, 2018
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