Code Monkey home page Code Monkey logo

Comments (6)

shantuo avatar shantuo commented on May 21, 2024

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.

GavinRay97 avatar GavinRay97 commented on May 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.