Skip to content

Cannot find gcov or GCOV with Bazel 0.17.1 #6180

Closed

Description

@cushon

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

Activity

  1. cushon commented on Sep 19, 2018

    @cushon
    ContributorAuthor

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

  2. added
    team-Performance
    untriaged
    on Sep 19, 2018
  3. cushon commented on Sep 19, 2018

    @cushon
    ContributorAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    team-Performanceuntriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions