[MacPorts] #67309: bazel-3.7 @3.7.2_1 build failure on Ventura arm64

MacPorts noreply at macports.org
Fri Nov 3 22:17:19 UTC 2023


#67309: bazel-3.7 @3.7.2_1 build failure on Ventura arm64
-------------------------+-------------------------
  Reporter:  I-Thompson  |      Owner:  missa-prime
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:  fixed       |   Keywords:
      Port:  bazel-3.7   |
-------------------------+-------------------------
Changes (by ryandesign):

 * status:  assigned => closed
 * resolution:   => fixed


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.

--

Comment:

 bazel-3.7 was made obsolete in [94a406552293645e2b775cf17441ae5e65115455
 /macports-ports].

-- 
Ticket URL: <https://trac.macports.org/ticket/67309#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list