[MacPorts] #64442: bazel build points to builder directory _opt_bblocal_var_buildworker_ports_build_ports_devel_bazel
MacPorts
noreply at macports.org
Tue Jul 12 13:44:30 UTC 2022
#64442: bazel build points to builder directory
_opt_bblocal_var_buildworker_ports_build_ports_devel_bazel
--------------------------------------------+-------------------------
Reporter: essandess | Owner: missa-prime
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: bazel, py-tensorflow-metadata |
--------------------------------------------+-------------------------
Comment (by essandess):
The issue appears to be that these {{{reinplace}}} lines in the bazel PG,
https://github.com/macports/macports-
ports/blob/17650ce5ce243e23518ef25d27f135e702cb9872/_resources/port1.0/group/bazel-1.0.tcl#L267-L268
are incompatible with these {{{reinplsace}}} lines in the bazel Portfile,
https://github.com/macports/macports-
ports/blob/57e385306ceed921f829e0aa7a3bb29f9948ec83/devel/bazel/Portfile#L279-L280
The fix appears to be to be just keeping around an original version of the
file {{{.//tools/osx/crosstool/wrapped_clang.cc}}} and copying this back
in a {{{post-build}}} phase, or in {{{post-destroot}}}.
I'd post a PR for this, but I can't get bazel to build locally. Chris, is
this correct? Would you please post a fix?
--
Ticket URL: <https://trac.macports.org/ticket/64442#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list