Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45485 closed defect (duplicate)

gcc47 won't build

Reported by: christopherbalz@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: yosemite Cc: ryandesign (Ryan Carsten Schmidt), tristancollins (Tristan Collins), dave@…, anddam (Andrea D'Amore)
Port: gcc47

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

I'm not sure what the cause of this is; I've attached my log for this port. I'm on Yosemite all-up-to-date. Other ports are building fine,

:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build" && /usr/bin/make -j4 -w bootstrap 
:info:build Exit code: 2
:error:build org.macports.build for port gcc47 returned: command execution failed
:debug:build Error code: CHILDSTATUS 85757 2
:debug:build Backtrace: command execution failed
    while executing

Attachments (3)

main.log (11.5 KB) - added by christopherbalz@… 10 years ago.
gcc47/main.log
config.log (15.7 KB) - added by dave@… 10 years ago.
gcc47/work/build/x86_64-apple-darwin14/libgcc/config.log
config.2.log (15.8 KB) - added by christopherbalz@… 10 years ago.
christopherbalz's config.log

Download all attachments as: .zip

Change History (20)

Changed 10 years ago by christopherbalz@…

Attachment: main.log added

gcc47/main.log

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

Cc: ryandesign@… added

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

Description: modified (diff)
Keywords: yosemite added

We already know that gcc47 and earlier will not build on Yosemite because I have not backported the fix for #43978 to those versions. If you attach the config.log mentioned in the main.log we could see if that's the problem you're seeing or if it's something else. Meanwhile, try using gcc48 or newer instead.

comment:3 Changed 10 years ago by tristancollins (Tristan Collins)

Cc: tristan@… added

Cc Me!

comment:4 Changed 10 years ago by christopherbalz@…

Where would the config.log file be located?

comment:5 in reply to:  4 Changed 10 years ago by larryv (Lawrence Velázquez)

Somewhere in the work directory (port work gcc47).

Changed 10 years ago by dave@…

Attachment: config.log added

gcc47/work/build/x86_64-apple-darwin14/libgcc/config.log

comment:6 Changed 10 years ago by dave@…

Seems to me a good guess would be the most recently modified config.log, i.e., the last one, in the libgcc dir. Attached.

0 Mon 19:34:49 root d.yost.com /opt/local
41 Z# ls -tr $(find $(port work gcc47`) -name config.log)                                                                                                                                
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/config.log
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/build-x86_64-apple-darwin14/fixincludes/config.log
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/intl/config.log
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/libdecnumber/config.log
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/build-x86_64-apple-darwin14/libiberty/config.log
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/libiberty/config.log
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/libcpp/config.log
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/gcc/config.log
/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/config.log
0 Mon 19:36:27 root d.yost.com /opt/local
42 Z# 
Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 Changed 10 years ago by dave@…

Cc: dave@… added

Cc Me!

comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Dave, your log shows you are experiencing #43978.

comment:9 Changed 10 years ago by dave@…

OK. We do really need to be able to use gcc47, so I eagerly await the fix for that. Thanks!

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

I do intend to fix it. But is there any particular reason why later versions of gcc won't work?

Changed 10 years ago by christopherbalz@…

Attachment: config.2.log added

christopherbalz's config.log

comment:11 Changed 10 years ago by christopherbalz@…

config file location: I should add the location of christopherbalz's config.log file attachment: /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/config.log

Later version of gcc: How to make the requesting resources use a later version of gcc so that this will work?

comment:12 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Christopher, your log also contains the same error: unknown value '10.10' of -mmacosx-version-min error which makes this ticket a duplicate of #43978.

What do you mean, "requesting resources"? What are you doing that needs gcc47 that wouldn't work with gcc48 or gcc49, which have already been fixed for Yosemite?

comment:13 Changed 10 years ago by christopherbalz@…

I do not know what requires gcc47. I am currently experimenting by removing all gcc47 versions, installing gcc48, and then running sudo port upgrade outdated.

My build is quite long (maybe 20 hours?), and this is probably the case since I have the entire gnome-desktop package installed. I was actually surprised at the time taken to build it since it used to take max six hours. I am on a MacBook Pro mid-2014 model (13").

comment:14 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

You might have ports installed with the gcc47 variant; find out by running:

port installed | grep +gcc47

For each port, use port variants to find out if variants exist for newer versions of gcc, and use those instead.

As to the build time, MacPorts installs binaries when they are available, thus saving you the build time. No binaries are available for Yosemite yet, so you have to build every port on your own machine, which takes longer.

comment:15 Changed 10 years ago by drkatastro@…

I use a special radio astronomy reduction software package maintained on MacPorts that requires gcc47 (called miriad). I have contacted the miriad port administrator, but for me, currently I *do* need gcc47 (followed this so I can keep up to date...)

comment:16 Changed 10 years ago by fabian.egli@…

just for the record: pdftk is not available with gcc48. At the moment, it compiles with gcc47 and some earlier versions of gcc.

comment:17 Changed 10 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

Note: See TracTickets for help on using tickets.