Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602936 - net-misc/openvswitch-2.6.0 fails on Python 3.4
Summary: net-misc/openvswitch-2.6.0 fails on Python 3.4
Status: RESOLVED DUPLICATE of bug 596206
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-17 16:34 UTC by Yaroslav Isakov
Modified: 2016-12-31 03:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Isakov 2016-12-17 16:34:13 UTC
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
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-12-22 16:14:35 UTC
I assume this fails in 2.6.0-r2 as well?
Comment 2 Yaroslav Isakov 2016-12-31 03:59:59 UTC
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 ***