You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My understaing of dev_dependency = True is that it does not propagate to whoever uses the module - e.g. it's for say testing, benchmarks (as it's done), but civetweb.BUILD needs it (others too), hence it'll fail.
In the mean time I'll create a soft-fork branch of prometheus-cpp (Thanks for the awesome library), and try from there.
Here are some of the errors:
ERROR: Q:/b/u/c56xnmzt/external/prometheus-cpp~override~data_deps_ext~civetweb/BUILD.bazel:10:15: no such package '@@[unknown repo 'platforms' requested from @@prometheus-cpp~override~data_deps_ext~civetweb]//os': The repository '@@[unknown repo 'platforms' requested from @@prometheus-cpp~override~data_deps_ext~civetweb]' could not be resolved: No repository visible as '@platforms' from repository '@@prometheus-cpp~override~data_deps_ext~civetweb' and referenced by '@@prometheus-cpp~override~data_deps_ext~civetweb//:windows'
and (just saw as I was typing, similar for rules_cc)
ERROR: Q:/b/u/c56xnmzt/external/prometheus-cpp~override~data_deps_ext~civetweb/BUILD.bazel:50:11: error loading package '@@prometheus-cpp~override~data_deps_ext~boringssl//': Unable to find package for @@[unknown repo 'rules_cc' requested from @@prometheus-cpp~override~data_deps_ext~boringssl]//cc:defs.bzl: The repository '@@[unknown repo 'rules_cc' requested from @@prometheus-cpp~override~data_deps_ext~boringssl]' could not be resolved: No repository visible as '@rules_cc' from repository '@@prometheus-cpp~override~data_deps_ext~boringssl'. and referenced by '@@prometheus-cpp~override~data_deps_ext~civetweb//:libcivetweb'
The text was updated successfully, but these errors were encountered:
malkia
pushed a commit
to malkia/prometheus-cpp
that referenced
this issue
Feb 26, 2024
I'm trying to use prometheus-cpp through bzlmod, e.g. in my MODULE.bazel file I'll have:
but it'll fail to find the
@platforms
module, because it was marked as "dev_dependency = True" in here https://github.com/jupp0r/prometheus-cpp/blob/master/MODULE.bazel#L17 (I guess similar would be for "rules_cc")My understaing of
dev_dependency = True
is that it does not propagate to whoever uses the module - e.g. it's for say testing, benchmarks (as it's done), butcivetweb.BUILD
needs it (others too), hence it'll fail.In the mean time I'll create a soft-fork branch of
prometheus-cpp
(Thanks for the awesome library), and try from there.Here are some of the errors:
and (just saw as I was typing, similar for
rules_cc
)The text was updated successfully, but these errors were encountered: