On 4/11/24 17:28, Igor Zhukov wrote: > I tried to build OVN in a fresh Ubuntu 24.04 Docker container. > > I only installed the Build-Depends. > > I ran: > > $ dpkg-buildpackage -us -uc -ui -b > > And I received the following output: > > dpkg-buildpackage: info: source package ovn > dpkg-buildpackage: info: source version 24.03.90-1 > dpkg-buildpackage: info: source distribution unstable > dpkg-buildpackage: info: source changed by OVN team <d...@openvswitch.org> > dpkg-source --before-build . > dpkg-buildpackage: info: host architecture amd64 > debian/rules clean > dh clean --with autoreconf,python3 --parallel > dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) > dh: error: unable to load addon python3: Can't locate > Debian/Debhelper/Sequence/python3.pm in @INC (you may need to install the > Debian::Debhelper::Sequence::python3 module) (@INC entries checked: /etc/perl > /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 > /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 > /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 > /usr/share/perl/5.38 /usr/local/lib/site_perl) at (eval 12) line 1. > BEGIN failed--compilation aborted at (eval 12) line 1. > > make: *** [debian/rules:25: clean] Error 255 > dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2 > debuild: fatal error at line 1184: > dpkg-buildpackage -us -uc -ui -b failed > > > After researching a solution, I discovered that we need to add dh-python to > the Build-Depends in debian/control. > > Signed-off-by: Igor Zhukov <fsb4...@yandex.ru> > ---
Hi Igor, Thanks for the patch! Frode, would you have some cycles by any chance to review this? Thanks, Dumitru > debian/control | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/debian/control b/debian/control > index 6ee2192..d99b483 100644 > --- a/debian/control > +++ b/debian/control > @@ -9,6 +9,7 @@ Build-Depends: graphviz, > bzip2, > debhelper (>= 8), > dh-autoreconf, > + dh-python, > libssl-dev, > libtool, > openssl, > -- > 2.43.0 > _______________________________________________ > dev mailing list > d...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-dev > _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev