On 2/24/26 10:38 AM, Eelco Chaudron wrote:
> 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

Thanks, Eelco!  This solves the issue with i686 version of libcap-ng
for me.  Still feels like a bug in dnf.

I think, we should add 'github:' to the subject prefix, as we typically
use plain 'fedora:' for the spec file changes.  Otherwise:

Acked-by: Ilya Maximets <[email protected]>

And we'll need this on all supported branches.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to