Opened 6 years ago

Closed 3 years ago

Last modified 3 years ago

#56598 closed defect (fixed)

bazel @0.11.1: error: unrecognized command line option '-fobjc-link-runtime'

Reported by: dbl001 (dbl) Owned by: RootFunction
Priority: Normal Milestone:
Component: ports Version: 2.5.0
Keywords: Cc:
Port: bazel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

 sudo port install bazel
Password:
--->  Computing dependencies for bazel
--->  Fetching archive for bazel
--->  Attempting to fetch bazel-0.11.1_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/bazel
--->  Attempting to fetch bazel-0.11.1_0.darwin_15.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/bazel
--->  Attempting to fetch bazel-0.11.1_0.darwin_15.x86_64.tbz2 from http://kmq.jp.packages.macports.org/bazel
--->  Fetching distfiles for bazel
--->  Attempting to fetch bazel-0.11.1-dist.zip from https://distfiles.macports.org/bazel
--->  Verifying checksums for bazel                                               
--->  Extracting bazel
--->  Configuring 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.
Error: Processing of port bazel failed

Attachments (1)

main.log (167.1 KB) - added by dbl001 (dbl) 6 years ago.
hazel build log

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by dbl001 (dbl)

Attachment: main.log added

hazel build log

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Milestone: MacPorts 2.5.1
Owner: set to RootFunction
Port: bazel added
Status: newassigned
Summary: sudo port install bazelbazel @0.11.1: cc_wrapper.sh failed: error executing command

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: bazel @0.11.1: cc_wrapper.sh failed: error executing commandbazel @0.11.1: error: unrecognized command line option '-fobjc-link-runtime'

Is this still a problem with bazel 0.18.0?

comment:3 Changed 5 years ago by dbl001 (dbl)

Works now:

$  sudo port install bazel
Password:
Portfile changed since last build; discarding previous state.
--->  Computing dependencies for bazel
The following dependencies will be installed:  openjdk10
Continue? [Y/n]: y
--->  Fetching archive for openjdk10
--->  Attempting to fetch openjdk10-10.0.2_2.darwin_15.x86_64.tbz2 from https://packages.macports.org/openjdk10
--->  Attempting to fetch openjdk10-10.0.2_2.darwin_15.x86_64.tbz2.rmd160 from https://packages.macports.org/openjdk10
--->  Installing openjdk10 @10.0.2_2
--->  Activating openjdk10 @10.0.2_2
--->  Cleaning openjdk10
--->  Fetching archive for bazel
--->  Attempting to fetch bazel-0.18.0_3.darwin_15.x86_64.tbz2 from https://packages.macports.org/bazel
--->  Attempting to fetch bazel-0.18.0_3.darwin_15.x86_64.tbz2.rmd160 from https://packages.macports.org/bazel
--->  Installing bazel @0.18.0_3
--->  Activating bazel @0.18.0_3
--->  Cleaning bazel
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.                             
--->  No broken ports found.
--->  Some of the ports you installed have notes:
  bazel has the following notes:
    See http://bazel.build/docs/getting-started.html to start a new project!
  openjdk10 has the following notes:
    Warning: Support for OpenJDK 10.x has reached end of life and there will be
    no more updates.
             Please consider upgrading to a supported OpenJDK version.
r$ 
Last edited 3 years ago by neverpanic (Clemens Lang) (previous) (diff)

comment:4 Changed 3 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.