I'm on macos trying to pull in bazel_rules_pex. It was working before 0.10, but after upgrading, I get an error like:
ERROR: /Users/flaub/src/vertex/work1-imac/private/vision/web/BUILD:59:1: every rule of type pex_binary implicitly depends upon the target '@io_bazel_rules_pex//pex:pex_wrapper', but this target could not be found because of: error loading package '@io_bazel_rules_pex//pex': Extension file not found. Unable to load package for '//pex:pex_rules.bzl': BUILD file not found on package path
ERROR: Analysis of target '//vision/web:demo.pex' failed; build aborted: error loading package '@io_bazel_rules_pex//pex': Extension file not found. Unable to load package for '//pex:pex_rules.bzl': BUILD file not found on package path
After some digging, it appears that the bazel_prelude defined in the io_bazel_rules_pex workspace is somehow effecting my workspace. So I removed the prelude from io_bazel_rules_pex and now it seems to work.
I'm on macos trying to pull in bazel_rules_pex. It was working before 0.10, but after upgrading, I get an error like:
My WORKSPACE has this in it:
After some digging, it appears that the
bazel_prelude
defined in theio_bazel_rules_pex
workspace is somehow effecting my workspace. So I removed the prelude fromio_bazel_rules_pex
and now it seems to work.