Hi All:

We ran into debian build issue for  latest ovs v2.16.0 against 5.4.0-80-generic
ubuntu 20
dh binary --with autoreconf,python3 --parallel
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 contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0
/usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 13)
line 1.
BEGIN failed--compilation aborted at (eval 13) line 1.
BEGIN failed--compilation aborted at (eval 13) line 1.

make: *** [debian/rules:25: binary] Error 255


Was able to fix it by installing dh-python  explicitly as a build
dependency.

Should we include this in debian/control dependencies?
diff --git a/debian/control b/debian/control
index 6420b9d3e2..53a6b61f14 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,8 @@ Build-Depends: graphviz,
                python3-twisted,
                python3-zope.interface,
                libunbound-dev,
-               libunwind-dev
+               libunwind-dev,
+               dh-python



Ali
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to