Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#51974 closed defect (invalid)

cctools-886_3+llvm37 upgrade fails on Mac OS X 10.10.5 (Yosemite)

Reported by: ssrinath@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: cctools

Description

Hi,

I've scanned main.log file (attached) and tried various compiler options to no avail. Port cleaning, activating an older cctools package and trying to upgrade the rest etc., nothing seems to work. Any help would be highly appreciated.

Attachments (2)

main.log (108.9 KB) - added by ssrinath@… 8 years ago.
main.log from cctools upgrade attempt
main.2.log (136.6 KB) - added by ssrinath@… 8 years ago.
main.log from using --configure.compiler=cc

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by ssrinath@…

Attachment: main.log added

main.log from cctools upgrade attempt

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

Owner: changed from macports-tickets@… to jeremyhu@…

Why is it "Using compiler 'MacPorts GCC 4.8'"?

comment:2 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed

Yeah, that's certainly not expected to work. Please don't set configure.compiler to macports-gcc-* and expect good results.

comment:3 in reply to:  2 ; Changed 8 years ago by ssrinath@…

Replying to jeremyhu@…:

Yeah, that's certainly not expected to work. Please don't set configure.compiler to macports-gcc-* and expect good results.

Well, I've tried:

--configure.compiler=cc

--configure.compiler=clang

--configure.compiler=macports-clang

--configure.compiler=macports-clang-3.4

and in all cases the upgrade has failed with essentially the same main.log file. So, is there some magic flag with which I can signal macports that I *really* mean it when I don't want any variant of gcc to be the compiler?

Changed 8 years ago by ssrinath@…

Attachment: main.2.log added

main.log from using --configure.compiler=cc

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

Did you previously add “macports-gcc-4.8” to default_compilers in /opt/local/etc/macports/macports.conf?

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

As an aside, the syntax for specifying configure.compiler is

$ sudo port install whatever configure.compiler=clang

but that’s not really relevant because the build should not be defaulting to macports-gcc-4.8.

comment:6 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Yeah, what happens when you don't try to override the compiler? Using macports-gcc-* as a default compiler is not supported and will likely fail a lot of the time.

Note: See TracTickets for help on using tickets.