GEN generated_client_marshallers1.c File "../spice_codegen.py", line 208 print "No changes to %s" % dest_file ^ SyntaxError: invalid syntax File "../spice_codegen.py", line 208 print "No changes to %s" % dest_file ^ SyntaxError: invalid syntax make[4]: *** [generated_client_demarshallers.c] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [generated_server_demarshallers.c] Error 1 File "../spice_codegen.py", line 208 print "No changes to %s" % dest_file ^ SyntaxError: invalid syntax make[4]: *** [generated_client_marshallers1.c] Error 1 File "../spice_codegen.py", line 208 print "No changes to %s" % dest_file ^ SyntaxError: invalid syntax make[4]: *** [generated_client_marshallers.c] Error 1 File "../spice_codegen.py", line 208 print "No changes to %s" % dest_file ^ SyntaxError: invalid syntax make[4]: *** [generated_client_demarshallers1.c] Error 1 make[4]: Leaving directory `/var/tmp/portage/net-misc/spice-gtk-0.12/work/spice-gtk-0.12/spice-common/common' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-misc/spice-gtk-0.12/work/spice-gtk-0.12/spice-common' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-misc/spice-gtk-0.12/work/spice-gtk-0.12/spice-common' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-misc/spice-gtk-0.12/work/spice-gtk-0.12' make: *** [all] Error 2 * ERROR: net-misc/spice-gtk-0.12 failed (compile phase): USE="doc gstreamer gtk3 introspection policykit -pulseaudio python -sasl -smartcard -static-libs usbredir vala" Fixed for me by adding to pkg_setup(): python_set_active_version 2 python_pkg_setup
Created attachment 313425 [details, diff] spice-gtk-0.12.ebuild.diff
Created attachment 313427 [details, diff] spice-gtk-0.12.ebuild.diff 1. build uses python, so we need DEPEND of python, but there is no option to do this in python eclass... so we add to DEPEND/RDEPEND using PYTHON_DEPEND. 2. should call python eclass in pkg_setup. 3. should fix python #! at install.
Comment on attachment 313427 [details, diff] spice-gtk-0.12.ebuild.diff 1. build uses python, so we need DEPEND of python, but there is no option to do this in python eclass... so we add to DEPEND/RDEPEND using PYTHON_DEPEND. 2. should call python eclass in pkg_setup. 3. should fix python #! at install.
Committed, thanks!