SyntaxError: invalid syntax make: *** [Makefile:6354: tests/idltest.ovsidl] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:6181: lib/vswitch-idl.ovsidl] Error 1 make: *** [Makefile:6525: vtep/vtep-idl.ovsidl] Error 1 File "./ovsdb/ovsdb-idlc.in", line 138 #include "uuid.h"''' % {'prefix': prefix.upper()}
Cannot attach files. The CGI is broken. I think this should be easy to reproduce. USE flags I used: [ebuild U ~] net-misc/openvswitch-2.7.0::gentoo [2.6.1::gentoo] USE="ssl -debug -modules -monitor" PYTHON_TARGETS="python2_7 python3_4 python3_5" 0 KiB
I did test this so I'm not sure why this is happening. Can you provide more info about your environment?
Created attachment 466410 [details] emerge --info
Looks like attachments are working today. Uploaded emerge --info.
However my environment has changed since the last time I tried upgrading openvswitch. I just upgraded to gcc 5.4.0. That upgrade is still in progress. I will try openvswitch again once my machine is done with its current task. Which means tomorrow most likely.
Reproduced on another computer. Adding emerge --info for that machine. This will be a true snapshot of the state of the machine at the time of the failure.
Created attachment 466458 [details] the better emerge --info : ignore the other one Reproduced the issue on a 2nd computer and immediately got an emerge --info from it.
I wonder if it is gcc that's the cause, I'm on 5.4.0 so if that fixes it that'd be nice, though still odd.
Negative. My first attempt was on gcc 4.9. The second one (a half hour ago) was on gcc 5.4.
Do you have the uuid header? find /usr/include/ | grep uuid.h
/usr/include/qt4/Qt/quuid.h /usr/include/qt4/QtCore/quuid.h /usr/include/qt5/QtCore/quuid.h /usr/include/uuid/uuid.h /usr/include/apr-1/apr_uuid.h /usr/include/boost/uuid/uuid.hpp /usr/include/linux/uuid.h /usr/include/postgresql-9.6/server/utils/uuid.h /usr/include/syslog-ng/uuid.h /usr/include/openvswitch/uuid.h /usr/include/gupnp-1.0/libgupnp/gupnp-uuid.h /usr/include/libmbim-glib/mbim-uuid.h
Created attachment 466468 [details] ovsdb-idlc.in with the three single-quotes The error is: SyntaxError: invalid syntax File "./ovsdb/ovsdb-idlc.in", line 138 #include "uuid.h"''' % {'prefix': prefix.upper()} The attached file contains this syntax error. Pulled from /var/tmp/portage/net-misc/openvswitch-2.7.0/work/openvswitch-2.7.0/ovsdb/ovsdb-idlc.in
could you try with 'eselect python set python2.7' not sure why that'd matter right now, but someone else ran into it as well...
Good call. Trying it...
That worked! Would be nice if the ebuild could choose python2 on its own...
I can confirm this bug and also the workaround with selecting python2.7 over python3.4
Can you try 2.7.0-r1 with newer python (3.4 or 3.5)? not sure it'll help, as only twisted got changed out.
Sorry, I can't. I cannot upgrade twisted because of tornado (a dependency of salt). Someone else will have to step up.
Unless I'm missing something, this appear to be a duplicate of 596206 *** This bug has been marked as a duplicate of bug 596206 ***