OVS 2.6.0 cannot be build if system python is of version 3. It looks like ovsdb/ovsdb-idlc.in is not python3-ready, because it's using print statements instead of e.g. six.print_: PYTHONPATH=./python":"$PYTHONPATH PYTHONDONTWRITEBYTECODE=yes /bin/sh /var/tmp/portage/net-misc/openvswitch-2.6.0/work/openvswitch-2.6.0/build-aux/missing python ./ovsdb/ovsdb-idlc.in annotate ./ovn/ovn-nb.ovsschema ./ovn/lib/ovn-nb-idl.ann > ovn/lib/ovn-nb-idl.ovsidl.tmp && \ mv ovn/lib/ovn-nb-idl.ovsidl.tmp ovn/lib/ovn-nb-idl.ovsidl File "./ovsdb/ovsdb-idlc.in", line 135 #include "uuid.h"''' % {'prefix': prefix.upper()} ^ SyntaxError: invalid syntax
I assume this fails in 2.6.0-r2 as well?
Sorry, I cannot install 2.6.0-r2 because of new dependencies (I do not want to build whole Qt4), but I've checked the differences between two ebuilds and found bug #596206, which is pretty the same as mine. So, closing this one as a duplicate. Shame that I tried to find similar bugs before but failed... *** This bug has been marked as a duplicate of bug 596206 ***