error from building ignored package blames --deleted_packages
Open
not stale
P3
team-OSS
type: bug
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 72
Description
```
$ touch WORKSPACE
$ cat > .bazelignore
pkg
$ bazel build //pkg
ERROR: Skipping '//pkg': no such package 'pkg': Package is considered deleted due to --deleted_packages
WARNING: Target pattern parsing failed.
ERROR: no such package 'pkg': Package is considered deleted due to --deleted_packages
```
Contributor guide
Research direction
Reproduce the commands using WORKSPACE and .bazelignore, then trace how the //pkg target is rejected and why the message refers to --deleted_packages. Compare the handling of the ignored package with the reported diagnostic; done means the build reports the relevant .bazelignore condition instead of blaming --deleted_packages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100