Cairo Failed to Build

Sean Farley sean.michael.farley at gmail.com
Sun Dec 9 21:58:30 PST 2012


On Sun, Dec 9, 2012 at 11:55 PM, Jasper Frumau <jasperfrumau at gmail.com> wrote:
> cairo failed to build. Here is the tail of the main log:
>
> tail -n 20
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-cairo/py25-cairo/main.log
> :info:build             ^
> :info:build SyntaxError: invalid syntax
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-cairo/py25-cairo/work/py2cairo-1.10.0"
> && /opt/local/bin/python2.5 setup.py --no-user-cfg build
> :info:build Exit code: 1
> :error:build org.macports.build for port py25-cairo returned: command
> execution failed
> :debug:build Error code: CHILDSTATUS 50928 1
> :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 py25-cairo:
> org.macports.install org.macports.build org.macports.destroot
> :notice:build Please see the log file for port py25-cairo for details:
>
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-cairo/py25-cairo/main.log
>
> Any idea why the command failed?

This is due to py25-cairo needing to have an older version of
py2cairo, as reported here:

https://trac.macports.org/ticket/37254

I'll send a patch for this hopefully tomorrow morning.


More information about the macports-users mailing list