Skip to content

Conversation

Mizux
Copy link
Collaborator

@Mizux Mizux commented Oct 1, 2025

$ bazel build -c opt ...
Computing main repo mapping:
Loading:
Loading: 0 packages loaded
Analyzing: 7 targets (1 packages loaded, 0 targets configured)
Analyzing: 7 targets (1 packages loaded, 0 targets configured)

ERROR: //examples/basic/BUILD.bazel:11:9: in deps attribute of py_wheel rule //:basic_wheel:
 alias '//:basic' referring to
 generated file '//:basic.pyd' is misplaced here (expected no files).
 Since this rule was created by the macro 'py_wheel',
 the error might have been caused by the macro implementation
ERROR: //examples/basic/BUILD.bazel:11:9: Analysis of target '//:basic_wheel' (config: 307b5b1) failed
Use --verbose_failures to see the command lines of failed build steps.
ERROR: Analysis of target '//:basic_wheel' failed; build aborted
INFO: Elapsed time: 0.334s, Critical Path: 0.02s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
@Mizux Mizux self-assigned this Oct 1, 2025
@Mizux Mizux added the bug Something isn't working label Oct 1, 2025
@Mizux Mizux merged commit 189775d into pybind:master Oct 1, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant