Opened 6 years ago
Closed 6 years ago
#57059 closed defect (duplicate)
Unable to build libgcc45-4.5.4_15 on MacOS 10.12 with Xcode 9.2
Reported by: | Xof (Christophe Pettus) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), kencu (Ken) | |
Port: | libgcc45 |
Description
Final lines below; build log attached.
port clean done before build.
MacOS 10.12.6; XCode 9.2.
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc45/libgcc45/work/build' :info:build make: *** [bootstrap-lean] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc45/libgcc45/work/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc45/libgcc45/work/build" && /usr/bin/make -j8 -w bootstrap-lean :info:build Exit code: 2 :error:build Failed to build libgcc45: command execution failed :debug:build Error code: CHILDSTATUS 11406 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc45/libgcc45/main.log for details.
Attachments (1)
Change History (8)
Changed 6 years ago by Xof (Christophe Pettus)
Attachment: | main.log.gz added |
---|
comment:1 Changed 6 years ago by kencu (Ken)
looks like it builds on 10.5 to 10.11 <http://packages.macports.org/libgcc45/?C=N;O=A> but not newer systems.
This is a known issue with gcc version less than 5 -- see 56511. It is probably fixable, but nobody has bothered to fix it because so far it hasn't been that needed.
Can you use gcc5+ instead? Fixing this is probably a bit of a PITA.
comment:2 Changed 6 years ago by kencu (Ken)
Port: | libgcc45 added; libgcc45-4.5.4_15 removed |
---|---|
Summary: | Unable to build libgcc45-4.5.4_15 → Unable to build libgcc45-4.5.4_15 on MacOS 10.12 with Xcode 9.2 |
comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:4 Changed 6 years ago by jmroot (Joshua Root)
Cc: | ryandesign kencu added |
---|
You're sure this is the same issue? As I noted in the other ticket, gcc45 built OK on 10.12 (as did all gcc versions other than 4.9).
comment:5 Changed 6 years ago by jmroot (Joshua Root)
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
The error here (AFAICT) seems to be:
:info:build checking for ISO C99 support in <complex.h>... <stdin>:96:16: error: non-local symbol required in directive :info:build .no_dead_strip L_OBJC_SYMBOLS :info:build ^
This is different to the error in the other ticket.
comment:6 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
I'm not sure it's the same issue. I don't have a Sierra system easily to hand at the moment to test it.
Our Sierra buildbot worker succeeded in building gcc45 and libgcc45 back on June 6 and we have those binaries on our packages server, but libgcc45 was updated in August and that rebuild did not succeed on Sierra. I'm triggering a rebuild to see what the problem is there:
https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/66746
comment:7 Changed 6 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
So actually this is a dupe, but of #56996.
build log