[MacPorts] #67309: bazel-3.7 @3.7.2_1 build failure on Ventura arm64 (was: Trying to compile bazel-3.7 on venture arm64)
MacPorts
noreply at macports.org
Wed Apr 26 19:40:53 UTC 2023
#67309: bazel-3.7 @3.7.2_1 build failure on Ventura arm64
-------------------------+-------------------------
Reporter: I-Thompson | Owner: missa-prime
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: bazel-3.7 |
-------------------------+-------------------------
Changes (by jmroot):
* owner: (none) => missa-prime
* status: new => assigned
* priority: High => Normal
Old description:
> ERROR:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bazel/bazel-3.7/work/.tmp/bazel_br86ACUw/out/external/bazel_tools/third_party/zlib/BUILD:25:19:
> C++ compilation of rule '@bazel_tools//third_party/zlib:zlib_checked_in'
> failed (Exit 1): wrapped_clang failed: error executing command
>
> . . .
>
> **external/bazel_tools/third_party/zlib/gzlib.c:252:9: error: call to
> undeclared function 'lseek'; ISO C99 and later do not support implicit
> function declarations** [-Wimplicit-function-declaration]
> :info:build LSEEK(state->fd, 0, SEEK_END); /* so gzoffset() is
> correct */
> :info:build ^
> :info:build external/bazel_tools/third_party/zlib/gzlib.c:14:17: note:
> expanded from macro 'LSEEK'
> :info:build # define LSEEK lseek
>
> Full log attached.
New description:
ERROR:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bazel/bazel-3.7/work/.tmp/bazel_br86ACUw/out/external/bazel_tools/third_party/zlib/BUILD:25:19:
C++ compilation of rule '@bazel_tools//third_party/zlib:zlib_checked_in'
failed (Exit 1): wrapped_clang failed: error executing command
. . .
{{{
**external/bazel_tools/third_party/zlib/gzlib.c:252:9: error: call to
undeclared function 'lseek'; ISO C99 and later do not support implicit
function declarations** [-Wimplicit-function-declaration]
:info:build LSEEK(state->fd, 0, SEEK_END); /* so gzoffset() is
correct */
:info:build ^
:info:build external/bazel_tools/third_party/zlib/gzlib.c:14:17: note:
expanded from macro 'LSEEK'
:info:build # define LSEEK lseek
}}}
Full log attached.
--
--
Ticket URL: <https://trac.macports.org/ticket/67309#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list