Comments (6)
I can't reproduce this, could you provide a bit more on which command you were running?
bazel build src:all
bazel build src/quipper:all
both succeeds for me. I also have bazel version 5.3.2. Could you try to update your bazel and see if that works?
from perf_data_converter.
I also get compile errors, FWIW:
/usr/bin/ccache: invalid option -- 'U'
This is with bazelisk
/bazel
version 6.0:
EDIT: Nevermind, I think this is something broken with ccache
and not an issue with the build, as I'm seeing the below now too:
ccache: error: Failed to create temporary file for /home/user/.cache/ccache/tmp/inode-cache-64.v1.tmp.eVaABr.tmp: Read-only file system
[user@MSI perf_data_converter]$ bazelisk --version
bazel 6.0.0
[user@MSI perf_data_converter]$ bazelisk build src:perf_to_profile
INFO: Analyzed target //src:perf_to_profile (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /home/user/.cache/bazel/_bazel_user/ca4327f72acbaba3e49bb9ab64aaca71/external/com_google_protobuf/BUILD:155:11: Compiling src/google/protobuf/generated_message_tctable_lite.cc [for tool] failed: (Exit 1): ccache failed: error executing command (from target @com_google_protobuf//:protobuf_lite) /usr/bin/ccache -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 ... (remaining 33 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
/usr/bin/ccache: invalid option -- 'U'
ERROR: /home/user/.cache/bazel/_bazel_user/ca4327f72acbaba3e49bb9ab64aaca71/external/com_google_protobuf/BUILD:155:11: Compiling src/google/protobuf/stubs/bytestream.cc [for tool] failed: (Exit 1): ccache failed: error executing command (from target @com_google_protobuf//:protobuf_lite) /usr/bin/ccache -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 ... (remaining 33 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
/usr/bin/ccache: invalid option -- 'U'
Target //src:perf_to_profile failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.148s, Critical Path: 0.06s
INFO: 20 processes: 20 internal.
FAILED: Build did NOT complete successfully
from perf_data_converter.
Related Issues (20)
- ERROR: Analysis of target '//src:perf_to_profile' failed; build aborted: error loading package '@com_google_protobuf//': Unable to find package for @rules_java//java:defs.bzl: The repository '@rules_java' could not be resolved. HOT 4
- Build fails with 404 errors because bazel doesn't follow redirects HOT 4
- Could we get a command-line option for setting `kPidAndTidLabels`? HOT 1
- "PERF_SAMPLE_REGS_USER is not yet supported" fatal error on perf.data recorded with `--call-graph dwarf` HOT 3
- Build broken due to bad dependencies import HOT 1
- fips_break_test.h: No such file or directory HOT 2
- perf_to_profile fails with large (18gb) perf data HOT 3
- build error in centos
- should kernel addr-- ? HOT 1
- stat: missing_callchain_mmap message should be a warning, not an error HOT 1
- Modify .travis.yml to build quipper also with libc++ HOT 1
- Converter fails to parse perf.data files with PERF_SAMPLE_REGS_USER & PERF_SAMPLE_STACK_USER sample types. HOT 13
- "fatal error: 'byteswap.h' file not found" while building OSS quipper HOT 1
- How to change the boringssl repo to github?
- perf_to_profile drops perf symbols HOT 2
- Compiler warnings when building perf_data_converter HOT 1
- build failed with bazel 4.0, Arch Linux HOT 3
- Build failing "fips.c: No such file or directory" since 15.03.2021 (boringssl) HOT 3
- Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR) HOT 1
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 perf_data_converter.