Don't debcheck pgfaceting on i386 and s390x
authorChristoph Berg <myon@debian.org>
Tue, 26 Mar 2024 15:32:37 +0000 (16:32 +0100)
committerChristoph Berg <myon@debian.org>
Tue, 26 Mar 2024 15:32:37 +0000 (16:32 +0100)
jenkins/builddebcheck-pgapt
jenkins/debcheck-pgapt

index c017ee34cc5830db10e3ea987bfe847d5f57cd57..4cf41ed59d53abbeed29c0778f459e142a30d298 100755 (executable)
@@ -85,11 +85,14 @@ fi
 
 # packages not tested on specific architectures
 case $architecture in
-  ppc64el|s390x)
-  remove_packages $MAINSRC buildapp cffi cl-unicode pgloader sbcl plv8
-  ;;
   i386)
-    remove_packages $MAINSRC h3-pg "postgresql-.*-age"
+    remove_packages $MAINSRC h3-pg pgfaceting "postgresql-.*-age"
+    ;;
+  ppc64el)
+    remove_packages $MAINSRC buildapp cffi cl-unicode pgloader sbcl plv8
+    ;;
+  s390x)
+    remove_packages $MAINSRC buildapp cffi cl-unicode pgloader sbcl plv8 pgfaceting
     ;;
 esac
 
index 29ac21795221c5735e0da7583df94e9a229746ed..13c58956d0c61fae0702a0020ea7f314b80627d0 100755 (executable)
@@ -51,6 +51,13 @@ echo
 # list of all packages
 MAINPKG=$(awk '/^Package:/ { print $2 }' $DISTSDIR/$DIST/main/binary-${architecture}/Packages)
 
+# exclude packages not installable on some architectures
+case $architecture in
+  i386|s390x)
+    MAINPKG=$(echo "$MAINPKG" | grep -v "pgfaceting") # pg-roaringbitmap missing on s390x
+    ;;
+esac
+
 # run debcheck
 DEBCHECK="dose-debcheck -v -f -e"