[MacPorts] #36887: python27: fatal error: 'Carbon/Carbon.h' file not found (was: Wine fails to install due to an error in the build of python27)
MacPorts
noreply at macports.org
Sun Nov 4 11:31:56 PST 2012
#36887: python27: fatal error: 'Carbon/Carbon.h' file not found
----------------------------+-------------------
Reporter: thebourne17@… | Owner: jwa@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: python27 |
----------------------------+-------------------
Changes (by ryandesign@…):
* keywords: wine, python27, build, fail =>
* owner: macports-tickets@… => jwa@…
* port: wine => python27
Old description:
> 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!
New description:
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!
--
Comment:
This looks like #32906. Please "sudo port clean python27" and then try
again, and if it fails again, attach the new main.log file.
--
Ticket URL: <https://trac.macports.org/ticket/36887#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list