[MacPorts] #29603: python27 fails to build due to bad command

MacPorts noreply at macports.org
Thu May 26 16:54:49 PDT 2011


#29603: python27 fails to build due to bad command
------------------------------------+---------------------------------------
 Reporter:  johnmusbach1@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.1                                
 Keywords:                          |        Port:  python27                             
------------------------------------+---------------------------------------
 Running on Mac OS X 10.4.11 x86 with macports v1.9.1. When trying to
 install the python27 port it fails with the error:

 --->  Building python27
 Error: Target org.macports.build returned: shell command failed
 Log for python27 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/main.log
 Error: The following dependencies failed to build: tk Xft2 xrender xorg-
 libX11 xorg-libxcb python27 xorg-libpthread-stubs xorg-xcb-proto libxml2
 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto
 xorg-xtrans xorg-renderproto tcl xorg-libXScrnSaver xorg-libXext xorg-
 scrnsaverproto
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>

 Tailing the log returns:

 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1"
 && /usr/bin/make -j5 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.0" "
 returned error 2
 :error:build Target org.macports.build returned: shell command failed
 :debug:build Backtrace: shell command failed
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for python27):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for python27 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/main.log

 Trying to run the failed command results in the following erroneous
 output:

 /usr/bin/gcc-4.0 -c -fno-strict-aliasing -fno-common -dynamic -pipe -O2
 -arch i386 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I.
 -IInclude -I./Include -I/opt/local/include  -DPy_BUILD_CORE -o
 Python/graminit.o Python/graminit.c
 /usr/bin/gcc-4.0 -c -fno-strict-aliasing -fno-common -dynamic -pipe -O2
 -arch i386 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I.
 -IInclude -I./Include -I/opt/local/include  -DPy_BUILD_CORE -o
 Python/mactoolboxglue.o Python/mactoolboxglue.c
 {standard input}:unknown:FATAL:can't create output file: Python/graminit.o
 make: *** [Python/graminit.o] Error 1
 make: *** Waiting for unfinished jobs....
 In file included from Python/mactoolboxglue.c:27:
 Include/pymactoolbox.h:13:33: error: QuickTime/QuickTime.h: No such file
 or directory
 In file included from Python/mactoolboxglue.c:27:
 Include/pymactoolbox.h:160: warning: parameter names (without types) in
 function declaration
 Include/pymactoolbox.h:161: error: parse error before 'Track'
 Include/pymactoolbox.h:161: warning: function declaration isn't a
 prototype
 Include/pymactoolbox.h:162: warning: parameter names (without types) in
 function declaration
 Include/pymactoolbox.h:163: error: parse error before 'Movie'
 Include/pymactoolbox.h:163: warning: function declaration isn't a
 prototype
 Include/pymactoolbox.h:164: warning: parameter names (without types) in
 function declaration
 Include/pymactoolbox.h:165: error: parse error before 'MovieController'
 Include/pymactoolbox.h:165: warning: function declaration isn't a
 prototype
 Include/pymactoolbox.h:168: warning: parameter names (without types) in
 function declaration
 Include/pymactoolbox.h:169: error: parse error before 'UserData'
 Include/pymactoolbox.h:169: warning: function declaration isn't a
 prototype
 Include/pymactoolbox.h:170: warning: parameter names (without types) in
 function declaration
 Include/pymactoolbox.h:171: error: parse error before 'Media'
 Include/pymactoolbox.h:171: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c:423: warning: parameter names (without types) in
 function declaration
 Python/mactoolboxglue.c:423: error: parse error before 'cobj'
 Python/mactoolboxglue.c:423: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c: In function 'TrackObj_New':
 Python/mactoolboxglue.c:423: error: 'cobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c:423: error: (Each undeclared identifier is
 reported only once
 Python/mactoolboxglue.c:423: error: for each function it appears in.)
 Python/mactoolboxglue.c: At top level:
 Python/mactoolboxglue.c:424: error: parse error before 'Track'
 Python/mactoolboxglue.c:424: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c:424: error: parse error before 'Track'
 Python/mactoolboxglue.c:424: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c: In function 'TrackObj_Convert':
 Python/mactoolboxglue.c:424: error: 'pyobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c:424: error: 'cobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c: At top level:
 Python/mactoolboxglue.c:425: warning: parameter names (without types) in
 function declaration
 Python/mactoolboxglue.c:425: error: parse error before 'cobj'
 Python/mactoolboxglue.c:425: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c: In function 'MovieObj_New':
 Python/mactoolboxglue.c:425: error: 'cobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c: At top level:
 Python/mactoolboxglue.c:426: error: parse error before 'Movie'
 Python/mactoolboxglue.c:426: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c:426: error: parse error before 'Movie'
 Python/mactoolboxglue.c:426: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c: In function 'MovieObj_Convert':
 Python/mactoolboxglue.c:426: error: 'pyobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c:426: error: 'cobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c: At top level:
 Python/mactoolboxglue.c:427: warning: parameter names (without types) in
 function declaration
 Python/mactoolboxglue.c:427: error: parse error before 'cobj'
 Python/mactoolboxglue.c:427: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c: In function 'MovieCtlObj_New':
 Python/mactoolboxglue.c:427: error: 'cobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c: At top level:
 Python/mactoolboxglue.c:428: error: parse error before 'MovieController'
 Python/mactoolboxglue.c:428: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c:428: error: parse error before 'MovieController'
 Python/mactoolboxglue.c:428: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c: In function 'MovieCtlObj_Convert':
 Python/mactoolboxglue.c:428: error: 'pyobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c: At top level:
 Python/mactoolboxglue.c:431: warning: parameter names (without types) in
 function declaration
 Python/mactoolboxglue.c:431: error: parse error before 'cobj'
 Python/mactoolboxglue.c:431: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c: In function 'UserDataObj_New':
 Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c: At top level:
 Python/mactoolboxglue.c:432: error: parse error before 'UserData'
 Python/mactoolboxglue.c:432: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c:432: error: parse error before 'UserData'
 Python/mactoolboxglue.c:432: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c: In function 'UserDataObj_Convert':
 Python/mactoolboxglue.c:432: error: 'pyobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c:432: error: 'cobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c: At top level:
 Python/mactoolboxglue.c:433: warning: parameter names (without types) in
 function declaration
 Python/mactoolboxglue.c:433: error: parse error before 'cobj'
 Python/mactoolboxglue.c:433: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c: In function 'MediaObj_New':
 Python/mactoolboxglue.c:433: error: 'cobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c: At top level:
 Python/mactoolboxglue.c:434: error: parse error before 'Media'
 Python/mactoolboxglue.c:434: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c:434: error: parse error before 'Media'
 Python/mactoolboxglue.c:434: warning: function declaration isn't a
 prototype
 Python/mactoolboxglue.c: In function 'MediaObj_Convert':
 Python/mactoolboxglue.c:434: error: 'pyobj' undeclared (first use in this
 function)
 Python/mactoolboxglue.c:434: error: 'cobj' undeclared (first use in this
 function)
 {standard input}:unknown:FATAL:can't create output file:
 Python/mactoolboxglue.o
 make: *** [Python/mactoolboxglue.o] Error 1

-- 
Ticket URL: <https://trac.macports.org/ticket/29603>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list