Opened 5 years ago

Closed 5 years ago

#59693 closed defect (fixed)

libgcc7 @7.5.0: cannot upgrade or install libgcc7

Reported by: brolcz Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: libgcc7

Description

I have tried to upgrade libgcc7, as well as uninstall/clean/reinstall. None of the methods work. I am using Mac OS X 10.14.6 Mojave.

Here is the relevant section of the log:

:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc7/libgcc7/work/gcc-7.5.0" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/gcc7/files/xcode-bug-_Atomic-fix.patch'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc7/libgcc7/work/gcc-7.5.0" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/gcc7/files/xcode-bug-_Atomic-fix.patch'
:info:patch patching file fixincludes/fixincl.x
:info:patch Hunk #1 FAILED at 2.
:info:patch Hunk #2 FAILED at 15.
:info:patch Hunk #3 succeeded at 3470 (offset 208 lines).
:info:patch Hunk #4 FAILED at 10389.
:info:patch Hunk #5 FAILED at 10472.
:info:patch Hunk #6 succeeded at 11054 with fuzz 2 (offset 238 lines).
:info:patch 4 out of 6 hunks FAILED -- saving rejects to file fixincludes/fixincl.x.rej
:info:patch patching file fixincludes/inclhack.def
:info:patch Hunk #1 succeeded at 1793 with fuzz 1 (offset 105 lines).
:info:patch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc7/libgcc7/work/gcc-7.5.0" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/gcc7/files/xcode-bug-_Atomic-fix.patch'
:info:patch Exit code: 1
:error:patch Failed to patch libgcc7: command execution failed
:debug:patch Error code: CHILDSTATUS 33123 1
:debug:patch Backtrace: command execution failed
:debug:patch     while executing
:debug:patch "system {*}$notty {*}$nice $fullcmdstring"
:debug:patch     invoked from within
:debug:patch "command_exec patch "" "< '$patch'""
:debug:patch     (procedure "portpatch::patch_main" line 41)
:debug:patch     invoked from within
:debug:patch "$procedure $targetname"
:error:patch See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc7/libgcc7/main.log for details.

Change History (2)

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

I believe this was fixed in [dcefaea1eca247c8ed6e8feb6d982598446c172e/macports-ports]. Please sudo port selfupdate and try again.

comment:2 Changed 5 years ago by kencu (Ken)

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