Skip to content

Facing build and test issues on PPC64LE architecture for the version 0.27.0 #1579

Open
@vinodk99

Description

@vinodk99

🐞 bug report

Affected Rule

bazel build //...
WARNING: /rules_python/docs/BUILD.bazel:31:6: target '//docs:bazel_repo_tools' is deprecated: Use @bazel_tools//tools:bzl_srcs instead; targets under //docs are internal.
WARNING: /rules_python/docs/BUILD.bazel:25:6: target '//docs:defs' is deprecated: Use //python:defs_bzl instead; targets under //docs are internal.
WARNING: /rules_python/docs/BUILD.bazel:37:12: target '//docs:pip_install_bzl' is deprecated: Use //python:pip_bzl or //python/pip_install:pip_repository_bzl instead; targets under //docs are internal.
WARNING: /rules_python/docs/BUILD.bazel:47:6: target '//docs:requirements_parser_bzl' is deprecated: Use //python/pip_install:pip_repository_bzl instead; Both the requirements parser and targets under //docs are internal
INFO: Analyzed 534 targets (0 packages loaded, 0 targets configured).
INFO: Found 534 targets...
WARNING: failed to create one or more convenience symlinks for prefix 'bazel-':
cannot create symbolic link bazel-bin -> /home/user1/.cache/bazel/_bazel_user1/a946ea50162806df64f75665b6e6ad3e/execroot/rules_python/bazel-out/ppc-fastbuild/bin: /rules_python/bazel-bin (Permission denied)
cannot create symbolic link bazel-testlogs -> /home/user1/.cache/bazel/_bazel_user1/a946ea50162806df64f75665b6e6ad3e/execroot/rules_python/bazel-out/ppc-fastbuild/testlogs: /rules_python/bazel-testlogs (Permission denied)
cannot create symbolic link bazel-out -> /home/user1/.cache/bazel/_bazel_user1/a946ea50162806df64f75665b6e6ad3e/execroot/rules_python/bazel-out: /rules_python/bazel-out (Permission denied)
cannot create symbolic link bazel-rules_python -> /home/user1/.cache/bazel/_bazel_user1/a946ea50162806df64f75665b6e6ad3e/execroot/rules_python: /rules_python/bazel-rules_python (Permission denied)
INFO: Elapsed time: 0.357s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action

Description

A clear and concise description of the problem...

Facing build issues on ppc64le architecture :

bazel build //...
WARNING: /rules_python/docs/BUILD.bazel:31:6: target '//docs:bazel_repo_tools' is deprecated: Use @bazel_tools//tools:bzl_srcs instead; targets under //docs are internal.
WARNING: /rules_python/docs/BUILD.bazel:25:6: target '//docs:defs' is deprecated: Use //python:defs_bzl instead; targets under //docs are internal.
WARNING: /rules_python/docs/BUILD.bazel:37:12: target '//docs:pip_install_bzl' is deprecated: Use //python:pip_bzl or //python/pip_install:pip_repository_bzl instead; targets under //docs are internal.
WARNING: /rules_python/docs/BUILD.bazel:47:6: target '//docs:requirements_parser_bzl' is deprecated: Use //python/pip_install:pip_repository_bzl instead; Both the requirements parser and targets under //docs are internal
INFO: Analyzed 534 targets (0 packages loaded, 0 targets configured).
INFO: Found 534 targets...
WARNING: failed to create one or more convenience symlinks for prefix 'bazel-':
cannot create symbolic link bazel-bin -> /home/user1/.cache/bazel/_bazel_user1/a946ea50162806df64f75665b6e6ad3e/execroot/rules_python/bazel-out/ppc-fastbuild/bin: /rules_python/bazel-bin (Permission denied)
cannot create symbolic link bazel-testlogs -> /home/user1/.cache/bazel/_bazel_user1/a946ea50162806df64f75665b6e6ad3e/execroot/rules_python/bazel-out/ppc-fastbuild/testlogs: /rules_python/bazel-testlogs (Permission denied)
cannot create symbolic link bazel-out -> /home/user1/.cache/bazel/_bazel_user1/a946ea50162806df64f75665b6e6ad3e/execroot/rules_python/bazel-out: /rules_python/bazel-out (Permission denied)
cannot create symbolic link bazel-rules_python -> /home/user1/.cache/bazel/_bazel_user1/a946ea50162806df64f75665b6e6ad3e/execroot/rules_python: /rules_python/bazel-rules_python (Permission denied)
INFO: Elapsed time: 0.357s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action

🌍 Your Environment

Operating System:

OS:rhel8

Output of bazel version:

bazel version
Build label: 6.0.0- (@Non-Git)
Build target: bazel-out/ppc-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Mon Nov 27 10:26:21 2023 (1701080781)
Build timestamp: 1701080781
Build timestamp as int: 1701080781

Rules_python version:
git branch

  • (HEAD detached at 0.27.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions