Opened 8 years ago
Last modified 8 years ago
#52947 assigned defect
grib_api @1.18.0_1 +gcc6: build using Xcode Clang instead of gcc6
Reported by: | pgf | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.5 |
Keywords: | Cc: | ||
Port: | grib_api |
Description
The Xcode Clang compiler is used to build even if the +gcc6 (default) variant is set. See the attached log (just a portion of the whole log).
Attachments (1)
Change History (6)
Changed 8 years ago by pgf
comment:1 follow-up: 4 Changed 8 years ago by ken-cunningham-webuse
I noticed
Preferred compilers: clang macports-clang-3.8 macports-clang-3.7
by any chance do you have default compilers set in your macports.conf?
default_compilers macports-clang-3.8 macports-clang-3.7
if so, on my testing this will override portfile settings (which has turned out to be extremely useful at times).
If you do, you can comment that out to build this port - or reassess whether you still need them.
--hope this helps - K
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Keywords: | grib_api removed |
---|---|
Owner: | changed from macports-tickets@… to tenomoto |
Status: | new → assigned |
comment:3 Changed 8 years ago by mf2k (Frank Schima)
Cc: | tenomoto removed |
---|
comment:4 Changed 8 years ago by pgf
Replying to ken-cunningham-webuse:
by any chance do you have default compilers set in your macports.conf?
default_compilers macports-clang-3.8 macports-clang-3.7
No:
[foo@bar: ~]$ grep -i default_compilers /opt/local/etc/macports/macports.conf
comment:5 Changed 8 years ago by pgf
Going deeper on this issue... The +gcc6
variant sets the fortran compiler to gfortran-mp-6
while keeping Clang for c/c++ . Indeed Clang doesn't provide a fortran front end. So this might be a deliberate choice and not a defect, isn't it?
configure part of the log