Skip to content

--experimental_strict_action_env does not always enforce MSYS2 binaries #6759

@filipesilva

Description

@filipesilva

Description of the problem / feature request:

When using bazel from within Git Bash (aka Git for Windows) and using --experimental_strict_action_env, errors of the type This problem is probably due to using incompatible versions of the cygwin DLL. can still be seen.

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

The same reproduction from #6339 can be used.

Instead of running bazel test ..., run bazel test ... --experimental_strict_action_env from a Git Bash shell.

What operating system are you running Bazel on?

Windows 10 1803.

What's the output of bazel info release?

release 0.19.2

Have you found anything relevant by searching the web?

This issue is related to #6339 and #5724.

/cc @laszlocsomor

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2We'll consider working on this in future. (Assignee optional)staleIssues or PRs that are stale (no activity for 30 days)team-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.type: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions