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
I keep getting the absolute oath errors unless I explicitly include all dependencies from the package
ERROR: /home/siyer/.cache/bazel/_bazel_siyer/c582577d3e8de5faefb39fedc48d429e/external/rules_boost~~non_module_dependencies~boost/BUILD.bazel:635:14: Compiling libs/container/src/unsynchronized_pool_resource.cpp failed: absolute path inclusion(s) found in rule '@@rules_boost~~non_module_dependencies~boost//:container':
the source file 'libs/container/src/unsynchronized_pool_resource.cpp' includes the following non-builtin files with absolute paths (if these are builtin files, make sure these paths are in your toolchain):
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/detail/config_begin.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/user.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/detail/select_compiler_config.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/compiler/gcc.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/detail/select_stdlib_config.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/stdlib/libstdcpp3.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/detail/select_platform_config.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/platform/linux.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/detail/posix_features.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/detail/suffix.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/helper_macros.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/detail/cxx_composite.hpp'
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/detail/workaround.hpp'
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/pmr/unsynchronized_pool_resource.hpp'
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/detail/auto_link.hpp'
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/pmr/memory_resource.hpp'
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/container_fwd.hpp'
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/detail/std_fwd.hpp'
'/tmp/bazel-source-roots/0/libs/move/include/boost/move/detail/std_ns_begin.hpp'
'/tmp/bazel-source-roots/0/libs/move/include/boost/move/detail/std_ns_end.hpp'
'/tmp/bazel-source-roots/0/libs/move/include/boost/move/detail/type_traits.hpp'
'/tmp/bazel-source-roots/0/libs/move/include/boost/move/detail/config_begin.hpp'
'/tmp/bazel-source-roots/0/libs/move/include/boost/move/detail/workaround.hpp'
'/tmp/bazel-source-roots/0/libs/move/include/boost/move/detail/meta_utils.hpp'
'/tmp/bazel-source-roots/0/libs/move/include/boost/move/detail/meta_utils_core.hpp'
'/tmp/bazel-source-roots/0/libs/move/include/boost/move/detail/addressof.hpp'
'/tmp/bazel-source-roots/0/libs/move/include/boost/move/detail/config_end.hpp'
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/detail/placement_new.hpp'
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/detail/config_end.hpp'
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/detail/pool_resource.hpp'
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/detail/block_list.hpp'
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/throw_exception.hpp'
'/tmp/bazel-source-roots/0/libs/intrusive/include/boost/intrusive/circular_list_algorithms.hpp'
'/tmp/bazel-source-roots/0/libs/intrusive/include/boost/intrusive/detail/config_begin.hpp'
'/tmp/bazel-source-roots/0/libs/intrusive/include/boost/intrusive/intrusive_fwd.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/cstdint.hpp'
'/tmp/bazel-source-roots/0/libs/intrusive/include/boost/intrusive/link_mode.hpp'
'/tmp/bazel-source-roots/0/libs/intrusive/include/boost/intrusive/detail/workaround.hpp'
'/tmp/bazel-source-roots/0/libs/intrusive/include/boost/intrusive/detail/algo_type.hpp'
'/tmp/bazel-source-roots/0/libs/intrusive/include/boost/intrusive/detail/config_end.hpp'
'/tmp/bazel-source-roots/0/libs/assert/include/boost/assert.hpp'
'/tmp/bazel-source-roots/0/libs/container/include/boost/container/pmr/pool_options.hpp'
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.894s, Critical Path: 0.28s
INFO: 23 processes: 23 internal.
ERROR: Build did NOT complete successfully
After adding
bazel_dep(name = "boringssl", version = "0.0.0-20240530-2db0eb3")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "xz", version = "5.4.5.bcr.3")
bazel_dep(name = "bzip2", version = "1.0.8")
bazel_dep(name = "zstd", version = "1.5.6")
non_module_boost_repositories = use_extension("@com_github_nelhage_rules_boost//:boost/repositories.bzl", "non_module_dependencies")
use_repo(
non_module_boost_repositories,
"boost",
)
ERROR: /home/siyer/.cache/bazel/_bazel_siyer/c582577d3e8de5faefb39fedc48d429e/external/rules_boost~~non_module_dependencies~boost/BUILD.bazel:1976:14: Compiling libs/system/src/error_code.cpp failed: absolute path inclusion(s) found in rule '@@rules_boost~~non_module_dependencies~boost//:system':
the source file 'libs/system/src/error_code.cpp' includes the following non-builtin files with absolute paths (if these are builtin files, make sure these paths are in your toolchain):
'/tmp/bazel-source-roots/0/libs/system/include/boost/system/config.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/user.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/detail/select_compiler_config.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/compiler/gcc.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/detail/select_stdlib_config.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/stdlib/libstdcpp3.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/detail/select_platform_config.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/platform/linux.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/detail/posix_features.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/detail/suffix.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/helper_macros.hpp'
'/tmp/bazel-source-roots/0/libs/config/include/boost/config/detail/cxx_composite.hpp'
'/tmp/bazel-source-roots/0/libs/system/include/boost/system/api_config.hpp'
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.054s, Critical Path: 0.19s
INFO: 18 processes: 17 internal, 1 linux-sandbox.
ERROR: Build did NOT complete successfully
The text was updated successfully, but these errors were encountered:
I keep getting the absolute oath errors unless I explicitly include all dependencies from the package
After adding
The text was updated successfully, but these errors were encountered: