[MacPorts] #58569: bazel @0.26.1 build failure: unrecognized command line option '-fobjc-link-runtime'

MacPorts noreply at macports.org
Sun Jun 9 00:40:30 UTC 2019


#58569: bazel @0.26.1 build failure: unrecognized command line option '-fobjc-link-
runtime'
---------------------+--------------------------
  Reporter:  dbl001  |      Owner:  cjones051073
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.5.4
Resolution:  fixed   |   Keywords:
      Port:  bazel   |
---------------------+--------------------------
Description changed by ryandesign:

Old description:

> {{{
> debug:sysinfo OS X 10.11 (darwin/15.6.0) arch i386
> :debug:sysinfo MacPorts 2.5.4
> :debug:sysinfo Xcode 8.2
> :debug:sysinfo SDK 10.11
> :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.11
> $ gcc --version
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
> --with-gxx-include-dir=/usr/include/c++/4.2.1
> Apple LLVM version 8.0.0 (clang-800.0.42.1)
> Target: x86_64-apple-darwin15.6.0
> Thread model: posix
> InstalledDir:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
> }}}
>

> info:build ^M^[[1A^[[Kgcc: error: unrecognized command line option
> '-fobjc-link-runtime'
>
> {{{
> $ sudo port upgrade outdated
> --->  Computing dependencies for bazel
> --->  Fetching archive for bazel
> --->  Attempting to fetch bazel-0.26.1_0.darwin_15.x86_64.tbz2 from
> https://packages.macports.org/bazel
> --->  Attempting to fetch bazel-0.26.1_0.darwin_15.x86_64.tbz2 from
> http://sea.us.packages.macports.org/macports/packages/bazel
> --->  Attempting to fetch bazel-0.26.1_0.darwin_15.x86_64.tbz2 from
> http://ywg.ca.packages.macports.org/mirror/macports/packages/bazel
> --->  Fetching distfiles for bazel
> --->  Attempting to fetch bazel-0.26.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.
>
> }}}

New description:

 {{{
 debug:sysinfo OS X 10.11 (darwin/15.6.0) arch i386
 :debug:sysinfo MacPorts 2.5.4
 :debug:sysinfo Xcode 8.2
 :debug:sysinfo SDK 10.11
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.11
 $ gcc --version
 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
 --with-gxx-include-dir=/usr/include/c++/4.2.1
 Apple LLVM version 8.0.0 (clang-800.0.42.1)
 Target: x86_64-apple-darwin15.6.0
 Thread model: posix
 InstalledDir:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 }}}

 {{{
 info:build ^M^[[1A^[[Kgcc: error: unrecognized command line option
 '-fobjc-link-runtime'
 }}}

 {{{
 $ sudo port upgrade outdated
 --->  Computing dependencies for bazel
 --->  Fetching archive for bazel
 --->  Attempting to fetch bazel-0.26.1_0.darwin_15.x86_64.tbz2 from
 https://packages.macports.org/bazel
 --->  Attempting to fetch bazel-0.26.1_0.darwin_15.x86_64.tbz2 from
 http://sea.us.packages.macports.org/macports/packages/bazel
 --->  Attempting to fetch bazel-0.26.1_0.darwin_15.x86_64.tbz2 from
 http://ywg.ca.packages.macports.org/mirror/macports/packages/bazel
 --->  Fetching distfiles for bazel
 --->  Attempting to fetch bazel-0.26.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.

 }}}

--

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


More information about the macports-tickets mailing list