1077002957aa20969fc78414e52fb8df8215301c jcasper Fri Jun 27 12:34:37 2025 -0700 Making strict beta needs to make beta (for the build). Also, changes to support the use of libcurl in the utils build, since now that's linked in. refs #35988 diff --git src/utils/qa/weeklybld/userAppsCheckLinking src/utils/qa/weeklybld/userAppsCheckLinking index 21f41d439f6..0abbb6adfb9 100755 --- src/utils/qa/weeklybld/userAppsCheckLinking +++ src/utils/qa/weeklybld/userAppsCheckLinking @@ -1,36 +1,52 @@ #!/bin/bash -e ## # Check linking of a user app to check only allowed shared libraries are referenced. ## set -beEu -o pipefail if [[ $# = 0 ]] ; then echo "Wrong # args $0 prog [...]" exit 1 fi function checkProg() { local prog="$1" ldd $prog | awk -v prog=pro ' /^\\t/ { next; # not a library line } /linux-vdso\.so|libc\.so|libgcc_s\.so|libdl\.so|libm\.so|ld-linux-x86-64\.so/ { next; } + /libcurl\.so|libnghttp2\.so|libidn2\.so|librtmp\.so|libssh\.so|libpsl\.so|libssl\.so|libcrypto\.so/ { + next; # libcurl stuff + } + /libgssapi_krb5\.so|libldap\.so|liblber\.so|libzstd\.so|libbrotlidec\.so|libz\.so/ { + next; # more libcurl stuff + } + /libunistring\.so|libgnutls\.so|libhogweed\.so|libnettle\.so|libgmp\.so|libkrb5\.so|libk5crypto\.so/ { + next; # yet more libcurl stuff + } + /libcom_err\.so|libkrb5support\.so|libsasl2\.so|libbrotlicommon\.so|libp11-kit\.so|libtasn1\.so/ { + next; # even more libcurl stuff + } + /libkeyutils\.so|libresolv\.so|libffi\.so|libevent-2\.1\.so|libselinux\.so|libcrypt\.so|libpcre2-8\.so/ { + next; # last of the libcurl stuff + } + { print prog, "found unallowed dynamic library:", $0 > "/dev/stderr"; errcnt += 1 } END { if (errcnt) { exit 1; } }' } for p in "$@" ; do checkProg "$p" done