Comments (7)
Extracting Bazel installation...
.............
WARNING: /home/pivotal/.cache/bazel/_bazel_pivotal/c0b28a16e7e4414bb9624b5648e7cb77/external/bazel_tools/tools/build_defs/pkg/pkg.bzl:196:9: pkg_tar: renaming non-dict `files` attribute to `srcs`
ERROR: /home/pivotal/.cache/bazel/_bazel_pivotal/c0b28a16e7e4414bb9624b5648e7cb77/external/io_bazel_rules_go/go/tools/builders/BUILD:41:1: in go_tool_binary rule @io_bazel_rules_go//go/tools/builders:generate_test_main:
Traceback (most recent call last):
File "/home/pivotal/.cache/bazel/_bazel_pivotal/c0b28a16e7e4414bb9624b5648e7cb77/external/io_bazel_rules_go/go/tools/builders/BUILD", line 41
go_tool_binary(name = 'generate_test_main')
File "/home/pivotal/.cache/bazel/_bazel_pivotal/c0b28a16e7e4414bb9624b5648e7cb77/external/io_bazel_rules_go/go/private/go_tool_binary.bzl", line 35, in _go_tool_binary_impl
ctx.action(inputs = ((ctx.files.srcs + tool...), <4 more arguments>)
File "/home/pivotal/.cache/bazel/_bazel_pivotal/c0b28a16e7e4414bb9624b5648e7cb77/external/io_bazel_rules_go/go/private/go_tool_binary.bzl", line 36, in ctx.action
toolchain.tools
object of type 'Target' has no field 'tools'
ERROR: Analysis of target '//cryptdopb:go_default_library_protos' failed; build aborted
INFO: Elapsed time: 23.398s
FAILED: Build did NOT complete successfully (29 packages loaded)
✓ master → uname -a
Linux bernal 4.4.0-92-generic #115-Ubuntu SMP Thu Aug 10 09:04:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
✓ master → bazel version
Build label: 0.5.4
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Aug 25 10:00:00 2017 (1503655200)
Build timestamp: 1503655200
Build timestamp as int: 1503655200
Also happens on ubuntu as well.
from cryptdo.
This should be fixed by: 9a2c142. Make sure you are running the latest version of Bazel.
from cryptdo.
[jfmyers9@jfmyers9 cryptdo]$ bazel build //...
Extracting Bazel installation...
..........
INFO: Found 15 targets...
ERROR: /home/jfmyers9/.cache/bazel/_bazel_jfmyers9/e98d2b9cb4b10236e6ed586e39086627/external/org_golang_x_sys/unix/BUILD.bazel:3:1: Linking ../org_golang_x_sys/unix/go_default_library.cgo.dir/_all.o failed (Exit 1).
/usr/bin/ld.gold: fatal error: -pie and -r are incompatible
collect2: error: ld returned 1 exit status
INFO: Elapsed time: 167.756s, Critical Path: 12.95s
[jfmyers9@jfmyers9 cryptdo]$ bazel version
Build label: 0.5.4- (@non-git)
Build target: bazel-out/local-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Aug 29 01:47:12 2017 (1503971232)
Build timestamp: 1503971232
Build timestamp as int: 1503971232
I tried removing ~/.cache/bazel
but that did not appear to help.
from cryptdo.
from cryptdo.
Adding --linkopt="-no-pie"
to the bazel build
command resulted in the following error:
[jfmyers9@jfmyers9 cryptdo]$ bazel build --linkopt="-no-pie" //...
INFO: Found 15 targets...
ERROR: /home/jfmyers9/workspace/local-gopath/src/github.com/xoebus/cryptdo/BUILD.bazel:12:1: error executing shell command: 'bazel-out/host/bin/external/bazel_tools/tools/build_defs/pkg/build_tar --flagfile=bazel-out/local-fastbuild/bin/cryptdo.args' failed (Exit 1).
Traceback (most recent call last):
File "/home/jfmyers9/.cache/bazel/_bazel_jfmyers9/e98d2b9cb4b10236e6ed586e39086627/bazel-sandbox/9023612678656145368/execroot/cryptdo/bazel-out/host/bin/external/bazel_tools/tools/build_defs/pkg/build_tar.runfiles/cryptdo/../bazel_tools/tools/build_defs/pkg/build_tar.py", line 23, in <module>
from third_party.py import gflags
File "/home/jfmyers9/.cache/bazel/_bazel_jfmyers9/e98d2b9cb4b10236e6ed586e39086627/bazel-sandbox/9023612678656145368/execroot/cryptdo/bazel-out/host/bin/external/bazel_tools/tools/build_defs/pkg/build_tar.runfiles/bazel_tools/third_party/py/gflags/__init__.py", line 1, in <module>
from gflags import *
ModuleNotFoundError: No module named 'gflags'
INFO: Elapsed time: 2.147s, Critical Path: 0.67s
This error was fixed by running:
pip install python-gflags
Is this an expected dependency?
from cryptdo.
No, it's not required on my system. I'll open an issue upstream to work out why it isn't using the vendored dependency.
from cryptdo.
As this fixed my issues on arch linux I'll close out this issue. We are seeing issues building in CI, but I'll investigate and open a new issue if its not clear. Thanks.
from cryptdo.
Related Issues (16)
- use a sensible serialisation format
- Add version command
- Cryptdo Leaves around unencrypted files. HOT 4
- cryptdo-filter should have some way of showing diffs HOT 1
- Homebrew formula?
- Recursively decrypt files
- Choose encrypted extension
- split up bats tests into many files
- include algorithms in message proto HOT 1
- allow interactive passphrase entry
- use unix standard flags
- increase salt size to 384
- Make 1.0 Release
- passphrase: should be printed on stderr
- Do not re-encrypt the file if it has not changed
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 cryptdo.