ncurses breaks gawk trying to build py27-wxpython

Dave Curtis dave at dave-curtis.com
Tue Mar 20 23:23:25 PDT 2012


On Mar 20, 2012, at 10:49 PM, Ryan Schmidt wrote:

>> david-curtiss-macbook:wxtab dave$ sudo port activate libiconv at 1.14_0+universal
>> --->  Deactivating libiconv @1.14_0
>> --->  Cleaning libiconv
>> --->  Activating libiconv @1.14_0+universal
>> --->  Cleaning libiconv
>> david-curtiss-macbook:wxtab dave$ file /opt/local/lib/libiconv.2.dylib
>> /opt/local/lib/libiconv.2.dylib: Mach-O universal binary with 2 architectures
>> /opt/local/lib/libiconv.2.dylib (for architecture ppc7400):	Mach-O dynamically linked shared library ppc
>> /opt/local/lib/libiconv.2.dylib (for architecture i386):	Mach-O dynamically linked shared library i386
>> 
>> { Now, that looks pretty wacky.  What gives with ncurses trying to pull that cruft in? }
> 
> So you've set universal_archs incorrectly in your macports.conf. Likely, you upgraded from an old version of MacPorts and/or an old OS (Leopard or earlier) where i386 ppc was the correct value for universal_archs. It's not anymore. Update your macports.conf. See:
> 
> https://trac.macports.org/wiki/Migration#Updatemacports.conf
> 
> Then forcibly rebuild libiconv (and other ports that are installed with the universal variant).
> 

OK, gawk is happy now.  The universal_arch setting must have been left over from the days of the OS upgrade and disk crash recovery.  Things were pretty grim and confused for a while back then.

Things seem to be building along OK now, with a --force here and there.

-dave




More information about the macports-users mailing list