From 59a62ac3470f93aaeeee9bdc74d0aba6bea4dc9f Mon Sep 17 00:00:00 2001 From: Jean-Francois Panisset Date: Sat, 6 Dec 2025 22:51:45 -0800 Subject: [PATCH] No more sudo wrappers with gcc-toolset 14 Don't spuriously call sudo for binaries in /usr/local/bin, sudo won't have that in its PATH or LD_LIBRARY_PATH. Signed-off-by: Jean-Francois Panisset --- CHANGELOG.md | 3 +++ ci-otio/Dockerfile | 2 +- ci-otio/image.yaml | 2 +- ci-usd/Dockerfile | 2 +- ci-usd/image.yaml | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a5ca675..5dc107ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ All notable changes to this project will be documented in this file. Re-releasing 2025.5 / 2025.4 / 2026.2 without 1.5GB of Conan download cache bloat. +Also 2026 images use gcc-toolset 14, which no longer has a sudo wrapper preserving PATH / LD_LIBRARY_PATH. +Get rid of calls to sudo which try to run binaries in /usr/local/bin. + # 2025-11-09 2024.5 / 2025.4 / 2026.2 releases. VFX Platform 2026 release is now feature complete. diff --git a/ci-otio/Dockerfile b/ci-otio/Dockerfile index 14549345..0dbcc2c8 100644 --- a/ci-otio/Dockerfile +++ b/ci-otio/Dockerfile @@ -270,4 +270,4 @@ RUN --mount=type=cache,target=/opt/conan_home/d \ /tmp/install_conanpackages.sh /usr/local vfx${ASWF_VFXPLATFORM_VERSION} otio -RUN sudo pip3 install flake8 tox urllib3 +RUN pip3 install flake8 tox urllib3 diff --git a/ci-otio/image.yaml b/ci-otio/image.yaml index a362ffa6..1df05aa6 100644 --- a/ci-otio/image.yaml +++ b/ci-otio/image.yaml @@ -44,4 +44,4 @@ implicit_packages: docker_from: ${ASWF_ORG}/ci-common:${CI_COMMON_VERSION}-clang${ASWF_CLANG_MAJOR_VERSION} docker_package_version: $ASWF_VFXPLATFORM_VERSION docker_post_commands: | - RUN sudo pip3 install flake8 tox urllib3 + RUN pip3 install flake8 tox urllib3 diff --git a/ci-usd/Dockerfile b/ci-usd/Dockerfile index 07465957..f8639eef 100644 --- a/ci-usd/Dockerfile +++ b/ci-usd/Dockerfile @@ -337,4 +337,4 @@ RUN --mount=type=cache,target=/opt/conan_home/d \ /tmp/install_conanpackages.sh /usr/local vfx${ASWF_VFXPLATFORM_VERSION} usd -RUN sudo pip3 install jinja2 PyOpenGL +RUN pip3 install jinja2 PyOpenGL diff --git a/ci-usd/image.yaml b/ci-usd/image.yaml index 90dd5532..b5ec90ca 100644 --- a/ci-usd/image.yaml +++ b/ci-usd/image.yaml @@ -57,4 +57,4 @@ implicit_packages: docker_from: ${ASWF_ORG}/ci-common:${CI_COMMON_VERSION}-clang${ASWF_CLANG_MAJOR_VERSION} docker_package_version: $ASWF_VFXPLATFORM_VERSION docker_post_commands: | - RUN sudo pip3 install jinja2 PyOpenGL + RUN pip3 install jinja2 PyOpenGL