summaryrefslogtreecommitdiff
path: root/.github/scripts/linux-artifact-validation.sh
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
committerDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
commit82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch)
tree1a1f782d3e576b758be0bc61171574a7cd8f2376 /.github/scripts/linux-artifact-validation.sh
parent061658210acb6425517733ea012dda803a7f72a1 (diff)
parent61d684922b0f1c8455cc60eb3d123df058c9e1f5 (diff)
Merge tag 'debian/3.3.0_beta2+dfsg-1' into hibbian/trixie-backports
tagging wsjtx 3.3.0~beta2+dfsg-1
Diffstat (limited to '.github/scripts/linux-artifact-validation.sh')
-rw-r--r--.github/scripts/linux-artifact-validation.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/scripts/linux-artifact-validation.sh b/.github/scripts/linux-artifact-validation.sh
index 01a607f6..2a7db636 100644
--- a/.github/scripts/linux-artifact-validation.sh
+++ b/.github/scripts/linux-artifact-validation.sh
@@ -70,6 +70,7 @@ validate_elf_executable() {
local file_output
local header_output
local program_output
+ local dynamic_output
if [ ! -x "$path" ]; then
linux_validation_error "Required executable is missing: $path"
@@ -80,7 +81,14 @@ validate_elf_executable() {
header_output=$(readelf -hW -- "$path") || return
program_output=$(readelf -lW -- "$path") || return
echo "$file_output"
- validate_elf_metadata "$arch" "$path" "$file_output" "$header_output" "$program_output"
+ validate_elf_metadata "$arch" "$path" "$file_output" "$header_output" "$program_output" || return
+ if [ "${path##*/}" = jt9 ]; then
+ dynamic_output=$(readelf -dW -- "$path") || return
+ if printf '%s\n' "$dynamic_output" | awk '/\(NEEDED\)/ && /\[libQt/ { found=1 } END { exit found ? 0 : 1 }'; then
+ linux_validation_error "$path must not depend on Qt"
+ return 1
+ fi
+ fi
}
validate_linux_build_executables() {