#59442 closed defect (fixed)
bazel @1.1.0: in xcode_config rule @local_config_xcode//:host_xcodes: if any versions are specified, a default version must be specified
Reported by: | dbl001 (dbl) | Owned by: | RootFunction |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | cjones051073 (Chris Jones) | |
Port: | bazel |
Description
I'm on OS X 10.11.6.
$ sudo port upgrade outdated Password: Sorry, try again. Password: ---> Computing dependencies for bazel ---> Fetching archive for bazel ---> Attempting to fetch bazel-1.1.0_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/bazel ---> Attempting to fetch bazel-1.1.0_0.darwin_15.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/bazel ---> Attempting to fetch bazel-1.1.0_0.darwin_15.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/bazel ---> Building bazel Error: Failed to build bazel: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_bazel/bazel/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. MacBook-Pro:nlp_class2 davidlaxer$ !v vi /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_bazel/bazel/main.log
Attachments (1)
Change History (10)
Changed 5 years ago by dbl001 (dbl)
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | cjones051073 added |
---|---|
Keywords: | bazel removed |
Owner: | set to RootFunction |
Status: | new → assigned |
Summary: | ERROR: ^[[0mAnalysis of target '//src:bazel_nojdk' failed; build aborted: Analysis of target '@local_config_xcode//:host_xcodes' failed → bazel @1.1.0: in xcode_config rule @local_config_xcode//:host_xcodes: if any versions are specified, a default version must be specified |
comment:2 Changed 5 years ago by cjones051073 (Chris Jones)
comment:4 Changed 5 years ago by cjones051073 (Chris Jones)
Does it repeatedly fail, if you just keep cleaning and trying again ? (I've seen this happen recently).
comment:5 Changed 5 years ago by cjones051073 (Chris Jones)
OK, I can reproduce the problem.
I think its just a case of upstream no longer supporting 10.11 (they really only support that last few releases) and have finally put something into the last release that does not work on 10.11.
Looking at
https://ports.macports.org/port/bazel/builds
10.12 seems OK, so I think I will just up the minimum supported OS to 10.12 ...
If you *really* need the latest bazel, on macOS 10.11, then I invite you to discuss this with the upstream bazel devs. There are also the bazel26 and bazel25 sub-ports that provide slightly older releases, that you can still use.
comment:6 Changed 5 years ago by dbl001 (dbl)
The log file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_bazel/bazel/main.log
only shows two ERRORs:
:info:build ^M^[[1A^[[K^M^[[1A^[[K^M^[[1A^[[K^M^[[1A^[[K^[[31m^[[1mERROR: ^[[0m/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_bazel/bazel/work/.tmp/bazel_lYYfkspA/out/external/local_config_xcode/BUILD:12:1: in xcode_config rule @local_config_xcode//:host_xcodes: if any versions are specified, a default version must be specified :info:build ^[[32mAnalyzing:^[[0m target //src:bazel_nojdk (101 packages loaded, 860 targets configur\ :info:build ed) ... :info:build ^M^[[1A^[[K^M^[[1A^[[K^M^[[1A^[[K^[[31m^[[1mERROR: ^[[0mAnalysis of target '//src:bazel_nojdk' failed; build aborted: Analysis of target '@local_config_xcode//:host_xcodes' failed; build aborted
comment:7 Changed 5 years ago by Chris Jones <jonesc@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:8 Changed 5 years ago by dbl001 (dbl)
Will port detect the old OS version and Xcode version and skip updating 'bazel' or do I need to uninstall 'bazel'?
comment:9 Changed 5 years ago by cjones051073 (Chris Jones)
uninstall bazel, and if you need it, pick either of bazel25 or bazel26 to install instead.
Do you have Xcode installed ?