On 3/9/26 9:33 AM, Eli Britstein wrote:
> The Fedora CI job was missing the libcap-ng-devel package in the
> explicit dnf install step, causing build failures. Add it alongside
> the other pre-installed dependencies.
> 
> Fixes: e861de14b593 ("fedora: Fix package install on Fedora 43.")
> Signed-off-by: Eli Britstein <[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 5f9e337de..891f73877 100644
> --- a/.github/workflows/build-and-test.yml
> +++ b/.github/workflows/build-and-test.yml
> @@ -681,7 +681,7 @@ jobs:
>        uses: actions/checkout@v4
>      - name: install dependencies
>        run: |
> -        dnf install -y rpm-build dnf-plugins-core
> +        dnf install -y rpm-build dnf-plugins-core libcap-ng-devel

We shouldn't install anything except for the base dnf things.
Everything that is needed will be installed by the builddep step below.

>          sed -e 's/@VERSION@/0.0.1/' rhel/openvswitch-fedora.spec.in \
>              > /tmp/ovs.spec
>          dnf builddep -y /tmp/ovs.spec

Looks like you're missing the following change:
  
https://patchwork.ozlabs.org/project/openvswitch/patch/9c723753b7407f4dd43d66564d0c214d43c3a292.1771925898.git.echau...@redhat.com/

And that is likely causing the CI issues for you.  Though I still
think it's a bug in dnf as it shouldn't be installing i686 version
of the package for a clearly x86_64 build.

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

Reply via email to