On the latest Fedora 43 image, 'dnf builddep' may install
the 32-bit version of libcap-ng-devel, which causes the
build to fail. This change forces builddep to exclude
32-bit packages, ensuring the correct x86_64 variants
are installed.

Signed-off-by: Eelco Chaudron <[email protected]>
---
 .github/workflows/build-and-test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-and-test.yml 
b/.github/workflows/build-and-test.yml
index 5f9e337de4..fa4e073125 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -684,7 +684,7 @@ jobs:
         dnf install -y rpm-build dnf-plugins-core
         sed -e 's/@VERSION@/0.0.1/' rhel/openvswitch-fedora.spec.in \
             > /tmp/ovs.spec
-        dnf builddep -y /tmp/ovs.spec
+        dnf builddep --exclude='*.i686' -y /tmp/ovs.spec
         rm -f /tmp/ovs.spec
 
     - name: configure
-- 
2.52.0

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

Reply via email to