Ticket #24383 (closed defect: fixed)
python26 does not enforce build_arch
| Reported by: | bletofarine@… | Owned by: | mcalhoun@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | Cc: | ||
| Port: | python26 |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


