Opened 10 years ago

Closed 10 years ago

#45632 closed defect (duplicate)

gcc47 @4.7.4_1 Build failure with Xcode 6.1 and Yosemite

Reported by: klmarkey@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc: michaelld (Michael Dickens)
Port: gcc47

Description

Build fails because of an apparent configuration error when upgrading octave or when attempting to reinstall gcc47 with OS X 10.10 and Xcode 6.1 (from scratch per MacPorts guidelines). I will attach the full log, but there are two errors in the build log.

During initial configuration:

:info:build <built-in>:0:0: error: unknown value '10.10' of -mmacosx-version-min

and during configuration stage 1 when "checking for suffix of object files":

:info:build checking for x86_64-apple-darwin14-gcc... /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin14/bin/ -B/opt/local/x86_64-apple-darwin14/lib/ -isystem /opt/local/x86_64-apple-darwin14/include -isystem /opt/local/x86_64-apple-darwin14/sys-include
:info:build checking for suffix of object files... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/x86_64-apple-darwin14/libgcc':
:info:build configure: error: cannot compute suffix of object files: cannot compile

No config.log could be found.

I was attempting to build gcc47 only as a dependency for port "octave" which also has gcc48 as a dependency. Gcc48 builds correctly. I'm not sure why Octave would require both compilers. Nonetheless, I wished to report this build failure.

Attachments (1)

octave-gcc47-failure.txt (26.0 MB) - added by klmarkey@… 10 years ago.
Log file

Change History (2)

Changed 10 years ago by klmarkey@…

Attachment: octave-gcc47-failure.txt added

Log file

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: michaelld@… added
Resolution: duplicate
Status: newclosed

Duplicate of #43978 (which I’ve fixed for gcc47), although I don’t know why both GCC versions are getting pulled in.

Note: See TracTickets for help on using tickets.