[MacPorts] #67309: Trying to compile bazel-3.7 on venture arm64

MacPorts noreply at macports.org
Wed Apr 26 18:43:50 UTC 2023


#67309: Trying to compile bazel-3.7 on venture arm64
------------------------+-----------------------
 Reporter:  I-Thompson  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  High        |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  bazel-3.7
------------------------+-----------------------
 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>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list