Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

driver doesn't build under bazel 3.5.0 #1

Closed
RussTedrake opened this issue Sep 13, 2020 · 1 comment
Closed

driver doesn't build under bazel 3.5.0 #1

RussTedrake opened this issue Sep 13, 2020 · 1 comment

Comments

@RussTedrake
Copy link
Contributor

RussTedrake commented Sep 13, 2020

due to bazelbuild/bazel#8706 .

Commenting out the nocopts in opencv.bzl got me going, but it would be good to resolve. @sammy-tri -- might you be able to fix?

INFO: Invocation ID: 5317b0c3-5f82-4388-93df-d3dbfe1db50a
ERROR: /home/russt/.cache/bazel/_bazel_russt/ce60b3f3ea80608835f5b9053fbb374f/external/opencv/BUILD.bazel:55:14: in nocopts attribute of cc_binary rule @opencv//:libopencv_cudev.so: This attribute was removed. See https://github.com/bazelbuild/bazel/issues/8706 for details.. Since this rule was created by the macro 'opencv_module', the error might have been caused by the macro implementation
ERROR: /home/russt/.cache/bazel/_bazel_russt/ce60b3f3ea80608835f5b9053fbb374f/external/opencv/BUILD.bazel:55:14: in nocopts attribute of cc_binary rule @opencv//:libopencv_cudev.so: This attribute was removed. See https://github.com/bazelbuild/bazel/issues/8706 for details.. Since this rule was created by the macro 'opencv_module', the error might have been caused by the macro implementation
ERROR: Analysis of target '//rgbd_sensor:rgbd_sensor' failed; build aborted: Analysis failed
@jwnimmer-tri
Copy link

In tools/bazel.rc for this project, add this line.

build --incompatible_disable_nocopts=false

That's what we do in Anzu.

RussTedrake added a commit that referenced this issue Sep 14, 2020
add bazel nocopts flag. resolves #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants