Opened 2 years ago

Closed 21 months ago

#65116 closed defect (fixed)

libgcc10 @10.2.0_5: Failed to patch libgcc10: command execution failed

Reported by: Gaskell-1206 (Gaskell-1206) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: gcc10

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

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

Attachments (1)

main.log (3.0 MB) - added by Gaskell-1206 (Gaskell-1206) 2 years ago.

Change History (3)

Changed 2 years ago by Gaskell-1206 (Gaskell-1206)

Attachment: main.log added

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

Description: modified (diff)
Port: gcc10 added; libgcc removed
Summary: libgcc @libgcc10-10.2.0_5.darwin_21: Failed to patch libgcc10: command execution failedlibgcc10 @10.2.0_5: Failed to patch libgcc10: command execution failed
: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

comment:2 Changed 21 months ago by cjones051073 (Chris Jones)

Resolution: fixed
Status: newclosed

closing as patch file in question is now removed.

Note: See TracTickets for help on using tickets.