Comments (11)
Searching for the error message "gcc: internal compiler error: Killed program cc1plus" gives solutions to this, eg. https://bitcointalk.org/index.php?topic=304389.0
The compiler is out of memory and one solution is to add more swap space.
from models.
I suspect the problem is your Python version. You need to use 2.X.
from models.
I have the same problem and my Python version is 2.7.3. I get this output:
`/home/iago/.cache/bazel/_bazel_iago/600cdfc23c4fd2fcdd44ade222f27561/syntaxnet/external/farmhash_archive/farmhash-34c13ddfab0e35422f4c3979f360635a8c050260 /home/iago/.cache/bazel/_bazel_iago/600cdfc23c4fd2fcdd44ade222f27561/syntaxnet
/home/iago/.cache/bazel/_bazel_iago/600cdfc23c4fd2fcdd44ade222f27561/syntaxnet
/tmp/tmp.05N7hlyvuh/missing: Unknown '--is-lightweight' option
Try '/tmp/tmp.05N7hlyvuh/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
ERROR: /home/iago/.cache/bazel/_bazel_iago/600cdfc23c4fd2fcdd44ade222f27561/external/tf/tensorflow/tools/proto_text/BUILD:31:1: C++ compilation of rule '@tf//tensorflow/tools/proto_text:gen_proto_text_functions' failed: gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wl,-z,-relro,-z,now -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 ... (remaining 77 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
external/tf/tensorflow/tools/proto_text/gen_proto_text_functions.cc:31:26: error: expected ';' at end of member declaration
external/tf/tensorflow/tools/proto_text/gen_proto_text_functions.cc:31:28: error: 'override' does not name a type
external/tf/tensorflow/tools/proto_text/gen_proto_text_functions.cc:34:38: error: expected ';' at end of member declaration
external/tf/tensorflow/tools/proto_text/gen_proto_text_functions.cc:34:40: error: 'override' does not name a type
cc1plus: warning: unrecognized command line option "-Wno-free-nonheap-object" [enabled by default]
INFO: Elapsed time: 171.234s, Critical Path: 5.42s
//syntaxnet:arc_standard_transitions_test NO STATUS
//syntaxnet:beam_reader_ops_test NO STATUS
//syntaxnet:graph_builder_test NO STATUS
//syntaxnet:lexicon_builder_test NO STATUS
//syntaxnet:parser_features_test NO STATUS
//syntaxnet:parser_trainer_test NO STATUS
//syntaxnet:reader_ops_test NO STATUS
//syntaxnet:sentence_features_test NO STATUS
//syntaxnet:shared_store_test NO STATUS
//syntaxnet:tagger_transitions_test NO STATUS
//syntaxnet:text_formats_test NO STATUS
Executed 0 out of 12 tests: 1 fails to build and 11 were skipped.
`
I get " 1 fails" because I added (searching on Bazel issues) this option "--local_resources 2048,2.0,1.0 -j 1" but if I use the command provided on the Installation Guide I get "Executed 0 out of 12 tests: 12 were skipped."
from models.
I have the same issue both on Ubuntu and on MacOS.
from models.
Similar build issue here... maybe... (using MacPorts 2.3.4, not Brew)
Versions:
MacOSX El Capitan 10.11.5
Xcode: 7.3.1
swig: 3.0.8
protobuf: 3.0.0b2
numpy: 1.11.0
python: 2.7.10
asciitree: 0.3.1
bazel: 0.2.2b
$ which swig # avail on cmd-line, not sure why build is looking for it where it is
/opt/local/bin/swig
Output of bazel test --linkopt=-headerpad_max_install_names syntaxnet/... util/utf8/...:
ERROR: /private/var/tmp/_bazel_schang/3e908dae0122d24722c501694bc155ef/external/tf/tensorflow/python/BUILD:972:1: SWIGing external/tf/tensorflow/python/tensorflow.i failed: swig failed: error executing command bazel-out/host/bin/external/tf/tensorflow/swig -c++ -python -module pywrap_tensorflow -lexternal/tf/tensorflow/python/client/device_lib.i -lexternal/tf/tensorflow/python/client/events_writer.i ... (remaining 194 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 127.
bazel-out/host/bin/external/tf/tensorflow/swig: line 25: swig: command not found
INFO: Elapsed time: 16.168s, Critical Path: 15.41s
//syntaxnet:arc_standard_transitions_test NO STATUS
//syntaxnet:beam_reader_ops_test NO STATUS
//syntaxnet:graph_builder_test NO STATUS
//syntaxnet:lexicon_builder_test NO STATUS
//syntaxnet:parser_features_test NO STATUS
//syntaxnet:parser_trainer_test NO STATUS
//syntaxnet:reader_ops_test NO STATUS
//syntaxnet:sentence_features_test NO STATUS
//syntaxnet:shared_store_test NO STATUS
//syntaxnet:tagger_transitions_test NO STATUS
//syntaxnet:text_formats_test NO STATUS
//util/utf8:unicodetext_unittest NO STATUS
Executed 0 out of 12 tests: 12 were skipped.
from models.
Maybe the same issue, not sure, looks alike...
ERROR: /home/wangye/.cache/bazel/_bazel_root/e1838146ffd4619d95a48f03c6ab1d88/external/tf/google/protobuf/BUILD:505:1: Executing genrule @tf//google/protobuf:python_srcs_genrule failed: namespace-sandbox failed: error executing command /home/wangye/.cache/bazel/_bazel_root/e1838146ffd4619d95a48f03c6ab1d88/syntaxnet/_bin/namespace-sandbox ... (remaining 5 argument(s) skipped).
src/main/tools/namespace-sandbox.c:507: mount(opt->sandbox_root, opt->sandbox_root, NULL, MS_BIND | MS_NOSUID, NULL): Permission denied
INFO: Elapsed time: 14.859s, Critical Path: 0.63s
//syntaxnet:arc_standard_transitions_test NO STATUS
//syntaxnet:beam_reader_ops_test NO STATUS
//syntaxnet:graph_builder_test NO STATUS
//syntaxnet:lexicon_builder_test NO STATUS
//syntaxnet:parser_features_test NO STATUS
//syntaxnet:parser_trainer_test NO STATUS
//syntaxnet:reader_ops_test NO STATUS
//syntaxnet:sentence_features_test NO STATUS
//syntaxnet:shared_store_test NO STATUS
//syntaxnet:tagger_transitions_test NO STATUS
//syntaxnet:text_formats_test NO STATUS
//util/utf8:unicodetext_unittest NO STATUS
Executed 0 out of 12 tests: 12 were skipped.
Versions:
OS: Ubuntu 14.04.4
swig: 2.0.11
protobuf: 3.0.0b2
numpy: 1.8.2
python: 2.7.6
asciitree:
bazel: 0.2.2b
Latest Update:
I switched to Ubuntu 16.04, and installed python-dev, and it works just fine now.
from models.
I'm getting the same kind of error:
Versions:
OS: MacOS 10.11.2
swig: 3.0.8
protobuf: 3.0.0b2
numpy: 1.8.0rc1
python: 2.7.10
asciitree: 0.3.1
bazel: 0.2.3 (JDK 7)
/private/var/tmp/_bazel_username/42de5e1a8f3834bc4fa29ce7b23a99ae/external/tf/tensorflow/python/BUILD:972:1: SWIGing external/tf/tensorflow/python/tensorflow.i failed: swig failed: error executing command bazel-out/host/bin/external/tf/tensorflow/swig -c++ -python -module pywrap_tensorflow -lexternal/tf/tensorflow/python/client/device_lib.i -lexternal/tf/tensorflow/python/client/events_writer.i ... (remaining 197 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 127.
bazel-out/host/bin/external/tf/tensorflow/swig: line 25: swig: command not found
INFO: Elapsed time: 449.442s, Critical Path: 201.15s
//syntaxnet:arc_standard_transitions_test NO STATUS
//syntaxnet:beam_reader_ops_test NO STATUS
//syntaxnet:graph_builder_test NO STATUS
//syntaxnet:lexicon_builder_test NO STATUS
//syntaxnet:parser_features_test NO STATUS
//syntaxnet:parser_trainer_test NO STATUS
//syntaxnet:reader_ops_test NO STATUS
//syntaxnet:sentence_features_test NO STATUS
//syntaxnet:shared_store_test NO STATUS
//syntaxnet:tagger_transitions_test NO STATUS
//syntaxnet:text_formats_test NO STATUS
//util/utf8:unicodetext_unittest NO STATUS
Executed 0 out of 12 tests: 12 were skipped.
from models.
I have solved the problem!! I updated ubuntu from 12.04 to 14.04. Opened a terminal and type "ldd --version". You must see something like that:
ldd (Ubuntu EGLIBC 2.19-0ubuntu6.9) 2.19
You need have a version > 2.15 and only it's possible in a ubuntu version > 12.04.
Moreover update your gcc version to 4.9.x or newer.
Regards!
from models.
HMMMMMMMMMMMMMMMMMMMMMMMMMMMM, thanks for report @MinionAttack, I'll try that in soon.
from models.
Hello,
The same kind of error on my installation:
Ubuntu 14.04
gcc 4.9
ERROR: /home/mladen/.cache/bazel/_bazel_root/fb66bc6a9788015ed6c59545dcfa45a5/external/farmhash_archive/BUILD:5:1: Executing genrule @farmhash_archive//:configure failed: namespace-sandbox failed: error executing command /home/mladen/.cache/bazel/_bazel_root/fb66bc6a9788015ed6c59545dcfa45a5/execroot/syntaxnet/_bin/namespace-sandbox ... (remaining 5 argument(s) skipped).
src/main/tools/namespace-sandbox.c:507: mount(opt->sandbox_root, opt->sandbox_root, NULL, MS_BIND | MS_NOSUID, NULL): Permission denied
from models.
when executing:
sudo bazel test syntaxnet/... util/utf8/...
from models.
Related Issues (20)
- Create embeddings audio with the features extracted by acousticbrainz
- Faster RCNN Pretrained model facing error: Value error is not supported for tf2 version HOT 4
- Parameter server can not run HOT 2
- Training BERT with parameter server strategy stalls with no warning HOT 4
- DCN V2 pretrained model on Criteo 1TB data
- 'pip3 install tf-models-nightly Collecting tf-models-nightly' HOT 4
- tf1 upgrade to tf2,tf.distribute.MirroredStrategy core dump HOT 3
- i cant run movinet streaming official model on vs code running windows, it keep throwing an error HOT 12
- Keras 3 compatibility? AttributeError: 'LossScaleOptimizer' object has no attribute 'get_scaled_loss' HOT 7
- tensorflow.python.framework.errors_impl.NotFoundError: inference.so not found. HOT 4
- TypeError: unhashable type: 'list'. When running "model_builder_tf2_test.py" HOT 8
- ValueError: Only fixed_shape_resizeris supported with tflite. Found keep_aspect_ratio_resize HOT 2
- object_detection : python setup.py egg_info did not run successfully installing the object detection API HOT 2
- Apache Beam Pipeline cannot maximize the number of workers for criteo_preprocess.py in Google Cloud
- SSD output structure
- ImportError: cannot import name 'eval_pb2' from 'object_detection.protos' HOT 6
- Unable to install tf-models-official HOT 5
- GradCAM for MoViNet HOT 2
- models/research/object_detection/exporter_main_v2.py give me error "ImportError: cannot import name 'builder'" HOT 1
- Trying to Load Keras Model Returns ListIndex Error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from models.