macports 2.0.4 breaks the usage of clang on Xcode 4.3.2

Jack Howarth howarth at bromo.med.uc.edu
Sun Apr 8 08:21:11 PDT 2012


On Sun, Apr 08, 2012 at 11:14:42AM -0400, Jeremy Lavergne wrote:
> Ooops, forgot to reply to the list.
> 
> > I also see the same breakage in MacPorts 2.0.4 when built from sources in
> > MacPorts-2.0.4.tar.bz2 using...
> > 
> > ./configure && make && sudo make install
> > 
> > under Xcode 4.3.2 on Lion. When executing 'sudo port -v selfupdate', port is blindly
> > using llvm-gcc-4.2 rather than the expected clang compiler at the point it is
> > starting to build again from sources. I strongly suspect this breakage is somehow
> > due to the new binary package support. Is there any way to disable that feature?
> > I don't see any obvious options to do that listed in /opt/local/etc/macports/macports.conf.
> 
> Python and Perl record what compiler was used to build them, which then influences many packages that blindly go with those same values. The workaround for this is to rebuild python/perl from source, then subsequent perl/python packages should pick up that compiler.
> 

Why don't we have a flag to pass to port or a setting in /opt/local/etc/macports to disable
binary downloads?
        Jack


More information about the macports-dev mailing list