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

Builds failing with --incompatible_disallow_empty_glob #827

Closed
UebelAndre opened this issue Mar 3, 2024 · 1 comment
Closed

Builds failing with --incompatible_disallow_empty_glob #827

UebelAndre opened this issue Mar 3, 2024 · 1 comment

Comments

@UebelAndre
Copy link

On 0.10.1 my builds fail with the following issue likely due to things being omitted from the release artifacts.

ERROR: Traceback (most recent call last):
	File "/home/user/.cache/bazel/_bazel_user/e497939fa198e6588dc55730b8a3a7f2/external/rules_pkg/pkg/rpm/BUILD", line 20, column 9, in <toplevel>
		glob([
Error in glob: glob pattern '*.bzl' 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).
ERROR: package contains errors: pkg/rpm: Traceback (most recent call last):
	File "/home/user/.cache/bazel/_bazel_user/e497939fa198e6588dc55730b8a3a7f2/external/rules_pkg/pkg/rpm/BUILD", line 20, column 9, in <toplevel>
		glob([
Error in glob: glob pattern '*.bzl' 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).
ERROR: Skipping '@rules_pkg//...': Error evaluating '@rules_pkg//...': error loading package '@@rules_pkg//pkg/rpm': Package 'pkg/rpm' contains errors
ERROR: Error evaluating '@rules_pkg//...': error loading package '@@rules_pkg//pkg/rpm': Package 'pkg/rpm' contains errors
@aiuto
Copy link
Collaborator

aiuto commented Mar 4, 2024

I believe this is fixed by #825

@aiuto aiuto closed this as completed Mar 4, 2024
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