[MacPorts] #21700: python26 fails to build on Snow Leopard
MacPorts
noreply at macports.org
Tue Sep 29 10:53:18 PDT 2009
#21700: python26 fails to build on Snow Leopard
------------------------------------+---------------------------------------
Reporter: jakub.moskal@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: python26
------------------------------------+---------------------------------------
I know this has been mentioned before, but I still can't seem to find a
solution to my problem. I removed /opt, installed 1.8.1 today and issued
just one command "sudo port install python26", after successfully
installing all prerequisites, building fails:
{{{
---> Building python26
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_python26/work/Python-2.6.2"
&& /usr/bin/make -j2 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" "
returned error 2
Command output: /usr/bin/gcc-4.2 -c -fno-strict-aliasing -fno-common
-dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude
-I./Include -I/opt/local/include -I/opt/local/include/ncurses
-DPy_BUILD_CORE -o Modules/config.o Modules/config.c
/usr/bin/gcc-4.2 -c -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include
-I/opt/local/include -I/opt/local/include/ncurses -DPy_BUILD_CORE
-DPYTHONPATH='":plat-darwin:plat-mac:plat-mac/lib-scriptpackages:lib-tk
:lib-old"' \
-DPREFIX='"/opt/local/Library/Frameworks/Python.framework/Versions/2.6"' \
-DEXEC_PREFIX='"/opt/local/Library/Frameworks/Python.framework/Versions/2.6"'
\
-DVERSION='"2.6"' \
-DVPATH='""' \
-o Modules/getpath.o ./Modules/getpath.c
./Modules/getpath.c: In function 'calculate_path':
./Modules/getpath.c:455: warning: 'NSModuleForSymbol' is deprecated
(declared at /usr/include/mach-o/dyld.h:189)
./Modules/getpath.c:455: warning: 'NSLookupAndBindSymbol' is deprecated
(declared at /usr/include/mach-o/dyld.h:179)
./Modules/getpath.c:457: warning: 'NSLibraryNameForModule' is deprecated
(declared at /usr/include/mach-o/dyld.h:159)
/usr/bin/gcc-4.2 -c -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include
-I/opt/local/include -I/opt/local/include/ncurses -DPy_BUILD_CORE -o
Modules/main.o Modules/main.c
Modules/main.c: In function 'usage':
Modules/main.c:115: warning: format not a string literal and no format
arguments
Modules/main.c:116: warning: format not a string literal and no format
arguments
Modules/main.c:117: warning: format not a string literal and no format
arguments
In file included from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:32,
from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:206,
from
/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
from Include/pymactoolbox.h:10,
from Python/mactoolboxglue.c:27:
/usr/include/hfs/hfs_format.h:765: error: expected specifier-qualifier-
list before 'uuid_string_t'
/usr/bin/gcc-4.2 -c -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include
-I/opt/local/include -I/opt/local/include/ncurses -DPy_BUILD_CORE -o
Modules/gcmodule.o Modules/gcmodule.c
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include
-I/opt/local/include -I/opt/local/include/ncurses -DPy_BUILD_CORE -c
./Modules/threadmodule.c -o Modules/threadmodule.o
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include
-I/opt/local/include -I/opt/local/include/ncurses -DPy_BUILD_CORE -c
./Modules/signalmodule.c -o Modules/signalmodule.o
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include
-I/opt/local/include -I/opt/local/include/ncurses -DPy_BUILD_CORE -c
./Modules/posixmodule.c -o Modules/posixmodule.o
make: *** [Python/mactoolboxglue.o] Error 1
make: *** Waiting for unfinished jobs....
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macports.org/ticket/21700>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list