#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)
Change History (8)
Changed 8 years ago by ssrinath@…
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 follow-up: 3 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Yeah, that's certainly not expected to work. Please don't set configure.compiler to macports-gcc-* and expect good results.
comment:3 follow-ups: 4 5 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 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 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.
main.log from cctools upgrade attempt