[MacPorts] #20763: Python31 fresh build fails on 10.6
MacPorts
noreply at macports.org
Sat Aug 22 06:38:35 PDT 2009
#20763: Python31 fresh build fails on 10.6
-----------------------------------+----------------------------------------
Reporter: gkbox@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Low | Milestone:
Component: ports | Version: 1.8.99
Keywords: python SnowLeopard | Port: python31
-----------------------------------+----------------------------------------
Changes (by snc@…):
* keywords: python => python SnowLeopard
* priority: Normal => Low
Old description:
> this was a completely fresh macports build from SVN (updated today), into
> an empty /opt/local. please let me know if i can provide any further
> info. OS 10.6 latest build.
>
> gk ~ > sudo port -v build python31
> Password:
> ---> Computing dependencies for python31.
> ---> Building python31
> /usr/bin/gcc-4.2 -L/opt/local/lib -framework CoreFoundation
> Python.framework/Versions/3.1/Python -o python.exe \
> Modules/python.o \
> -lintl -ldl
> ld: warning: in Python.framework/Versions/3.1/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
> _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
> _main in python.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [python.exe] Error 1
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_Users_gk_svn_macports_dports_lang_python31/work/Python-3.1"
> && /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 -L/opt/local/lib -framework
> CoreFoundation Python.framework/Versions/3.1/Python -o python.exe \
> Modules/python.o \
> -lintl -ldl
> ld: warning: in Python.framework/Versions/3.1/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
> _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
> _main in python.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [python.exe] Error 1
>
> Warning: the following items did not execute (for python31):
> org.macports.build
> Error: Status 1 encountered during processing.
> gk ~ > port echo installed
> autoconf @2.64_2
> automake @1.11_0
> bzip2 @1.0.5_2+darwin
> expat @2.0.1_0
> fontconfig @2.7.1_0+macosx
> freetype @2.3.9_0+macosx
> gdbm @1.8.3_1
> gettext @0.17_4
> gperf @3.0.4_0
> help2man @1.36.4_1
> libiconv @1.13_0
> libtool @2.2.6a_0
> m4 @1.4.13_0
> ncurses @5.7_0+darwin_10
> ncursesw @5.7_0+darwin_10
> openssl @0.9.8k_0+darwin
> p5-locale-gettext @1.05_0
> perl5 @5.8.9_0
> perl5.8 @5.8.9_3
> pkgconfig @0.23_1
> readline @6.0.000_1+darwin
> sqlite3 @3.6.17_0+darwin_10
> tcl @8.5.6_0+darwin
> tk @8.5.6_1+darwin
> Xft2 @2.1.13_2
> xorg-bigreqsproto @1.0.2_0
> xorg-inputproto @1.5.1_0
> xorg-kbproto @1.0.3_0
> xorg-libX11 @1.2.2_0
> xorg-libXau @1.0.4_1
> xorg-libXdmcp @1.0.2_1
> xorg-libXext @1.0.99.4_1
> xorg-libXScrnSaver @1.1.3_1
> xorg-renderproto @0.11_0
> xorg-scrnsaverproto @1.1.0_0
> xorg-util-macros @1.2.2_0
> xorg-xcmiscproto @1.1.2_0
> xorg-xextproto @7.1.0_0
> xorg-xf86bigfontproto @1.1.2_0
> xorg-xproto @7.0.15_0
> xorg-xtrans @1.2.4_0
> xrender @0.9.4_6
> zlib @1.2.3_2
New description:
this was a completely fresh macports build from SVN (updated today), into
an empty /opt/local. please let me know if i can provide any further
info. OS 10.6 latest build.
{{{
gk ~ > sudo port -v build python31
Password:
---> Computing dependencies for python31.
---> Building python31
/usr/bin/gcc-4.2 -L/opt/local/lib -framework CoreFoundation
Python.framework/Versions/3.1/Python -o python.exe \
Modules/python.o \
-lintl -ldl
ld: warning: in Python.framework/Versions/3.1/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
_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
_main in python.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_Users_gk_svn_macports_dports_lang_python31/work/Python-3.1"
&& /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 -L/opt/local/lib -framework
CoreFoundation Python.framework/Versions/3.1/Python -o python.exe \
Modules/python.o \
-lintl -ldl
ld: warning: in Python.framework/Versions/3.1/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
_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
_main in python.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1
Warning: the following items did not execute (for python31):
org.macports.build
Error: Status 1 encountered during processing.
gk ~ > port echo installed
autoconf @2.64_2
automake @1.11_0
bzip2 @1.0.5_2+darwin
expat @2.0.1_0
fontconfig @2.7.1_0+macosx
freetype @2.3.9_0+macosx
gdbm @1.8.3_1
gettext @0.17_4
gperf @3.0.4_0
help2man @1.36.4_1
libiconv @1.13_0
libtool @2.2.6a_0
m4 @1.4.13_0
ncurses @5.7_0+darwin_10
ncursesw @5.7_0+darwin_10
openssl @0.9.8k_0+darwin
p5-locale-gettext @1.05_0
perl5 @5.8.9_0
perl5.8 @5.8.9_3
pkgconfig @0.23_1
readline @6.0.000_1+darwin
sqlite3 @3.6.17_0+darwin_10
tcl @8.5.6_0+darwin
tk @8.5.6_1+darwin
Xft2 @2.1.13_2
xorg-bigreqsproto @1.0.2_0
xorg-inputproto @1.5.1_0
xorg-kbproto @1.0.3_0
xorg-libX11 @1.2.2_0
xorg-libXau @1.0.4_1
xorg-libXdmcp @1.0.2_1
xorg-libXext @1.0.99.4_1
xorg-libXScrnSaver @1.1.3_1
xorg-renderproto @0.11_0
xorg-scrnsaverproto @1.1.0_0
xorg-util-macros @1.2.2_0
xorg-xcmiscproto @1.1.2_0
xorg-xextproto @7.1.0_0
xorg-xf86bigfontproto @1.1.2_0
xorg-xproto @7.0.15_0
xorg-xtrans @1.2.4_0
xrender @0.9.4_6
zlib @1.2.3_2
}}}
--
--
Ticket URL: <http://trac.macports.org/ticket/20763#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list