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
bugSomething that is supposed to be working; but isn'tcoreIssues that should be addressed in Ray CoretriageNeeds triage (eg: priority, bug/not-bug, and owning component)
WARNING: Option 'strict_java_deps' is deprecated: Use --experimental_strict_java_deps instead
DEBUG: /Users/artur/code/ray/bazel/ray_deps_setup.bzl:67:14: No implicit mirrors used because urls were explicitly provided
INFO: Analyzed target //:ray_pkg (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /private/var/tmp/_bazel_artur/5275745486df1b3805be5d731cd2c6db/external/com_github_madler_zlib/BUILD.bazel:5:11: Compiling gzlib.c failed: (Aborted): wrapped_clang failed: error executing command
(cd /private/var/tmp/_bazel_artur/5275745486df1b3805be5d731cd2c6db/sandbox/darwin-sandbox/102/execroot/com_github_ray_project_ray && \
exec env - \
APPLE_SDK_PLATFORM=MacOSX \
APPLE_SDK_VERSION_OVERRIDE=13.3 \
PATH=/Users/artur/miniforge3/envs/ray/bin:/Users/artur/miniforge3/condabin:/opt/python/cp36-cp36m/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/artur/bin \
XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
ZERO_AR_DATE=1 \
external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/com_github_madler_zlib -iquote bazel-out/darwin_arm64-opt/bin/external/com_github_madler_zlib -isystem external/com_github_madler_zlib -isystem bazel-out/darwin_arm64-opt/bin/external/com_github_madler_zlib -MD -MF bazel-out/darwin_arm64-opt/bin/external/com_github_madler_zlib/_objs/z/gzlib.pic.d -fPIC '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/com_github_madler_zlib/_objs/z/gzlib.pic.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-canonical-prefixes -pthread -w '-Dverbose=-1' -Werror -w -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx13.3 -c external/com_github_madler_zlib/gzlib.c -o bazel-out/darwin_arm64-opt/bin/external/com_github_madler_zlib/_objs/z/gzlib.pic.o)
# Configuration: 67199d4deec70d3c872536c8409a4659ddffa610cdcd97874ca1b2d2fc20f2a2
# Execution platform: @local_config_platform//:host
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/com_github_madler_zlib/gzlib.c:252:9: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
LSEEK(state->fd, 0, SEEK_END); /* so gzoffset() is correct */
^
external/com_github_madler_zlib/gzlib.c:14:17: note: expanded from macro 'LSEEK'
# define LSEEK lseek
^
external/com_github_madler_zlib/gzlib.c:252:9: note: did you mean 'fseek'?
external/com_github_madler_zlib/gzlib.c:14:17: note: expanded from macro 'LSEEK'
# define LSEEK lseek
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/stdio.h:162:6: note: 'fseek' declared here
int fseek(FILE *, long, int);
^
external/com_github_madler_zlib/gzlib.c:258:24: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
state->start = LSEEK(state->fd, 0, SEEK_CUR);
^
external/com_github_madler_zlib/gzlib.c:14:17: note: expanded from macro 'LSEEK'
# define LSEEK lseek
^
external/com_github_madler_zlib/gzlib.c:359:9: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
if (LSEEK(state->fd, state->start, SEEK_SET) == -1)
^
external/com_github_madler_zlib/gzlib.c:14:17: note: expanded from macro 'LSEEK'
# define LSEEK lseek
^
external/com_github_madler_zlib/gzlib.c:400:15: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR);
^
external/com_github_madler_zlib/gzlib.c:14:17: note: expanded from macro 'LSEEK'
# define LSEEK lseek
^
external/com_github_madler_zlib/gzlib.c:496:14: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
offset = LSEEK(state->fd, 0, SEEK_CUR);
^
external/com_github_madler_zlib/gzlib.c:14:17: note: expanded from macro 'LSEEK'
# define LSEEK lseek
^
5 errors generated.
Error in child process '/usr/bin/xcrun'. 1
Target //:ray_pkg failed to build
INFO: Elapsed time: 7.349s, Critical Path: 6.39s
INFO: 71 processes: 11 internal, 60 darwin-sandbox.
FAILED: Build did NOT complete successfully
Versions / Dependencies
master, bazel 5.4.0
Reproduction script
bazel build //:ray_pkg
Issue Severity
None
The text was updated successfully, but these errors were encountered:
ArturNiederfahrenhorst
added
bug
Something that is supposed to be working; but isn't
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
core
Issues that should be addressed in Ray Core
labels
Apr 13, 2023
bugSomething that is supposed to be working; but isn'tcoreIssues that should be addressed in Ray CoretriageNeeds triage (eg: priority, bug/not-bug, and owning component)
What happened + What you expected to happen
I can not build ray locally.
Output from calling bazel build //:ray_pkg:
Versions / Dependencies
master, bazel 5.4.0
Reproduction script
bazel build //:ray_pkg
Issue Severity
None
The text was updated successfully, but these errors were encountered: