[gnome-bluetooth/wip/hadess/ci-rawhide-workaround] ci: Work-around glibc bug




commit 505378184772c7cbf7b59dda4979183b8585a43e
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Dec 10 17:33:00 2020 +0100

    ci: Work-around glibc bug
    
    See https://bugzilla.redhat.com/show_bug.cgi?id=1906066

 .gitlab-ci.yml | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 98b51264..b8b52c02 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,17 +11,26 @@ variables:
     meson
     redhat-rpm-config
     gcc
-    glibc-devel
     git
   GIT_SUBMODULE_STRATEGY: recursive
 
 build_stable:
   before_script:
-    - dnf update -y --nogpgcheck
-    - dnf install -y --nogpgcheck $DEPENDENCIES
+    - dnf install -y koji
+    - koji download-build --arch x86_64 1656956
+    - koji download-build --arch noarch 1656956
+    - rpm -Fvh glibc*
+    - dnf install -y glibc-devel-*.rpm glibc-headers-*x86*.noarch.rpm
+    - dnf update -y --nogpgcheck --exclude="glibc*"
+    - dnf install -y --nogpgcheck --exclude="glibc*" $DEPENDENCIES
   script:
     - meson . _build --prefix=/usr
-    - ninja -C _build
-    - ninja -C _build install
-    - ninja -C _build test
-    - ninja -C _build dist
+    - mount
+    - id
+    - GI_SCANNER_DEBUG=save-temps ninja -j1 -C _build || ls -lRZ 
/builds/GNOME/gnome-bluetooth/_build/tmp-*/GnomeBluetooth-1.0
+    - file /builds/GNOME/gnome-bluetooth/_build/tmp-*/GnomeBluetooth-1.0
+    - bash -x ldd /builds/GNOME/gnome-bluetooth/_build/tmp-*/GnomeBluetooth-1.0 || echo bash failed
+    - sh -x -x ldd /builds/GNOME/gnome-bluetooth/_build/tmp-*/GnomeBluetooth-1.0 || echo sh failed
+    - sed -i 's/test -r/test -f/g' /bin/ldd
+    - sed -i 's/test -x/test -f/g' /bin/ldd
+    - sh -x ldd /builds/GNOME/gnome-bluetooth/_build/tmp-*/GnomeBluetooth-1.0 || echo fixed sh failed


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]