Opened 15 years ago

Closed 15 years ago

#20763 closed defect (fixed)

Python31 64-bit build fails

Reported by: gkbox@… Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: LP64 Cc: pkutzner+macports@…, jean-philippe.humbert@…, macports.org@…
Port: python31

Description (last modified by nerdling (Jeremy Lavergne))

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 

Change History (9)

comment:1 Changed 15 years ago by gkbox@…

sorry for the lack of formatting:

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 

comment:2 Changed 15 years ago by bradskins@…

reminds me of #20284

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Keywords: SnowLeopard added
Priority: NormalLow

comment:4 Changed 15 years ago by blb@…

Owner: changed from macports-tickets@… to erickt@…

comment:5 Changed 15 years ago by pkutzner+macports@…

Cc: pkutzner+macports@… added

Cc Me!

comment:6 Changed 15 years ago by tobypeterson

Cc: jean-philippe.humbert@… added
Keywords: python SnowLeopard removed
Priority: LowNormal
Version: 1.8.99

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

Cc: macports.org@… added

Cc Me!

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

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

Keywords: LP64 added
Resolution: fixed
Status: newclosed
Summary: Python31 fresh build fails on 10.6Python31 64-bit build fails
Note: See TracTickets for help on using tickets.