On 10/17/25 08:08, Frode Nordahl wrote:
Hello, Adrian,

Thank you for reporting this, and sorry about the bug, see comment in-line 
below.

On Thu, 16 Oct 2025 15:04:04 +0300, Adrian Bunk wrote:> On Thu, Oct 16, 2025 at 
02:49:59PM +0300, Adrian Bunk wrote:
...
-    cd ovs && ./configure --enable-ssl --localstatedir=/var --sysconfdir=/etc 
--prefix=/usr && make $(PARALLEL)
+    cd ovs && autoreconf -f -v && ./configure --enable-ssl --localstatedir=/var 
--sysconfdir=/etc --prefix=/usr && make $(PARALLEL)
...

Not necessary now, but adding -i might be more future-proof:

--- a/debian/rules.old    2025-10-16 11:40:28.575911175 +0000
+++ b/debian/rules    2025-10-16 11:42:23.787750199 +0000
@@ -17,7 +17,7 @@
     test -f $(CURDIR)/ovs/configure || \
         rm -rf $(CURDIR)/ovs && \
         cp -R /usr/src/openvswitch $(CURDIR)/ovs
-    cd ovs && ./configure --enable-ssl --localstatedir=/var --sysconfdir=/etc 
--prefix=/usr && make $(PARALLEL)
+    cd ovs && autoreconf -f -i -v && ./configure --enable-ssl --localstatedir=/var 
--sysconfdir=/etc --prefix=/usr && make $(PARALLEL)
     # Configure OVN to allow building OVN VIF
     ./boot.sh && ./configure \
         --prefix=/usr \>> On Thu, Oct 16, 2025 at 02:49:59PM +0300, Adrian 
Bunk wrote:
Source: ovn
Version: 25.09.0-1
Severity: serious
Tags: ftbfs patch

ovn FTBFS when openvswitch was built with a different automake version,
like currently in unstable:

https://buildd.debian.org/status/fetch.php?pkg=ovn&arch=riscv64&ver=25.09.0-2&stamp=1760582970&raw=0

...
make[2]: Entering directory '/build/reproducible-path/ovn-25.09.0/ovs'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash 
'/build/reproducible-path/ovn-25.09.0/ovs/build-aux/missing' aclocal-1.17 -I m4
/build/reproducible-path/ovn-25.09.0/ovs/build-aux/missing: line 85: 
aclocal-1.17: command not found
WARNING: 'aclocal-1.17' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
make[2]: *** [Makefile:3161: aclocal.m4] Error 127


This can be fixed by running autoreconf in the openvswitch sources:

I wonder how this approach would affect reproducible builds for the ovn package 
though.

Do we perhaps need to do a rebuild upload of openvswitch so that 
openvswitch-source is built with automake-1.18?

I guess it would also be pertinent to make the build dependency on automake 
explicit to automake-1.18 at least for the ovn package if that is the solution.

WDYT?


As Luca pointed out oob, reproducible builds are not expected across toolchain 
changes, so it would likely be less perpetual manual work to run autoreconf 
here as originally proposed to ensure build works in those situations too.

--
Frode Nordahl

Reply via email to