[MacPorts] #36887: Wine fails to install due to an error in the build of python27

MacPorts noreply at macports.org
Sun Nov 4 09:44:36 PST 2012


#36887: Wine fails to install due to an error in the build of python27
-----------------------------------------+--------------------------------
 Reporter:  thebourne17@…                |      Owner:  macports-tickets@…
     Type:  defect                       |     Status:  new
 Priority:  Normal                       |  Milestone:
Component:  ports                        |    Version:  2.1.2
 Keywords:  wine, python27, build, fail  |       Port:  wine
-----------------------------------------+--------------------------------
 When i run the command "sudo port install wine" the following  error log
 states:


 version:1
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 501
 :debug:main euid changed to: 502
 :debug:main Executing org.macports.main (python27)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.archivefetch (python27)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.fetch (python27)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.checksum (python27)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.extract (python27)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.patch (python27)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.configure (python27)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:build build phase started at Sun Nov  4 11:39:43 CST 2012
 :notice:build --->  Building python27
 :debug:build Executing org.macports.build (python27)
 :debug:build Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.8'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.3"
 && /usr/bin/make -j2 -w all MAKE="/usr/bin/make CC=/usr/bin/clang"'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.3"
 && /usr/bin/make -j2 -w all MAKE="/usr/bin/make CC=/usr/bin/clang"
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.3'
 :info:build /usr/bin/clang -c -fno-strict-aliasing -fno-common -dynamic
 -arch x86_64 -arch i386 -pipe -O2 -fwrapv -arch x86_64 -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
 :info:build /usr/bin/clang -c -fno-strict-aliasing -fno-common -dynamic
 -arch x86_64 -arch i386 -pipe -O2 -fwrapv -arch x86_64 -arch i386 -DNDEBUG
 -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include
 -I/opt/local/include  -DPy_BUILD_CORE -o Modules/main.o Modules/main.c
 :info:build In file included from Python/mactoolboxglue.c:27:
 :info:build Include/pymactoolbox.h:10:10: fatal error: 'Carbon/Carbon.h'
 file not found
 :info:build #include <Carbon/Carbon.h>
 :info:build          ^
 :info:build 1 error generated.
 :info:build make: *** [Python/mactoolboxglue.o] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.3'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.3"
 && /usr/bin/make -j2 -w all MAKE="/usr/bin/make CC=/usr/bin/clang"
 :info:build Exit code: 2
 :error:build org.macports.build for port python27 returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 98577 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: targets not executed for python27:
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :error:build Failed to install python27
 :debug:build couldn't open
 "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
 no such file or directory
     while executing
 "open [file join $dir tclIndex]"
 :notice:build Please see the log file for port python27 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log



 im not sure whats going on, any help would be greatly appreciated, thanks!

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


More information about the macports-tickets mailing list