[MacPorts] #58874: bazel +bash_completion: 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 BUILD

MacPorts noreply at macports.org
Wed Feb 3 06:04:37 UTC 2021


#58874: bazel +bash_completion: 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 BUILD
---------------------+--------------------------
  Reporter:  blair   |      Owner:  cjones051073
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:  fixed   |   Keywords:
      Port:  bazel   |
---------------------+--------------------------
Changes (by Jiawen (Kevin) Chen <jiawen@…>):

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


Comment:

 In [changeset:"51ae3db2c027162da024f1b617f87af7d4c5237c/macports-ports"
 51ae3db2c027162da024f1b617f87af7d4c5237c/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="51ae3db2c027162da024f1b617f87af7d4c5237c"
 bazel: fix build for +bash_completion variant

 * Removed --javabase //:jdk10 --host_javabase //:jdk10.
 * Upstream bazel BUILD file does not seem to pass it.
   BUILD target
 (https://github.com/bazelbuild/bazel/blob/master/scripts/BUILD) is a
 genrule,
   which simply runs this shell script:
 https://github.com/bazelbuild/bazel/blob/master/scripts/generate_bash_completion.sh.

 Closes: https://trac.macports.org/ticket/58874
 Closes: https://github.com/macports/macports-ports/pull/9721
 Tested: edited portfile locally and installed.
 }}}

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


More information about the macports-tickets mailing list