[MacPorts] #56996: libgcc45 @4.5.4_15: fails to upgrade on macOS 10.12.6

MacPorts noreply at macports.org
Sat Aug 18 17:55:17 UTC 2018


#56996: libgcc45 @4.5.4_15: fails to upgrade on macOS 10.12.6
----------------------+----------------------
 Reporter:  mopihopi  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  libgcc45
----------------------+----------------------
 Upgrading libgcc45 fails on macOS 10.12.6.  On macOS 10.13 there is an
 error that it is "not supported on macOS High Sierra and newer", however
 this is on macOS 10.12 Sierra where libgcc45 @4.5.4_14 works.  If it is no
 longer intended to work on Sierra then the error should be updated.

 {{{
 $ port installed libgcc45
 The following ports are currently installed:
   libgcc45 @4.5.4_14 (active)
 $ sudo port upgrade libgcc45
 --->  Computing dependencies for libgcc45
 --->  Fetching archive for libgcc45
 --->  Attempting to fetch libgcc45-4.5.4_15.darwin_16.x86_64.tbz2 from
 https://packages.macports.org/libgcc45
 --->  Attempting to fetch libgcc45-4.5.4_15.darwin_16.x86_64.tbz2 from
 http://sea.us.packages.macports.org/macports/packages/libgcc45
 --->  Attempting to fetch libgcc45-4.5.4_15.darwin_16.x86_64.tbz2 from
 http://ywg.ca.packages.macports.org/mirror/macports/packages/libgcc45
 --->  Fetching distfiles for libgcc45
 --->  Verifying checksums for libgcc45
 --->  Extracting libgcc45
 --->  Applying patches to libgcc45
 --->  Configuring libgcc45
 --->  Building libgcc45
 Error: Failed to build libgcc45: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc45/libgcc45/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 $ sw_vers
 ProductName:    Mac OS X
 ProductVersion: 10.12.6
 BuildVersion:   16G1510
 $ xcodebuild -version
 Xcode 9.2
 Build version 9C40b
 $
 }}}

 The log file contains the following error:
 {{{
 :info:build libtool: compile:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc45/libgcc45/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc45/libgcc45/work/build/./gcc/
 -B/opt/local/x86_64-apple-darwin16/bin/ -B/opt/local/x86_64-apple-
 darwin16/lib/ -isystem /opt/local/x86_64-apple-darwin16/include -isystem
 /opt/local/x86_64-apple-darwin16/sys-include -fgnu-runtime -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc45/libgcc45/work/gcc-4.5.4/libobjc
 -g -pipe -Os -W -Wall -Wwrite-strings -Wstrict-prototypes -DIN_GCC
 -DIN_TARGET_LIBS -fno-strict-aliasing -fexceptions
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc45/libgcc45/work/gcc-4.5.4/libobjc/objc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc45/libgcc45/work/gcc-4.5.4/libobjc/../gcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc45/libgcc45/work/gcc-4.5.4/libobjc/../gcc/config
 -I../.././gcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc45/libgcc45/work/gcc-4.5.4/libobjc/../include
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc45/libgcc45/work/gcc-4.5.4/libobjc/linking.m
 -fno-common -DPIC -o .libs/linking.o
 :info:build <stdin>:95:16: error: non-local symbol required in directive
 :info:build .no_dead_strip L_OBJC_SYMBOLS
 :info:build                ^
 :info:build <stdin>:126:16: error: non-local symbol required in directive
 :info:build .no_dead_strip L_OBJC_METH_VAR_NAME_0
 :info:build                ^
 :info:build <stdin>:130:16: error: non-local symbol required in directive
 :info:build .no_dead_strip L_OBJC_METH_VAR_TYPE_0
 :info:build                ^
 :info:build <stdin>:135:16: error: non-local symbol required in directive
 :info:build .no_dead_strip L_OBJC_SELECTOR_TABLE
 :info:build                ^
 :info:build <stdin>:145:16: error: non-local symbol required in directive
 :info:build .no_dead_strip L_OBJC_CLASS_NAME_0
 :info:build                ^
 :info:build <stdin>:149:16: error: non-local symbol required in directive
 :info:build .no_dead_strip L_OBJC_MODULES
 :info:build                ^
 :info:build make[2]: *** [linking.lo] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/56996>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list