[MacPorts] #58874: bazel: +bash variant doesn't build
MacPorts
noreply at macports.org
Fri Aug 23 16:38:50 UTC 2019
#58874: bazel: +bash variant doesn't build
--------------------+--------------------------
Reporter: blair | Owner: cjones051073
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: bazel
--------------------+--------------------------
At least with bazel25:
{{{
Build successful! Binary is here:
/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-
ports_devel_bazel/bazel25/work/bazel-0.25.2-dist/output/bazel
xinstall:
chdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-
ports_devel_bazel/bazel25/work/bazel-0.25.2-dist/output)
xinstall: bazel ->
/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-
ports_devel_bazel/bazel25/work/bazel-0.25.2-dist/bazel
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Analyzing: target //scripts:bazel-complete.bash (1 packages loaded, 0
targets configured)
Analyzing: target //scripts:bazel-complete.bash (89 packages loaded, 607
targets configured)
Analyzing: target //scripts:bazel-complete.bash (98 packages loaded, 696
targets configured)
ERROR:
/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-
ports_devel_bazel/bazel25/work/21f0dfe7df7c5c3003d1cc296ef2570a/external/bazel_tools/tools/jdk/BUILD:63:1:
every rule of type java_runtime_alias implicitly depends upon the target
'//:jdk10', but this target could not be found because of: no such target
'//:jdk10': target 'jdk10' not declared in package '' defined by
/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-
ports_devel_bazel/bazel25/work/bazel-0.25.2-dist/BUILD
INFO: An error occurred during the fetch of repository
'remote_java_tools_darwin'
INFO: Call stack for the definition of repository
'remote_java_tools_darwin':
- /DEFAULT.WORKSPACE.SUFFIX:226:1
ERROR: Analysis of target '//scripts:bazel-complete.bash' failed; build
aborted: Analysis failed
INFO: Elapsed time: 6.340s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (211 packages loaded, 4781
targets configured)
FAILED: Build did NOT complete successfully (211 packages loaded, 4781
targets configured)
Command failed: ./bazel --max_idle_secs=60
--output_user_root=/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-ports_devel_bazel/bazel25/work build -s --javabase
//:jdk10 --host_javabase //:jdk10 //scripts:bazel-complete.bash
Exit code: 1
}}}
Trying to replace jdk10 with jdk11 or jdk12 didn't work for me.
--
Ticket URL: <https://trac.macports.org/ticket/58874>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list