From ffc62c792c9a5196cb4ce7a353287dfe20db6524 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Fri, 9 Oct 2026 14:12:35 +0200 Subject: New upstream version 3.3.0~beta1+dfsg --- .github/scripts/linux-artifact-validation.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to '.github/scripts/linux-artifact-validation.sh') 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() { -- cgit v1.2.3