Opened 13 years ago

Closed 9 years ago

#29747 closed defect (wontfix)

python24 +universal (x86_64/i386) fails to build on OS X 10.5.8

Reported by: daniel.hornung@… Owned by: jaroel (Roel Bruggink)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: python24

Description

python24 fails to build on my machine in the current version, yet python25 and python27 build fine.

This may have something to do with this line in my /opt/local/etc/macports/macports.conf, or maybe it's independent.

universal_archs i386 x86_64

"port info python24" says about this version:

python24 @2.4.6, Revision 9 (lang)
Variants:             (+)universal
...

Attachments (2)

main.log (85.6 KB) - added by daniel.hornung@… 13 years ago.
..._lang_python24/main.log
main.2.log (32.6 KB) - added by daniel.hornung@… 13 years ago.
main.log for 2.4.6-r7, +universal

Download all attachments as: .zip

Change History (9)

Changed 13 years ago by daniel.hornung@…

Attachment: main.log added

..._lang_python24/main.log

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to roel@…
Port: python24 added

comment:2 Changed 13 years ago by jaroel (Roel Bruggink)

Does it build without universal?

comment:3 in reply to:  2 Changed 13 years ago by daniel.hornung@…

Replying to roel@…:

Does it build without universal?

It builds without +universal indeed, so maybe the fix to #21248 did not work correctly or did not fix everything?

comment:4 Changed 13 years ago by jaroel (Roel Bruggink)

There have been a lot of changes since portfile r7 (my local version). Does r7 work for you?

http://trac.macports.org/changeset?new=78591%40trunk%2Fdports%2Flang%2Fpython24&old=70279%40trunk%2Fdports%2Flang%2Fpython24

$ cat /opt/local/etc/macports/macports.conf |grep universal_archs universal_archs x86_64 i386

$ port info python24 python24 @2.4.6, Revision 7 (lang) Variants: universal

comment:5 Changed 13 years ago by daniel.hornung@…

I think I successfully reconstructed the python24 state of r7, but now it really fails in a way which seems to be caused by the 64bit compilation:

:info:build ./Include/pyport.h:629:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."

Changed 13 years ago by daniel.hornung@…

Attachment: main.2.log added

main.log for 2.4.6-r7, +universal

comment:6 Changed 12 years ago by jmroot (Joshua Root)

Summary: python24 fails to build on OS X 10.5.8python24 +universal (x86_64/i386) fails to build on OS X 10.5.8

Python 2.6 was the first version that really worked when built 64-bit on OS X, so there may not be much that can reasonably be done here.

comment:7 Changed 9 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed

python24 is deprecated and scheduled to be removed in a couple of months.

Note: See TracTickets for help on using tickets.