[Debian-salsa-ci] Subtle bug regarding arch:all builds
Santiago Vila
sanvila at debian.org
Wed Sep 17 21:28:36 BST 2025
Hi.
Version 1.3.2-3 of src:altree had a bug in which the arch:all-only build
did not work:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115489
However, the salsa pipeline for arch:all was successful:
https://salsa.debian.org/med-team/altree/-/jobs/8300242
while we expected it to fail to catch the bug.
Apparently, sbuild did not receive the appropriate options
for an arch:all build.
The following patch, completely untested, might help.
Cc: Étienne in case he has not forwarded this issue yet.
Thanks.
-------------- next part --------------
--- a/salsa-ci.yml
+++ b/salsa-ci.yml
@@ -464,7 +464,7 @@ stages:
fi
- test "$DB_BUILD_TYPE" != "any" || BUILD_TYPE_ARG="--arch-any"
- - test "$DB_BUILD_TYPE" != "all" || BUILD_TYPE_ARG="--arch-all"
+ - test "$DB_BUILD_TYPE" != "all" || BUILD_TYPE_ARG="--arch-all --no-arch-any"
# https://lists.debian.org/debian-devel/2022/10/msg00009.html
- test "$DB_BUILD_TYPE" != "source" || BUILD_TYPE_ARG="--source --no-arch-all --no-arch-any"
- test "$DB_BUILD_TYPE" != "full" || BUILD_TYPE_ARG="--source --arch-all --arch-any"
More information about the Debian-salsa-ci
mailing list