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

rules_dotnet is incompatible with --incompatible_disallow_empty_glob #458

Closed
criemen opened this issue Oct 9, 2024 · 3 comments
Closed

Comments

@criemen
Copy link

criemen commented Oct 9, 2024

When trying to build on Bazel 8.0.0rc1, I'm getting

ERROR: Traceback (most recent call last):
        File "/private/var/tmp/_bazel_criemen/267ec2c545f0139b2caed9502387afe1/external/rules_dotnet++dotnet+dotnet_aarch64-apple-darwin/BUILD.bazel", line 33, column 16, in <toplevel>
                srcs = glob([
Error in glob: glob pattern 'sdk/**/AppHostTemplate/apphost.exe' didn't match anything, but allow_empty is set to False (the default value of allow_empty can be set with --incompatible_disallow_empty_glob).

See bazelbuild/bazel#8195 (comment) for how the pattern probably should look like instead.

@criemen
Copy link
Author

criemen commented Oct 9, 2024

This is with 0.15.1, but I don't see anything in the changelog for 0.16.0 that would address this.

@purkhusid
Copy link
Collaborator

This has been fixed on master and a new version 0.16.1 is in the queue in BCR. Thanks for reporting this!

@criemen
Copy link
Author

criemen commented Oct 10, 2024

Amazing, thanks for the quick turnaround on this!

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