Skip to content

fix(build): set target_arch to fix NSS build on Apple Silicon

2ebfb5d
Select commit
Loading
Failed to load commit list.
Open

fix(build): set target_arch to fix NSS build on Apple Silicon #6713

fix(build): set target_arch to fix NSS build on Apple Silicon
2ebfb5d
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / toolchain-desktop-macos succeeded Apr 18, 2025 in 1m 41s

FirefoxCI (pull_request)

Desktop libs (macOS): build

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2025-04-18T11:17:45.904Z
Resolved: 2025-04-18T11:18:57.924Z
Task Execution Time: 1 minute, 12 seconds, 20 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/build/macos.tar.gz
- public/chain-of-trust.json
- public/chain-of-trust.json.sig
- public/logs/certified.log
- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2025-04-18 11:17:45.953Z] Task ID: E4BuaWzSSD23YWBFhi7ZTA
[taskcluster 2025-04-18 11:17:45.953Z] Worker ID: 7257524942574423080
[taskcluster 2025-04-18 11:17:45.953Z] Worker Group: us-west1-b
[taskcluster 2025-04-18 11:17:45.953Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-16
[taskcluster 2025-04-18 11:17:45.953Z] Worker Pool: app-services-1/b-linux-gcp
[taskcluster 2025-04-18 11:17:45.953Z] Worker Version: 38.0.5
[taskcluster 2025-04-18 11:17:45.953Z] Public IP: 35.199.181.182
[taskcluster 2025-04-18 11:17:45.953Z] Hostname: app-services-1-b-linux-gcp-zacovttgriol4xycadeghw
[taskcluster 2025-04-18 11:17:45.953Z] using cache "app-services-level-1-checkouts-sparse-v3-0afbf72f72cb5ffedd2f-Y_jYMFaIQNG5h59xTR-qnA" -> /builds/worker/checkouts

[taskcluster 2025-04-18 11:17:46.419Z] Image 'public/image.tar.zst' from task 'Y_jYMFaIQNG5h59xTR-qnA' loaded.  Using image ID sha256:83450a9ac876b52ebbe602e41906140089f5ad808d808fe4b9bb089b8ae3de43.
[taskcluster 2025-04-18 11:17:46.428Z] === Task Starting ===
[setup 2025-04-18T11:17:46.679Z] run-task started in /builds/worker
[setup 2025-04-18T11:17:46.679Z] Invoked by command: --appservices-checkout=/builds/worker/checkouts/vcs/ --appservices-sparse-profile=build/sparse-profiles/toolchain-build --task-cwd /builds/worker/checkouts -- vcs/taskcluster/scripts/toolchain/desktop-macos.sh
[setup 2025-04-18T11:17:46.679Z] Python version: 3.10.12
[cache 2025-04-18T11:17:46.681Z] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2025-04-18T11:17:46.681Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2025-04-18T11:17:46.681Z] volume /builds/worker/checkouts is a cache
[setup 2025-04-18T11:17:46.681Z] running as worker:worker
[vcs 2025-04-18T11:17:46.681Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']

...(831 lines hidden)...

[task 2025-04-18T11:18:48.818Z] if [[ "${#}" -lt 1 ]] || [[ "${#}" -gt 2 ]]
[task 2025-04-18T11:18:48.818Z] then
[task 2025-04-18T11:18:48.818Z]   echo "Usage:"
[task 2025-04-18T11:18:48.818Z]   echo "./build-nss-desktop.sh <ABSOLUTE_SRC_DIR> [CROSS_COMPILE_TARGET]"
[task 2025-04-18T11:18:48.818Z]   exit 1
[task 2025-04-18T11:18:48.818Z] fi
[task 2025-04-18T11:18:48.818Z] + [[ 2 -lt 1 ]]
[task 2025-04-18T11:18:48.818Z] + [[ 2 -gt 2 ]]
[task 2025-04-18T11:18:48.818Z] 
[task 2025-04-18T11:18:48.818Z] NSS_SRC_DIR=${1}
[task 2025-04-18T11:18:48.818Z] + NSS_SRC_DIR=/builds/worker/checkouts/vcs/libs/nss-3.110
[task 2025-04-18T11:18:48.818Z] # Whether to cross compile from Linux to a different target.  Really
[task 2025-04-18T11:18:48.818Z] # only intended for automation.
[task 2025-04-18T11:18:48.818Z] CROSS_COMPILE_TARGET=${2-}
[task 2025-04-18T11:18:48.818Z] + CROSS_COMPILE_TARGET=darwin
[task 2025-04-18T11:18:48.818Z] # We only need this in a couple of places so we'll default to "unknown"
[task 2025-04-18T11:18:48.818Z] # Othertimes, it'll match what CARGO_CFG_TARGET_ARCH is on the rust side
[task 2025-04-18T11:18:48.818Z] TARGET_ARCH="unknown"
[task 2025-04-18T11:18:48.818Z] + TARGET_ARCH=unknown
[task 2025-04-18T11:18:48.818Z] 
[task 2025-04-18T11:18:48.818Z] if [[ -n "${CROSS_COMPILE_TARGET}" ]] && [[ "$(uname -s)" != "Linux" ]]; then
[task 2025-04-18T11:18:48.818Z]   echo "Can only cross compile from 'Linux'; 'uname -s' is $(uname -s)"
[task 2025-04-18T11:18:48.818Z]   exit 1
[task 2025-04-18T11:18:48.818Z] fi
[task 2025-04-18T11:18:48.818Z] + [[ -n darwin ]]
[task 2025-04-18T11:18:48.819Z] ++ uname -s
[task 2025-04-18T11:18:48.819Z] + [[ Linux != \L\i\n\u\x ]]
[task 2025-04-18T11:18:48.819Z] 
[task 2025-04-18T11:18:48.819Z] if [[ "${CROSS_COMPILE_TARGET}" =~ "darwin" ]]; then
[task 2025-04-18T11:18:48.819Z]   DIST_DIR=$(abspath "desktop/darwin/nss")
[task 2025-04-18T11:18:48.819Z]   TARGET_OS="macos"
[task 2025-04-18T11:18:48.819Z] elif [[ -n "${CROSS_COMPILE_TARGET}" ]]; then
[task 2025-04-18T11:18:48.819Z]   echo "Cannot build NSS for unrecognized target OS ${CROSS_COMPILE_TARGET}"
[task 2025-04-18T11:18:48.819Z]   exit 1
[task 2025-04-18T11:18:48.819Z] elif [[ "$(uname -s)" == "Darwin" ]]; then
[task 2025-04-18T11:18:48.819Z]   TARGET_OS="macos"
[task 2025-04-18T11:18:48.819Z]   # We need to set this variable for switching libs based on different macos archs (M1 vs Intel)
[task 2025-04-18T11:18:48.819Z]   # Also set lowercase target_arch which gyp expects
[task 2025-04-18T11:18:48.819Z]   if [[ "$(uname -m)" == "arm64" ]]; then
[task 2025-04-18T11:18:48.819Z]     DIST_DIR=$(abspath "desktop/darwin-aarch64/nss")
[task 2025-04-18T11:18:48.819Z]     TARGET_ARCH="aarch64"
[task 2025-04-18T11:18:48.819Z]     target_arch="$(uname -m)"
[task 2025-04-18T11:18:48.819Z]     export target_arch
[task 2025-04-18T11:18:48.819Z]   else
[task 2025-04-18T11:18:48.819Z]     DIST_DIR=$(abspath "desktop/darwin-x86-64/nss")
[task 2025-04-18T11:18:48.819Z]     TARGET_ARCH="x86_64"
[task 2025-04-18T11:18:48.819Z]     target_arch="$(uname -m)"
[task 2025-04-18T11:18:48.819Z]     export target_arch
[task 2025-04-18T11:18:48.819Z]   fi
[task 2025-04-18T11:18:48.819Z] elif [[ "$(uname -s)" == "Linux" ]]; then
[task 2025-04-18T11:18:48.819Z]   # This is a JNA weirdness: "x86-64" rather than "x86_64".
[task 2025-04-18T11:18:48.819Z]   DIST_DIR=$(abspath "desktop/linux-x86-64/nss")
[task 2025-04-18T11:18:48.819Z]   TARGET_OS="linux"
[task 2025-04-18T11:18:48.819Z] else
[task 2025-04-18T11:18:48.819Z]    echo "Cannot build NSS on unrecognized host OS $(uname -s)"
[task 2025-04-18T11:18:48.819Z]    exit 1
[task 2025-04-18T11:18:48.819Z] fi
[task 2025-04-18T11:18:48.819Z] + [[ darwin =~ darwin ]]
[task 2025-04-18T11:18:48.820Z] ++ abspath desktop/darwin/nss
[task 2025-04-18T11:18:48.820Z] ++ case "${1}" in
[task 2025-04-18T11:18:48.820Z] ++ printf '%s\n' /builds/worker/checkouts/vcs/libs/desktop/darwin/nss
[task 2025-04-18T11:18:48.820Z] + DIST_DIR=/builds/worker/checkouts/vcs/libs/desktop/darwin/nss
[task 2025-04-18T11:18:48.820Z] + TARGET_OS=macos
[task 2025-04-18T11:18:48.820Z] 
[task 2025-04-18T11:18:48.820Z] if [[ -d "${DIST_DIR}" ]]; then
[task 2025-04-18T11:18:48.820Z]   echo "${DIST_DIR} folder already exists. Skipping build."
[task 2025-04-18T11:18:48.820Z]   exit 0
[task 2025-04-18T11:18:48.820Z] fi
[task 2025-04-18T11:18:48.820Z] + [[ -d /builds/worker/checkouts/vcs/libs/desktop/darwin/nss ]]
[task 2025-04-18T11:18:48.820Z] 
[task 2025-04-18T11:18:48.820Z] # We do not know how to cross compile these, so we pull pre-built versions from NSS CI
[task 2025-04-18T11:18:48.820Z] # https://github.com/mozilla/application-services/issues/962
[task 2025-04-18T11:18:48.820Z] if [[ "${CROSS_COMPILE_TARGET}" =~ "darwin" ]]; then
[task 2025-04-18T11:18:48.820Z]   if [[ "${MOZ_AUTOMATION}" == "1" ]]; then
[task 2025-04-18T11:18:48.820Z]     # run-task has already downloaded + extracted the dependency
[task 2025-04-18T11:18:48.820Z]     NSS_DIST_DIR="${MOZ_FETCHES_DIR}/dist"
[task 2025-04-18T11:18:48.820Z]   else
[task 2025-04-18T11:18:48.820Z]     # From https://firefox-ci-tc.services.mozilla.com/tasks/index/app-services.cache.level-3.content.v1.nss-artifact/latest
[task 2025-04-18T11:18:48.820Z]     curl -sfSL --retry 5 --retry-delay 10 -O "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/app-services.cache.level-3.content.v1.nss-artifact.latest/artifacts/public%2Fdist.tar.bz2"
[task 2025-04-18T11:18:48.820Z]     SHA256="ab0e4bf7761dc6ed63ae83369921d1004c564605fc2ba3606c5627ce23c3e777"
[task 2025-04-18T11:18:48.820Z]     echo "${SHA256}  dist.tar.bz2" | shasum -a 256 -c - || exit 2
[task 2025-04-18T11:18:48.820Z]     tar xvjf dist.tar.bz2 && rm -rf dist.tar.bz2
[task 2025-04-18T11:18:48.820Z]     NSS_DIST_DIR=$(abspath "dist")
[task 2025-04-18T11:18:48.820Z]   fi
[task 2025-04-18T11:18:48.820Z] elif [[ "$(uname -s)" == "Darwin" ]] || [[ "$(uname -s)" == "Linux" ]]; then
[task 2025-04-18T11:18:48.820Z]   "${NSS_SRC_DIR}"/nss/build.sh \
[task 2025-04-18T11:18:48.820Z]     -v \
[task 2025-04-18T11:18:48.820Z]     --opt \
[task 2025-04-18T11:18:48.820Z]     --static \
[task 2025-04-18T11:18:48.820Z]     --disable-tests \
[task 2025-04-18T11:18:48.820Z]     -Ddisable_dbm=1 \
[task 2025-04-18T11:18:48.820Z]     -Dsign_libs=0 \
[task 2025-04-18T11:18:48.820Z]     -Ddisable_libpkix=1
[task 2025-04-18T11:18:48.820Z]   NSS_DIST_DIR="${NSS_SRC_DIR}/dist"
[task 2025-04-18T11:18:48.820Z] fi
[task 2025-04-18T11:18:48.820Z] + [[ darwin =~ darwin ]]
[task 2025-04-18T11:18:48.820Z] + [[ 1 == \1 ]]
[task 2025-04-18T11:18:48.820Z] + NSS_DIST_DIR=/builds/worker/fetches/dist
[task 2025-04-18T11:18:48.820Z] 
[task 2025-04-18T11:18:48.820Z] mkdir -p "${DIST_DIR}/include/nss"
[task 2025-04-18T11:18:48.820Z] + mkdir -p /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/include/nss
[task 2025-04-18T11:18:48.821Z] mkdir -p "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.821Z] + mkdir -p /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.822Z] NSS_DIST_OBJ_DIR="${NSS_DIST_DIR}/Release"
[task 2025-04-18T11:18:48.822Z] + NSS_DIST_OBJ_DIR=/builds/worker/fetches/dist/Release
[task 2025-04-18T11:18:48.822Z] # NSPR
[task 2025-04-18T11:18:48.822Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libplc4.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.822Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libplc4.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.823Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libplds4.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.823Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libplds4.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.824Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libnspr4.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.824Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libnspr4.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.825Z] # NSS
[task 2025-04-18T11:18:48.825Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libcertdb.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.825Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libcertdb.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.827Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libcerthi.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.827Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libcerthi.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.828Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libcryptohi.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.828Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libcryptohi.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.829Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libfreebl_static.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.829Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libfreebl_static.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.835Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libnss_static.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.835Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libnss_static.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.837Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libmozpkix.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.837Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libmozpkix.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.838Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libnssb.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.838Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libnssb.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.839Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libnssdev.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.839Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libnssdev.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.840Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libnsspki.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.840Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libnsspki.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.842Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libnssutil.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.842Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libnssutil.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.843Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libpk11wrap_static.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.843Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libpk11wrap_static.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.846Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libpkcs12.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.846Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libpkcs12.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.847Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libpkcs7.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.847Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libpkcs7.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.848Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libsmime.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.848Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libsmime.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.850Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libsoftokn_static.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.850Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libsoftokn_static.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.852Z] cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libssl.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.852Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libssl.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.855Z] 
[task 2025-04-18T11:18:48.855Z] # Apple M1 need HW specific libs copied over to successfully build
[task 2025-04-18T11:18:48.855Z] if [[ "${TARGET_ARCH}" == "aarch64" ]]; then
[task 2025-04-18T11:18:48.855Z]   cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libarmv8_c_lib.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.855Z]   cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libgcm-aes-aarch64_c_lib.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.855Z] else
[task 2025-04-18T11:18:48.855Z]   # HW specific.
[task 2025-04-18T11:18:48.855Z]   # https://searchfox.org/mozilla-central/rev/1eb05019f47069172ba81a6c108a584a409a24ea/security/nss/lib/freebl/freebl.gyp#159-163
[task 2025-04-18T11:18:48.855Z]   cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libhw-acc-crypto-avx.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.855Z]   cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libhw-acc-crypto-avx2.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.855Z]   cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libgcm-aes-x86_c_lib.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.855Z]   cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libsha-x86_c_lib.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.855Z] fi
[task 2025-04-18T11:18:48.855Z] + [[ unknown == \a\a\r\c\h\6\4 ]]
[task 2025-04-18T11:18:48.855Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libhw-acc-crypto-avx.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.856Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libhw-acc-crypto-avx2.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.857Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libgcm-aes-x86_c_lib.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.858Z] + cp -p -L /builds/worker/fetches/dist/Release/lib/libsha-x86_c_lib.a /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/lib
[task 2025-04-18T11:18:48.859Z] # https://searchfox.org/mozilla-central/rev/1eb05019f47069172ba81a6c108a584a409a24ea/security/nss/lib/freebl/freebl.gyp#224-233
[task 2025-04-18T11:18:48.859Z] if [[ "${TARGET_OS}" == "windows" ]] || [[ "${TARGET_OS}" == "linux" ]]; then
[task 2025-04-18T11:18:48.859Z]   cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libintel-gcm-wrap_c_lib.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.859Z]   # https://searchfox.org/mozilla-central/rev/1eb05019f47069172ba81a6c108a584a409a24ea/security/nss/lib/freebl/freebl.gyp#43-47
[task 2025-04-18T11:18:48.859Z]   if [[ "${TARGET_OS}" == "linux" ]]; then
[task 2025-04-18T11:18:48.859Z]     cp -p -L "${NSS_DIST_OBJ_DIR}/lib/libintel-gcm-s_lib.a" "${DIST_DIR}/lib"
[task 2025-04-18T11:18:48.859Z]   fi
[task 2025-04-18T11:18:48.859Z] fi
[task 2025-04-18T11:18:48.859Z] + [[ macos == \w\i\n\d\o\w\s ]]
[task 2025-04-18T11:18:48.859Z] + [[ macos == \l\i\n\u\x ]]
[task 2025-04-18T11:18:48.859Z] 
[task 2025-04-18T11:18:48.859Z] cp -p -L -R "${NSS_DIST_DIR}/public/nss/"* "${DIST_DIR}/include/nss"
[task 2025-04-18T11:18:48.860Z] + cp -p -L -R /builds/worker/fetches/dist/public/nss/base64.h /builds/worker/fetches/dist/public/nss/blapit.h /builds/worker/fetches/dist/public/nss/certdb.h /builds/worker/fetches/dist/public/nss/cert.h /builds/worker/fetches/dist/public/nss/certt.h /builds/worker/fetches/dist/public/nss/ciferfam.h /builds/worker/fetches/dist/public/nss/cmmf.h /builds/worker/fetches/dist/public/nss/cmmft.h /builds/worker/fetches/dist/public/nss/cms.h /builds/worker/fetches/dist/public/nss/cmsreclist.h /builds/worker/fetches/dist/public/nss/cmst.h /builds/worker/fetches/dist/public/nss/crmf.h /builds/worker/fetches/dist/public/nss/crmft.h /builds/worker/fetches/dist/public/nss/cryptohi.h /builds/worker/fetches/dist/public/nss/cryptoht.h /builds/worker/fetches/dist/public/nss/eccutil.h /builds/worker/fetches/dist/public/nss/ecl-exp.h /builds/worker/fetches/dist/public/nss/hasht.h /builds/worker/fetches/dist/public/nss/jar-ds.h /builds/worker/fetches/dist/public/nss/jarfile.h /builds/worker/fetches/dist/public/nss/jar.h /builds/worker/fetches/dist/public/nss/key.h /builds/worker/fetches/dist/public/nss/keyhi.h /builds/worker/fetches/dist/public/nss/keyt.h /builds/worker/fetches/dist/public/nss/keythi.h /builds/worker/fetches/dist/public/nss/kyber.h /builds/worker/fetches/dist/public/nss/lowkeyi.h /builds/worker/fetches/dist/public/nss/lowkeyti.h /builds/worker/fetches/dist/public/nss/mozpkix /builds/worker/fetches/dist/public/nss/nssb64.h /builds/worker/fetches/dist/public/nss/nssb64t.h /builds/worker/fetches/dist/public/nss/nssbase.h /builds/worker/fetches/dist/public/nss/nssbaset.h /builds/worker/fetches/dist/public/nss/nssck.api /builds/worker/fetches/dist/public/nss/nssckbi.h /builds/worker/fetches/dist/public/nss/nssckepv.h /builds/worker/fetches/dist/public/nss/nssckft.h /builds/worker/fetches/dist/public/nss/nssckfwc.h /builds/worker/fetches/dist/public/nss/nssckfw.h /builds/worker/fetches/dist/public/nss/nssckfwt.h /builds/worker/fetches/dist/public/nss/nssckg.h /builds/worker/fetches/dist/public/nss/nssckmdt.h /builds/worker/fetches/dist/public/nss/nssckt.h /builds/worker/fetches/dist/public/nss/nss.h /builds/worker/fetches/dist/public/nss/nsshash.h /builds/worker/fetches/dist/public/nss/nssilckt.h /builds/worker/fetches/dist/public/nss/nssilock.h /builds/worker/fetches/dist/public/nss/nsslocks.h /builds/worker/fetches/dist/public/nss/nssrwlk.h /builds/worker/fetches/dist/public/nss/nssrwlkt.h /builds/worker/fetches/dist/public/nss/nssutil.h /builds/worker/fetches/dist/public/nss/ocsp.h /builds/worker/fetches/dist/public/nss/ocspt.h /builds/worker/fetches/dist/public/nss/p12.h /builds/worker/fetches/dist/public/nss/p12plcy.h /builds/worker/fetches/dist/public/nss/p12t.h /builds/worker/fetches/dist/public/nss/pk11func.h /builds/worker/fetches/dist/public/nss/pk11hpke.h /builds/worker/fetches/dist/public/nss/pk11pqg.h /builds/worker/fetches/dist/public/nss/pk11priv.h /builds/worker/fetches/dist/public/nss/pk11pub.h /builds/worker/fetches/dist/public/nss/pk11sdr.h /builds/worker/fetches/dist/public/nss/pkcs11f.h /builds/worker/fetches/dist/public/nss/pkcs11.h /builds/worker/fetches/dist/public/nss/pkcs11n.h /builds/worker/fetches/dist/public/nss/pkcs11p.h /builds/worker/fetches/dist/public/nss/pkcs11t.h /builds/worker/fetches/dist/public/nss/pkcs11u.h /builds/worker/fetches/dist/public/nss/pkcs11uri.h /builds/worker/fetches/dist/public/nss/pkcs12.h /builds/worker/fetches/dist/public/nss/pkcs12t.h /builds/worker/fetches/dist/public/nss/pkcs1sig.h /builds/worker/fetches/dist/public/nss/pkcs7t.h /builds/worker/fetches/dist/public/nss/portreg.h /builds/worker/fetches/dist/public/nss/preenc.h /builds/worker/fetches/dist/public/nss/secasn1.h /builds/worker/fetches/dist/public/nss/secasn1t.h /builds/worker/fetches/dist/public/nss/seccomon.h /builds/worker/fetches/dist/public/nss/secder.h /builds/worker/fetches/dist/public/nss/secdert.h /builds/worker/fetches/dist/public/nss/secdig.h /builds/worker/fetches/dist/public/nss/secdigt.h /builds/worker/fetches/dist/public/nss/secerr.h /builds/worker/fetches/dist/public/nss/sechash.h /builds/worker/fetches/dist/public/nss/secitem.h /builds/worker/fetches/dist/public/nss/secmime.h /builds/worker/fetches/dist/public/nss/secmod.h /builds/worker/fetches/dist/public/nss/secmodt.h /builds/worker/fetches/dist/public/nss/secoid.h /builds/worker/fetches/dist/public/nss/secoidt.h /builds/worker/fetches/dist/public/nss/secpkcs5.h /builds/worker/fetches/dist/public/nss/secpkcs7.h /builds/worker/fetches/dist/public/nss/secport.h /builds/worker/fetches/dist/public/nss/shsign.h /builds/worker/fetches/dist/public/nss/smime.h /builds/worker/fetches/dist/public/nss/sslerr.h /builds/worker/fetches/dist/public/nss/sslexp.h /builds/worker/fetches/dist/public/nss/ssl.h /builds/worker/fetches/dist/public/nss/sslproto.h /builds/worker/fetches/dist/public/nss/sslt.h /builds/worker/fetches/dist/public/nss/utilmodt.h /builds/worker/fetches/dist/public/nss/utilpars.h /builds/worker/fetches/dist/public/nss/utilparst.h /builds/worker/fetches/dist/public/nss/utilrename.h /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/include/nss
[task 2025-04-18T11:18:48.866Z] cp -p -L -R "${NSS_DIST_OBJ_DIR}/include/nspr/"* "${DIST_DIR}/include/nss"
[task 2025-04-18T11:18:48.866Z] + cp -p -L -R /builds/worker/fetches/dist/Release/include/nspr/md /builds/worker/fetches/dist/Release/include/nspr/nspr.h /builds/worker/fetches/dist/Release/include/nspr/obsolete /builds/worker/fetches/dist/Release/include/nspr/plarena.h /builds/worker/fetches/dist/Release/include/nspr/plarenas.h /builds/worker/fetches/dist/Release/include/nspr/plbase64.h /builds/worker/fetches/dist/Release/include/nspr/plerror.h /builds/worker/fetches/dist/Release/include/nspr/plgetopt.h /builds/worker/fetches/dist/Release/include/nspr/plhash.h /builds/worker/fetches/dist/Release/include/nspr/plstr.h /builds/worker/fetches/dist/Release/include/nspr/pratom.h /builds/worker/fetches/dist/Release/include/nspr/prbit.h /builds/worker/fetches/dist/Release/include/nspr/prclist.h /builds/worker/fetches/dist/Release/include/nspr/prcmon.h /builds/worker/fetches/dist/Release/include/nspr/prcountr.h /builds/worker/fetches/dist/Release/include/nspr/prcpucfg.h /builds/worker/fetches/dist/Release/include/nspr/prcvar.h /builds/worker/fetches/dist/Release/include/nspr/prdtoa.h /builds/worker/fetches/dist/Release/include/nspr/prenv.h /builds/worker/fetches/dist/Release/include/nspr/prerr.h /builds/worker/fetches/dist/Release/include/nspr/prerror.h /builds/worker/fetches/dist/Release/include/nspr/prinet.h /builds/worker/fetches/dist/Release/include/nspr/prinit.h /builds/worker/fetches/dist/Release/include/nspr/prinrval.h /builds/worker/fetches/dist/Release/include/nspr/prio.h /builds/worker/fetches/dist/Release/include/nspr/pripcsem.h /builds/worker/fetches/dist/Release/include/nspr/private /builds/worker/fetches/dist/Release/include/nspr/prlink.h /builds/worker/fetches/dist/Release/include/nspr/prlock.h /builds/worker/fetches/dist/Release/include/nspr/prlog.h /builds/worker/fetches/dist/Release/include/nspr/prlong.h /builds/worker/fetches/dist/Release/include/nspr/prmem.h /builds/worker/fetches/dist/Release/include/nspr/prmon.h /builds/worker/fetches/dist/Release/include/nspr/prmwait.h /builds/worker/fetches/dist/Release/include/nspr/prnetdb.h /builds/worker/fetches/dist/Release/include/nspr/prolock.h /builds/worker/fetches/dist/Release/include/nspr/prpdce.h /builds/worker/fetches/dist/Release/include/nspr/prprf.h /builds/worker/fetches/dist/Release/include/nspr/prproces.h /builds/worker/fetches/dist/Release/include/nspr/prrng.h /builds/worker/fetches/dist/Release/include/nspr/prrwlock.h /builds/worker/fetches/dist/Release/include/nspr/prshma.h /builds/worker/fetches/dist/Release/include/nspr/prshm.h /builds/worker/fetches/dist/Release/include/nspr/prsystem.h /builds/worker/fetches/dist/Release/include/nspr/prthread.h /builds/worker/fetches/dist/Release/include/nspr/prtime.h /builds/worker/fetches/dist/Release/include/nspr/prtpool.h /builds/worker/fetches/dist/Release/include/nspr/prtrace.h /builds/worker/fetches/dist/Release/include/nspr/prtypes.h /builds/worker/fetches/dist/Release/include/nspr/prvrsion.h /builds/worker/fetches/dist/Release/include/nspr/prwin.h /builds/worker/checkouts/vcs/libs/desktop/darwin/nss/include/nss
[task 2025-04-18T11:18:48.870Z] 
[task 2025-04-18T11:18:48.870Z] rm -rf "${NSS_DIST_DIR}"
[task 2025-04-18T11:18:48.871Z] + rm -rf /builds/worker/fetches/dist
[task 2025-04-18T11:18:48.885Z] 
[task 2025-04-18T11:18:48.885Z] echo "Cleaning up"
[task 2025-04-18T11:18:48.885Z] + echo 'Cleaning up'
[task 2025-04-18T11:18:48.885Z] Cleaning up
[task 2025-04-18T11:18:48.885Z] rm -rf "${NSS_SRC_PATH}"
[task 2025-04-18T11:18:48.885Z] + rm -rf /builds/worker/checkouts/vcs/libs/nss-3.110
[task 2025-04-18T11:18:48.964Z] 
[task 2025-04-18T11:18:48.964Z] echo "Done"
[task 2025-04-18T11:18:48.964Z] + echo Done
[task 2025-04-18T11:18:48.964Z] Done
[task 2025-04-18T11:18:48.964Z] + popd
[task 2025-04-18T11:18:48.964Z] ~/checkouts/vcs
[task 2025-04-18T11:18:48.964Z] + mkdir -p /builds/worker/artifacts
[task 2025-04-18T11:18:48.965Z] + tar -czf /builds/worker/artifacts/macos.tar.gz libs/desktop
[fetches 2025-04-18T11:18:49.999Z] removing /builds/worker/fetches
[fetches 2025-04-18T11:18:51.911Z] finished
[taskcluster 2025-04-18 11:18:57.002Z] === Task Finished ===
[taskcluster 2025-04-18 11:18:57.340Z] Successful task run with exit code: 0 completed in 71.387 seconds