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

Cannot find gcov or GCOV with Bazel 0.17.1 #6180

Closed
cushon opened this issue Sep 18, 2018 · 2 comments
Closed

Cannot find gcov or GCOV with Bazel 0.17.1 #6180

cushon opened this issue Sep 18, 2018 · 2 comments
Labels
team-Performance Issues for Performance teams untriaged

Comments

@cushon
Copy link
Contributor

cushon commented Sep 18, 2018

Building Android Studio with Bazel 0.17.1 fails with the following error:

ERROR: in target '//external:cc_toolchain': no such package '@local_config_cc//': Traceback (most recent call last):
        File "external/bazel_tools/tools/cpp/cc_configure.bzl", line 56
                configure_unix_toolchain(repository_ctx, cpu_value, overriden...)
        File "external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 486, in configure_unix_toolchain
                _find_generic(repository_ctx, "gcov", "GCOV", overri...)
        File "external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 465, in _find_generic
                auto_configure_fail(msg)
        File "external/bazel_tools/tools/cpp/lib_cc_configure.bzl", line 109, in auto_configure_fail
                fail(("\n%sAuto-Configuration Error:%...)))

Auto-Configuration Error: Cannot find gcov or GCOV; either correct your path or set the GCOV environment variable
@cushon
Copy link
Contributor Author

cushon commented Sep 19, 2018

This was a regression introduced by a95a442 and fixed in 1d956c7 (which didn't make the baseline for 0.17.1).

@aiuto aiuto added team-Performance Issues for Performance teams untriaged labels Sep 19, 2018
@cushon
Copy link
Contributor Author

cushon commented Sep 19, 2018

This will be fixed in 0.17.2 (#6164 (comment)) and 0.18x.

@cushon cushon closed this as completed Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Performance Issues for Performance teams untriaged
Projects
None yet
Development

No branches or pull requests

2 participants