Nilesh Patra pushed to branch master at lintian / lintian
Commits:
0da32ffd by Nilesh Patra at 2026-05-25T21:52:36+05:30
Restrict static-pie-binary test to the architectures where glibc supports
static-pie (fixes autopkgtest)
- - - - -
2 changed files:
- t/recipes/checks/binaries/static/static-pie-binary/build-spec/orig/Makefile
- t/recipes/checks/binaries/static/static-pie-binary/eval/desc
Changes:
=====================================
t/recipes/checks/binaries/static/static-pie-binary/build-spec/orig/Makefile
=====================================
@@ -1,7 +1,14 @@
all: hello
+ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifneq (,$(filter $(ARCH), amd64 arm64 s390x riscv64 loong64))
hello: hello.c
gcc -static-pie hello.c -o hello
+else
+hello:
+ touch hello
+endif
clean:
rm -f hello
=====================================
t/recipes/checks/binaries/static/static-pie-binary/eval/desc
=====================================
@@ -1,2 +1,3 @@
Testname: static-pie-binary
Check: binaries/static
+Test-Architectures: amd64 arm64 s390x riscv64 loong64
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/commit/0da32ffd779948b942edabb00112f01db07164d6
--
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/commit/0da32ffd779948b942edabb00112f01db07164d6
You're receiving this email because of your account on salsa.debian.org. Manage
all notifications: https://salsa.debian.org/-/profile/notifications | Help:
https://salsa.debian.org/help