Ticket #24383 (closed defect: fixed)
python26 does not enforce build_arch
|Reported by:||bletofarine@…||Owned by:||mcalhoun@…|
I'm running MacOSX 10.6.3 with an up-to-date port tree.
In order to build a i386-only python, I set my build_arch flag to i386 in my macports.conf file.
Unfortunately, it does not work. I tried to perform a port clean on python26, without success.
/usr/bin/gcc-4.2 -L/opt/local/lib -u _PyMac_Error Python.framework/Versions/2.6/Python -o python.exe \ Modules/python.o \ -ldl -framework CoreFoundation ld: warning: in Python.framework/Versions/2.6/Python, file is not of required architecture Undefined symbols: "_PyMac_Error", referenced from: "_Py_Main", referenced from: _main in python.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [python.exe] Error 1
I'm going to attach the complete build log to the ticket.
- Cc mcalhoun@… added
- Owner changed from macports-tickets@… to blb@…
- Summary changed from python26 2.6.5 does not build if macport.conf build_arch=i386 to python26 does not enforce build_arch
- Status changed from closed to reopened
- Resolution fixed deleted