diff options
| author | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:49 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:49 +0200 |
| commit | 76956486fa7ef52a51d4e56df1e13a9f19a6c93c (patch) | |
| tree | fe0c394439fdc167d1970372e8998874090854dd /.github/scripts/verify-macos-artifacts.sh | |
| parent | 0685fcada9f95fe90f70b387cd7d757da8209624 (diff) | |
| parent | ffc62c792c9a5196cb4ce7a353287dfe20db6524 (diff) | |
Update upstream source from tag 'upstream/3.3.0_beta1+dfsg'
Update to upstream version '3.3.0~beta1+dfsg'
with Debian dir 85037bbb9376721108594b59b54ead82ac6924a3
Diffstat (limited to '.github/scripts/verify-macos-artifacts.sh')
| -rwxr-xr-x | .github/scripts/verify-macos-artifacts.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/scripts/verify-macos-artifacts.sh b/.github/scripts/verify-macos-artifacts.sh index 981e60d6..5caf31e0 100755 --- a/.github/scripts/verify-macos-artifacts.sh +++ b/.github/scripts/verify-macos-artifacts.sh @@ -9,6 +9,7 @@ Verifies Mach-O files under PATH for: * expected architecture * deployment target not newer than --target * no package-manager runtime library references + * no Qt load dependencies in jt9 Package-manager paths are always rejected: /opt/homebrew, /usr/local/Cellar, /usr/local/opt, /opt/local @@ -146,9 +147,20 @@ check_file() { fi install_name=$(otool -arch "$arch" -D "$file" 2>/dev/null | awk 'NR == 2 { print $1 }' || true) - refs=$(otool -arch "$arch" -L "$file" 2>/dev/null | awk 'NR > 1 { print $1 }' || true) + if ! refs=$(otool -arch "$arch" -L "$file" 2>/dev/null | awk 'NR > 1 { print $1 }'); then + echo "::error file=${file}::Could not inspect Mach-O load dependencies" + return 1 + fi while IFS= read -r ref; do [ -n "$ref" ] || continue + if [ "${file##*/}" = jt9 ]; then + case "${ref##*/}" in + Qt*|libQt*) + echo "::error file=${file}::jt9 must not depend on Qt: ${ref}" + fail=1 + ;; + esac + fi if [ "$ref" = "$install_name" ]; then case "$ref" in */*) ;; |
