On Thu, Aug 5, 2021 at 6:51 PM Michal Skrivanek <michal.skrivanek@redhat.com> wrote:
no need to bother with 2.11, we’re upgrading to 2.13(at least) anyway

Most probably we are going to upgrade to 2.15 in oVirt 4.4.9, but we still haven't solved all upgrade issues ...

On 5. 8. 2021, at 18:17, Sandro Bonazzola <sbonazzo@redhat.com> wrote:

Hi, I'm trying to rebuild laters ovn rpm from centos build system for el8s to copr for el9s.
It fails for me here:
sed -f ./build-aux/extract-odp-netlink-h < datapath/linux/compat/include/linux/openvswitch.h > include/odp-netlink.h
sh -f ./build-aux/extract-odp-netlink-macros-h include/odp-netlink.h > include/odp-netlink-macros.h
PYTHONPATH=./python":"$PYTHONPATH PYTHONDONTWRITEBYTECODE=yes /usr/bin/python3 ./ovsdb/ovsdb-idlc.in annotate ./vswitchd/vswitch.ovsschema ./lib/vswitch-idl.ann > lib/vswitch-idl.ovsidl.tmp && mv lib/vswitch-idl.ovsidl.tmp lib/vswitch-idl.ovsidl
PYTHONPATH=./python":"$PYTHONPATH PYTHONDONTWRITEBYTECODE=yes /usr/bin/python3 ./ovsdb/ovsdb-idlc.in c-idl-source lib/vswitch-idl.ovsidl > lib/vswitch-idl.c.tmp && mv lib/vswitch-idl.c.tmp lib/vswitch-idl.c
Traceback (most recent call last):
  File "/builddir/build/BUILD/ovn2.11-2.11.1/./ovsdb/ovsdb-idlc.in", line 1581, in <module>
    func(*args[1:])
  File "/builddir/build/BUILD/ovn2.11-2.11.1/./ovsdb/ovsdb-idlc.in", line 442, in printCIDLSource
    replace_cplusplus_keyword(schema)
  File "/builddir/build/BUILD/ovn2.11-2.11.1/./ovsdb/ovsdb-idlc.in", line 179, in replace_cplusplus_keyword
    for columnName in table.columns:
RuntimeError: dictionary keys changed during iteration
make: *** [Makefile:8534: lib/vswitch-idl.c] Error 1

similar for openvswitch2.11 (this still with parallel make with -j2):
Traceback (most recent call last):
  File "/builddir/build/BUILD/ovs-2.11.3/build-shared/../ovsdb/ovsdb-idlc.in", line 1597, in <module>
    func(*args[1:])
  File "/builddir/build/BUILD/ovs-2.11.3/build-shared/../ovsdb/ovsdb-idlc.in", line 458, in printCIDLSource
    replace_cplusplus_keyword(schema)
  File "/builddir/build/BUILD/ovs-2.11.3/build-shared/../ovsdb/ovsdb-idlc.in", line 179, in replace_cplusplus_keyword
    for columnName in table.columns:
RuntimeError: dictionary keys changed during iteration
make: *** [Makefile:8383: lib/vswitch-idl.c] Error 1
make: *** Waiting for unfinished jobs....
Traceback (most recent call last):
  File "/builddir/build/BUILD/ovs-2.11.3/build-shared/../ovsdb/ovsdb-idlc.in", line 1597, in <module>
    func(*args[1:])
  File "/builddir/build/BUILD/ovs-2.11.3/build-shared/../ovsdb/ovsdb-idlc.in", line 185, in printCIDLHeader
    replace_cplusplus_keyword(schema)
  File "/builddir/build/BUILD/ovs-2.11.3/build-shared/../ovsdb/ovsdb-idlc.in", line 179, in replace_cplusplus_keyword
    for columnName in table.columns:
RuntimeError: dictionary keys changed during iteration
make: *** [Makefile:8385: lib/vswitch-idl.h] Error 1

I thought it could have been due to parallel make so I forced make to run with -j1 but without changing the result.
Any clue on how to get the build working?

Thanks,

--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA

Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.


_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/XJXMIT5FNEZRYTSB5L7PAXLLGCR4DREQ/

_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/5G2OZGBB5Q7M6NYXGGHYQN5NRZ5JB7JV/


--
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.