[MacPorts] #13322: Cannot build python25 on OS X 10.3
MacPorts
trac at macosforge.org
Fri Nov 16 16:27:51 PST 2007
#13322: Cannot build python25 on OS X 10.3
-------------------------------+--------------------------------------------
Reporter: ebgssth at gmail.com | Owner: macports-dev at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.2
Keywords: |
-------------------------------+--------------------------------------------
port install python25 failed on OS X 10.3 with the following errors.
{{{
$ sudo port install python25
---> Fetching python25
---> Verifying checksum(s) for python25
---> Extracting python25
---> Applying patches to python25
---> Configuring python25
---> Building python25 with target all
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_python25/work/Python-2.5.1"
&& make all " returned error 2
Command output: Modules/posixmodule.c:24: warning: ignoring #pragma weak
fstatvfs
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include
-I/opt/local/include -DPy_BUILD_CORE -c ./Modules/errnomodule.c -o
Modules/errnomodule.o
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include
-I/opt/local/include -DPy_BUILD_CORE -c ./Modules/pwdmodule.c -o
Modules/pwdmodule.o
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include
-I/opt/local/include -DPy_BUILD_CORE -c ./Modules/_sre.c -o
Modules/_sre.o
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include
-I/opt/local/include -DPy_BUILD_CORE -c ./Modules/_codecsmodule.c -o
Modules/_codecsmodule.o
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include
-I/opt/local/include -DPy_BUILD_CORE -c ./Modules/zipimport.c -o
Modules/zipimport.o
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include
-I/opt/local/include -DPy_BUILD_CORE -c ./Modules/symtablemodule.c -o
Modules/symtablemodule.o
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include
-I/opt/local/include -DPy_BUILD_CORE -c ./Modules/xxsubtype.c -o
Modules/xxsubtype.o
gcc -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-
madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include
-I/opt/local/include -DPy_BUILD_CORE -DSVNVERSION=\"`LC_ALL=C svnversion
.`\" -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
rm -f libpython2.5.a
ar cr libpython2.5.a Modules/getbuildinfo.o
ar cr libpython2.5.a Modules/_typesmodule.o
ar cr libpython2.5.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o
Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o
Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o
Parser/myreadline.o Parser/tokenizer.o
ar cr libpython2.5.a Objects/abstract.o Objects/boolobject.o
Objects/bufferobject.o Objects/cellobject.o Objects/classobject.o
Objects/cobject.o Objects/codeobject.o Objects/complexobject.o
Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o
Objects/genobject.o Objects/fileobject.o Objects/floatobject.o
Objects/frameobject.o Objects/funcobject.o Objects/intobject.o
Objects/iterobject.o Objects/listobject.o Objects/longobject.o
Objects/dictobject.o Objects/methodobject.o Objects/moduleobject.o
Objects/object.o Objects/obmalloc.o Objects/rangeobject.o
Objects/setobject.o Objects/sliceobject.o Objects/stringobject.o
Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o
Objects/weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o
ar cr libpython2.5.a Python/Python-ast.o Python/asdl.o Python/ast.o
Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o
Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o
Python/getargs.o Python/getcompiler.o Python/getcopyright.o
Python/getmtime.o Python/getplatform.o Python/getversion.o
Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o
Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o
Python/pyarena.o Python/pyfpe.o Python/pystate.o Python/pythonrun.o
Python/structmember.o Python/symtable.o Python/sysmodule.o
Python/traceback.o Python/getopt.o Python/pystrtod.o
Python/dynload_shlib.o Python/mactoolboxglue.o Python/thread.o
ar cr libpython2.5.a Modules/config.o Modules/getpath.o Modules/main.o
Modules/gcmodule.o
ar cr libpython2.5.a Modules/threadmodule.o Modules/signalmodule.o
Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o
Modules/_sre.o Modules/_codecsmodule.o Modules/zipimport.o
Modules/symtablemodule.o Modules/xxsubtype.o
ranlib libpython2.5.a
libtool -o libpython2.5.dylib -dynamic \
-all_load libpython2.5.a -single_module \
-install_name /opt/local/lib/libpython2.5.dylib \
-compatibility_version 2.5 \
-current_version 2.5 -lSystem -L/opt/local/lib
ld: for architecture ppc
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
restFP
saveFP
libtool: internal link edit command failed
make: *** [libpython2.5.dylib] Error 1
Error: Status 1 encountered during processing.
}}}
A month or two ago, I could compile python25 without any problems,
so I suppose this issue is caused by recent changes.
--
Ticket URL: <http://trac.macports.org/projects/macports/ticket/13322>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list