Hello OVS/OVN Developers,

I hope this message finds you well. I am reaching out to report an issue I 
encountered while trying to build OVN version 23.09 on Ubuntu 22.04.



I’ve executed the following steps to try to build the OVN .debs:



# Clone OVN
git clone https://github.com/ovn-org/ovn.git

cd ovn

# Checkout the wanted OVN branch
git checkout branch-23.09

# Clone OVS (Submodule in OVN repo)
git submodule update --init

cd ovs
./boot.sh
./configure
cd ../
./boot.sh

# Edit debian/changelog line 1 -> make OVN lowercase. Otherwise 
dpkg-buildpackage will not accept the changelog file
dpkg-buildpackage -b -rfakeroot






Here's the error message I received during the build process:


ModuleNotFoundError: No module named 'ovs.dirs'

Traceback (most recent call last):

  File "/home/bkranendonk/ovn/ovs/ovsdb/ovsdb-idlc.in", line 10, in <module>

    import ovs.db.schema

  File "/home/bkranendonk/ovn/ovs/python/ovs/db/schema.py", line 19, in <module>

    import ovs.db.types

  File "/home/bkranendonk/ovn/ovs/python/ovs/db/types.py", line 18, in <module>

    import ovs.db.data

  File "/home/bkranendonk/ovn/ovs/python/ovs/db/data.py", line 22, in <module>

    import ovs.jsonrpc

  File "/home/bkranendonk/ovn/ovs/python/ovs/jsonrpc.py", line 21, in <module>

    import ovs.poller

  File "/home/bkranendonk/ovn/ovs/python/ovs/poller.py", line 23, in <module>

    import ovs.vlog

  File "/home/bkranendonk/ovn/ovs/python/ovs/vlog.py", line 25, in <module>

    import ovs.dirs

ModuleNotFoundError: No module named 'ovs.dirs'

make[3]: *** [Makefile:3735: lib/ovn-ic-nb-idl.ovsidl] Error 1

make[3]: *** [Makefile:3729: lib/ovn-sb-idl.ovsidl] Error 1

make[3]: Leaving directory '/home/bkranendonk/ovn'

make[2]: *** [Makefile:2910: dist] Error 2

make[2]: Leaving directory '/home/bkranendonk/ovn'

dh_auto_build: error: make -j6 dist distdir=ovn returned exit code 2

make[1]: *** [debian/rules:45: override_dh_auto_build] Error 255

make[1]: Leaving directory '/home/bkranendonk/ovn'

make: *** [debian/rules:25: build] Error 2

dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

It seems related to this:
I don’t understand where to put an extra build dependency. Can someone help me 
out?

Also please note that the latest reno entry in debian/changelog breaks 
dpkg-buildpackage as OVN on line 1 must be lowercase.

Thanks,
Bram
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to