[MacPorts] #65116: libgcc10 @10.2.0_5: Failed to patch libgcc10: command execution failed (was: libgcc @libgcc10-10.2.0_5.darwin_21: Failed to patch libgcc10: command execution failed)

MacPorts noreply at macports.org
Wed May 4 20:58:42 UTC 2022


#65116: libgcc10 @10.2.0_5: Failed to patch libgcc10: command execution failed
---------------------------+--------------------
  Reporter:  Gaskell-1206  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:
      Port:  gcc10         |
---------------------------+--------------------
Changes (by ryandesign):

 * port:  libgcc => gcc10


Old description:

> Hi, I was trying to install gcc6 by "sudo port install gcc6", but I got
> the following problem:
>
> Error: Failed to patch libgcc10: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/libgcc10/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port gcc6 failed
>
> main.log has been attached

New description:

 Hi, I was trying to install gcc6 by "sudo port install gcc6", but I got
 the following problem:

 {{{
 Error: Failed to patch libgcc10: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/libgcc10/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port gcc6 failed
 }}}

 main.log has been attached

--

Comment:

 {{{
 :info:patch --->  Applying patch-darwin21-support.diff
 :debug:patch Environment:
 :debug:patch CC_PRINT_OPTIONS='YES'
 :debug:patch
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/libgcc10/work/.CC_PRINT_OPTIONS'
 :debug:patch CPATH='/opt/local/include'
 :debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
 :debug:patch LIBRARY_PATH='/opt/local/lib'
 :debug:patch MACOSX_DEPLOYMENT_TARGET='12.0'
 :debug:patch
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
 :info:patch Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/libgcc10/work/gcc-10-arm-20210220"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/gcc10/files
 /patch-darwin21-support.diff'
 :debug:patch system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/libgcc10/work/gcc-10-arm-20210220"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/gcc10/files
 /patch-darwin21-support.diff'
 :info:patch patching file gcc/config.gcc
 :info:patch Hunk #1 FAILED at 679.
 :info:patch 1 out of 1 hunk FAILED -- saving rejects to file
 gcc/config.gcc.rej
 :info:patch patching file gcc/config/darwin-c.c
 :info:patch Hunk #1 succeeded at 692 (offset 1 line).
 :info:patch patching file gcc/config/darwin-driver.c
 }}}

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


More information about the macports-tickets mailing list