Subject: [PATCH] ci: workaround broken opensuse leap 15.5 tirpc

From: Daniel P. Berrangé <[email-masked]>
Date: Fri, 3 Nov 2023 09:37:19 -0400

Temporarily disable '-Wmissing-include-dirs' becuase the
libtirpc pkg-confog file has a bogus include dir. The
headers can fortunately still be found since they are
in the system include dir.

Signed-off-by: Daniel P. Berrangé <[email-masked]>
---
 ci/gitlab/builds.yml | 2 ++
 ci/manifest.yml      | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/ci/gitlab/builds.yml b/ci/gitlab/builds.yml
index 9ae2225e35..e1ea87db1b 100644
--- a/ci/gitlab/builds.yml
+++ b/ci/gitlab/builds.yml
@@ -332,6 +332,7 @@ x86_64-opensuse-leap-15-prebuilt-env:
       optional: true
   allow_failure: false
   variables:
+    CFLAGS: -Wno-missing-include-dirs
     NAME: opensuse-leap-15
     RPM: skip
 
@@ -340,6 +341,7 @@ x86_64-opensuse-leap-15-local-env:
   needs: []
   allow_failure: false
   variables:
+    CFLAGS: -Wno-missing-include-dirs
     IMAGE: registry.opensuse.org/opensuse/leap:15.5
     NAME: opensuse-leap-15
     RPM: skip
diff --git a/ci/manifest.yml b/ci/manifest.yml
index 0e5a17a2bd..2af8e62f28 100644
--- a/ci/manifest.yml
+++ b/ci/manifest.yml
@@ -205,6 +205,8 @@ targets:
       - arch: x86_64
         variables:
           RPM: skip
+          # Keep until fix for: https://bugzilla.opensuse.org/show_bug.cgi?id=1216862
+          CFLAGS: -Wno-missing-include-dirs
 
   opensuse-tumbleweed:
     jobs:
-- 
2.41.0
_______________________________________________
Devel mailing list -- [email-masked]
To unsubscribe send an email to [email-masked]