Opened 18 years ago

Closed 18 years ago

#9747 closed defect (invalid)

BUG: cannot build python24 port on 10.4.7 with latest Xcode

Reported by: ray@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port:

Description

sh-2.05b# port build python24 ---> Building python24 with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/Python-2.4.3" && make all" returned error 2 Command output: Python/mactoolboxglue.c:440: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c:440: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c: In function 'CFTypeRefObj_Convert': Python/mactoolboxglue.c:443: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c:443: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c: In function 'CFStringRefObj_Convert': Python/mactoolboxglue.c:446: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c:446: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c: In function 'CFMutableStringRefObj_Convert': Python/mactoolboxglue.c:448: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c:448: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c: In function 'CFArrayRefObj_Convert': Python/mactoolboxglue.c:451: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c:451: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c: In function 'CFMutableArrayRefObj_Convert': Python/mactoolboxglue.c:453: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c:453: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c: In function 'CFDictionaryRefObj_Convert': Python/mactoolboxglue.c:456: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c:456: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c: In function 'CFMutableDictionaryRefObj_Convert': Python/mactoolboxglue.c:458: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c:458: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c: In function 'CFURLRefObj_Convert': Python/mactoolboxglue.c:461: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c:461: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c: In function 'OptionalCFURLRefObj_Convert': Python/mactoolboxglue.c:462: warning: return makes integer from pointer without a cast Python/mactoolboxglue.c:462: warning: return makes integer from pointer without a cast make: * [Python/mactoolboxglue.o] Error 1

Error: /opt/local/bin/port: Status 1 encountered during processing. # # port installed The following ports are currently installed:

apr @1.2.7_0 (active) apr-util @1.2.7_0 (active) db4 @4.3.29_0+darwin_8 (active) expat @2.0.0_1 (active) gdbm @1.8.3_1 (active) libiconv @1.10_1+darwin_8 (active) neon @0.25.5_0 (active) openssl @0.9.8b_0+darwin_8 (active) subversion @1.3.2_0 (active) watch @3.2.1_0 (active) zlib @1.2.3_0 (active)

#

Change History (2)

comment:1 Changed 18 years ago by ray@…

Hm. I am seeing that the python25 port has just been added. Did a "port selfupdate" and then a build of python25 and that did not work either.

sh-2.05b# port build python25 ---> Fetching python25 ---> Attempting to fetch Python-2.5b1.tar.bz2 from http://www.python.org/ftp/python/2.5/ ---> Verifying checksum(s) for python25 ---> Extracting python25 ---> Configuring python25 ---> Building python25 with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python25/work/Python-2.5b1" && make all" returned error 2 Command output: /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/modsupport.o Python/modsupport.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/mystrtoul.o Python/mystrtoul.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/pyarena.o Python/pyarena.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/pyfpe.o Python/pyfpe.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/pystate.o Python/pystate.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/pythonrun.o Python/pythonrun.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/structmember.o Python/structmember.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/symtable.o Python/symtable.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/sysmodule.o Python/sysmodule.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/traceback.o Python/traceback.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/getopt.o Python/getopt.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/pystrtod.o Python/pystrtod.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/dynload_shlib.o Python/dynload_shlib.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/mactoolboxglue.o Python/mactoolboxglue.c In file included from /System/Library/Frameworks/QuickTime.framework/Headers/MediaHandlers.h:24,

from /System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h:30, from ./Include/pymactoolbox.h:11, from Python/mactoolboxglue.c:27:

/System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:47:33: error: CoreAudio/CoreAudio.h: No such file or directory In file included from /System/Library/Frameworks/QuickTime.framework/Headers/MediaHandlers.h:24,

from /System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h:30, from ./Include/pymactoolbox.h:11, from Python/mactoolboxglue.c:27:

/System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:354: error: parse error before '*' token /System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:10874: error: parse error before 'AudioBufferList' In file included from /System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h:62,

from ./Include/pymactoolbox.h:11, from Python/mactoolboxglue.c:27:

/System/Library/Frameworks/QuickTime.framework/Headers/QuickTimeComponents.h:10966: error: parse error before '*' token make: * [Python/mactoolboxglue.o] Error 1

Error: /opt/local/bin/port: Status 1 encountered during processing. sh-2.05b#

comment:2 Changed 18 years ago by mww@…

Resolution: invalid
Status: newclosed
Summary: cannot build python24 port on 10.4.7 with latest XcodeBUG: cannot build python24 port on 10.4.7 with latest Xcode

you did not install all SDKs from XCode - e. g. the Quicktime SDK is missing.

Note: See TracTickets for help on using tickets.