You are not logged in.
Hello, I'm not sure if this is the correct forum, but I recently updated Arch and I'm trying to rebuild tensorflow locally. However, when I download the package repo using asp and compile using makepkg, I'm getting the following error:
ERROR: /old/home/dan/build/tensorflow/repos/community-x86_64/src/tensorflow-1.8.0/tensorflow/python/BUILD:4990:1: Executing genrule //tensorflow/python:framework/fast_tensor_util.pyx_cython_translation failed (Exit 1)
Traceback (most recent call last):
File "/old/home/dan/.cache/bazel/_bazel_dan/fbd6237600e57928189ecbf822e96b60/execroot/org_tensorflow/bazel-out/host/bin/external/cython/cython_binary.runfiles/cython/cython.py", line 17, in <module>
main(command_line = 1)
File "/old/home/dan/.cache/bazel/_bazel_dan/fbd6237600e57928189ecbf822e96b60/external/cython/Cython/Compiler/Main.py", line 720, in main
result = compile(sources, options)
File "/old/home/dan/.cache/bazel/_bazel_dan/fbd6237600e57928189ecbf822e96b60/external/cython/Cython/Compiler/Main.py", line 695, in compile
return compile_multiple(source, options)
File "/old/home/dan/.cache/bazel/_bazel_dan/fbd6237600e57928189ecbf822e96b60/external/cython/Cython/Compiler/Main.py", line 666, in compile_multiple
context = options.create_context()
File "/old/home/dan/.cache/bazel/_bazel_dan/fbd6237600e57928189ecbf822e96b60/external/cython/Cython/Compiler/Main.py", line 590, in create_context
self.cplus, self.language_level, options=self)
File "/old/home/dan/.cache/bazel/_bazel_dan/fbd6237600e57928189ecbf822e96b60/external/cython/Cython/Compiler/Main.py", line 75, in __init__
from . import Builtin, CythonScope
File "/old/home/dan/.cache/bazel/_bazel_dan/fbd6237600e57928189ecbf822e96b60/external/cython/Cython/Compiler/CythonScope.py", line 5, in <module>
from .UtilityCode import CythonUtilityCode
File "/old/home/dan/.cache/bazel/_bazel_dan/fbd6237600e57928189ecbf822e96b60/external/cython/Cython/Compiler/UtilityCode.py", line 3, in <module>
from .TreeFragment import parse_from_strings, StringParseContext
File "/old/home/dan/.cache/bazel/_bazel_dan/fbd6237600e57928189ecbf822e96b60/external/cython/Cython/Compiler/TreeFragment.py", line 17, in <module>
from .Visitor import VisitorTransform
File "/old/home/dan/.cache/bazel/_bazel_dan/fbd6237600e57928189ecbf822e96b60/external/cython/Cython/Compiler/Visitor.py", line 15, in <module>
from . import ExprNodes
File "/old/home/dan/.cache/bazel/_bazel_dan/fbd6237600e57928189ecbf822e96b60/external/cython/Cython/Compiler/ExprNodes.py", line 2875
await = None
^
SyntaxError: invalid syntax
INFO: Elapsed time: 10.372s, Critical Path: 0.48s
INFO: 35 processes: 35 local.
FAILED: Build did NOT complete successfully
==> ERROR: A failure occurred in build().
Aborting...
The commands to reproduce on my machine:
$ asp checkout tensorflow
$ cd tensorflow/repos/community-x86_64/
$ makepkg -si
I'm surprised because I did not edit the PKGBUILD script (although I would like to in order to configure using mkl support). I've been googling that error, and I cant seem to find any hits online including in the Arch Forum and on the tensorflow Issues board.
Any suggestions about how to start troubleshooting this?
Thanks,
Dan
Offline
Current version is at 1.10
asp update tensorflow
git pull
Offline
Thanks @jasonwryan. I guess I should have posted this in Newbie Corner because I obviously didn't RTFM.
checkout TARGET...
Create a new git repository containing the full source and history
for each of the given targets. The new repository will pull from
the repository in $ASPROOT and must be updated separately after
using asp update. If a checkout occurs on the same filesystem as
$ASPROOT, most of the metadata can be hard linked, making this a
relatively cheap copy.
Thanks for the tip.
Offline