Opened 15 years ago

Closed 15 years ago

#20842 closed defect (fixed)

python30 3.0.1 fails to build 64-bit

Reported by: andrius.laikina@… Owned by: blb@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: LP64 Cc: skymoo (Adam Mercer), hong.rich@…
Port: python30

Description

python30 3.0.1 fails to build on snow leopard:

--->  Extracting python30
--->  Applying patches to python30
--->  Configuring python30
--->  Building python30
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python30/work/Python-3.0.1" && /usr/bin/make -j2 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned error 2
Command output: 		/usr/bin/libtool -o Python.framework/Versions/3.0/Python -dynamic  libpython3.0.a \
			 -lSystem -lSystemStubs -arch_only i386 -install_name /opt/local/Library/Frameworks/Python.framework/Versions/3.0/Python -compatibility_version 3.0 -current_version 3.0 ;\
	fi
/usr/bin/install -c -d -m 755  \
		Python.framework/Versions/3.0/Resources/English.lproj
/usr/bin/install -c -m 644 Mac/Resources/framework/Info.plist \
		Python.framework/Versions/3.0/Resources/Info.plist
ln -fsn 3.0 Python.framework/Versions/Current
ln -fsn Versions/Current/Python Python.framework/Python
ln -fsn Versions/Current/Headers Python.framework/Headers
ln -fsn Versions/Current/Resources Python.framework/Resources
/usr/bin/gcc-4.2 -L/opt/local/lib Python.framework/Versions/3.0/Python -o python \
			Modules/python.o \
			 -ldl      
ld: warning: in Python.framework/Versions/3.0/Python, file is not of required architecture
Undefined symbols:
  "_PyMem_Malloc", referenced from:
      _main in python.o
      _main in python.o
      _main in python.o
  "_Py_Main", referenced from:
      _main in python.o
      _main in python.o
  "_PyMem_Free", referenced from:
      _main in python.o
      _main in python.o
      _main in python.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python] Error 1

Error: Status 1 encountered during processing.

Attachments (1)

python30.debug (122.2 KB) - added by andrius.laikina@… 15 years ago.
clean install, debug enabled

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by tobypeterson

Priority: HighNormal

comment:2 Changed 15 years ago by tobypeterson

Keywords: python30 build snow leopard removed
Summary: python30 3.0.1 build error/snow leopard (10A432)python30 3.0.1 fails to build on snow leopard
Version: 1.8.99

attach debug log

comment:3 Changed 15 years ago by blb@…

Keywords: snowleopard added
Owner: changed from macports-tickets@… to blb@…

Changed 15 years ago by andrius.laikina@…

Attachment: python30.debug added

clean install, debug enabled

comment:4 Changed 15 years ago by macports.org@…

Apart from the fun factor, I don't think there's any reason for the maintainers to care: Python 3.0 was a transitional release and already isn't supported anymore by the PSF. Furthermore given it shouldn't have reached a wide public, there is no "backlog" to support as with the various 2.x releases.

AFAIK, it could as well be removed from the ports tree.

comment:5 Changed 15 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

comment:6 Changed 15 years ago by hong.rich@…

Cc: hong.rich@… added

Cc Me!

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

Keywords: LP64 added; snowleopard removed
Resolution: fixed
Status: newclosed
Summary: python30 3.0.1 fails to build on snow leopardpython30 3.0.1 fails to build 64-bit
Note: See TracTickets for help on using tickets.