[Bug 2056769] Re: [jammy/mantic] ftbfs due to build-time incompatibility with updated openvswitch

Frode Nordahl 2056769 at bugs.launchpad.net
Fri Mar 15 10:27:55 UTC 2024


ubuntu at j-lp-2056769:~$ sudo apt install ovn-central ovn-host
ubuntu at j-lp-2056769:~$ dpkg -l | grep ovn
ii  ovn-central                     22.03.3-0ubuntu0.22.04.2                amd64        OVN central components
ii  ovn-common                      22.03.3-0ubuntu0.22.04.2                amd64        OVN common components
ii  ovn-host                        22.03.3-0ubuntu0.22.04.2                amd64        OVN host components
ubuntu at j-lp-2056769:~$ for f in $(dpkg -L ovn-central ovn-common ovn-host | awk '/man.*..gz/') ; do mkdir -p 22.03.3-0ubuntu0.22.04.2;cp $f 22.03.3-0ubuntu0.22.04.2;done

ubuntu at j-lp-2056769:~$ sudo apt install ovn-central ovn-host
ubuntu at j-lp-2056769:~$ dpkg -l |grep ovn
ii  ovn-central                     22.03.3-0ubuntu0.22.04.3                amd64        OVN central components
ii  ovn-common                      22.03.3-0ubuntu0.22.04.3                amd64        OVN common components
ii  ovn-host                        22.03.3-0ubuntu0.22.04.3                amd64        OVN host components
ubuntu at j-lp-2056769:~$ for f in $(dpkg -L ovn-central ovn-common ovn-host | awk '/man.*..gz/') ; do mkdir -p 22.03.3-0ubuntu0.22.04.3;cp $f 22.03.3-0ubuntu0.22.04.3;done

ubuntu at j-lp-2056769:~/22.03.3-0ubuntu0.22.04.2$ gunzip *
ubuntu at j-lp-2056769:~/22.03.3-0ubuntu0.22.04.2$ ls -l
total 11
-rw-r--r-- 1 ubuntu ubuntu   8726 Mar 15 09:57 ovn-appctl.8
-rw-r--r-- 1 ubuntu ubuntu 114771 Mar 15 09:57 ovn-architecture.7
-rw-r--r-- 1 ubuntu ubuntu  34283 Mar 15 09:57 ovn-controller.8
-rw-r--r-- 1 ubuntu ubuntu  13301 Mar 15 09:57 ovn-ctl.8
-rw-r--r-- 1 ubuntu ubuntu   6229 Mar 15 09:57 ovn-detrace.1
-rw-r--r-- 1 ubuntu ubuntu 179018 Mar 15 09:57 ovn-nb.5
-rw-r--r-- 1 ubuntu ubuntu  80745 Mar 15 09:57 ovn-nbctl.8
-rw-r--r-- 1 ubuntu ubuntu 162975 Mar 15 09:57 ovn-northd.8
-rw-r--r-- 1 ubuntu ubuntu 171108 Mar 15 09:57 ovn-sb.5
-rw-r--r-- 1 ubuntu ubuntu  46296 Mar 15 09:57 ovn-sbctl.8
-rw-r--r-- 1 ubuntu ubuntu  28886 Mar 15 09:57 ovn-trace.8

ubuntu at j-lp-2056769:~/22.03.3-0ubuntu0.22.04.3$ gunzip *
ubuntu at j-lp-2056769:~/22.03.3-0ubuntu0.22.04.3$ ls -l
total 11
-rw-r--r-- 1 ubuntu ubuntu   8726 Mar 15 09:57 ovn-appctl.8
-rw-r--r-- 1 ubuntu ubuntu 114771 Mar 15 09:57 ovn-architecture.7
-rw-r--r-- 1 ubuntu ubuntu  34283 Mar 15 09:57 ovn-controller.8
-rw-r--r-- 1 ubuntu ubuntu  13301 Mar 15 09:57 ovn-ctl.8
-rw-r--r-- 1 ubuntu ubuntu   6229 Mar 15 09:57 ovn-detrace.1
-rw-r--r-- 1 ubuntu ubuntu 179018 Mar 15 09:57 ovn-nb.5
-rw-r--r-- 1 ubuntu ubuntu  80745 Mar 15 09:57 ovn-nbctl.8
-rw-r--r-- 1 ubuntu ubuntu 162975 Mar 15 09:57 ovn-northd.8
-rw-r--r-- 1 ubuntu ubuntu 171108 Mar 15 09:57 ovn-sb.5
-rw-r--r-- 1 ubuntu ubuntu  46296 Mar 15 09:57 ovn-sbctl.8
-rw-r--r-- 1 ubuntu ubuntu  28886 Mar 15 09:57 ovn-trace.8

# There is a minor change of contents for the ovn-detrace.1 file which is most likely
# caused by the difference in versions of openvswitch-source the two packages are built against.
ubuntu at j-lp-2056769:~$ diff -ru 22.03.3-0ubuntu0.22.04.2 22.03.3-0ubuntu0.22.04.3
diff -ru 22.03.3-0ubuntu0.22.04.2/ovn-detrace.1 22.03.3-0ubuntu0.22.04.3/ovn-detrace.1
--- 22.03.3-0ubuntu0.22.04.2/ovn-detrace.1	2024-03-15 09:57:07.523418777 +0000
+++ 22.03.3-0ubuntu0.22.04.3/ovn-detrace.1	2024-03-15 09:57:30.039833756 +0000
@@ -175,7 +175,7 @@
 .  nr mE \\n(.f
 .  nf
 .  nh
-.  ft CW
+.  ft CR
 ..
 .
 .

There is no visible difference in how the two versions of the manpage
render.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ovn in Ubuntu.
https://bugs.launchpad.net/bugs/2056769

Title:
  [jammy/mantic] ftbfs due to build-time incompatibility with updated
  openvswitch

Status in ovn package in Ubuntu:
  Invalid
Status in ovn source package in Jammy:
  Fix Committed
Status in ovn source package in Mantic:
  Fix Committed

Bug description:
  [Impact]
  ovn package currently FTBFS due to changes in the openvswitch package after recent security updates - doc tooling in the openvswitch source package that ovn uses has changed.

  [Test Case]
  Build ovn package in mantic or jammy
  Build fails:

  make[2]: *** No rule to make target
  '/home/ubuntu/ovn/b/ovn-22.03.3/ovs/python/build/soutil.py', needed by
  'manpages.mk'.  Stop.

  Confirm manpages are built properly with the new pacakge.

  [Where problems could occur]
  The proposed patches change the part of the build process uses to generate documentation (manpages), so we need to make sure the new package actually have manpages properly generated.

  [Original bug report]
  make[2]: *** No rule to make target '/home/ubuntu/ovn/b/ovn-22.03.3/ovs/python/build/soutil.py', needed by 'manpages.mk'.  Stop.

  For jammy we need [0].
  For mantic we need to drop d/p/revert-ovs-python-build-rename.patch

  0: https://github.com/ovn-
  org/ovn/commit/827ff007a254acb929d06772da42a2bd5c7b2a68

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ovn/+bug/2056769/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list