sh_binary wrapper fails on upper case letters in file extension on Windows #9390
Labels
area-Windows
Windows-specific issues and feature requests
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-OSS
Issues for the Bazel OSS team: installation, release processBazel packaging, website
type: bug
Description of the problem:
Windows filenames are case-insensitive, and also can be shortened to 8.3 format, which is upper-case by default. The
sh_binary
wrapper fails with the following error when calling the binary with an upper-case file extension.This is an issue if the
sh_binary
is meant to be called by another program which uses upper-case filenames or 8.3 format. E.g. autotools./configure
scripts.The
sh_binary
wrapper should accept all combinations of upper and lower case in the file extension.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Create a binary target as follows:
Build and execute
What operating system are you running Bazel on?
Windows 10
What's the output of
bazel info release
?release 0.28.1
The text was updated successfully, but these errors were encountered: