From 2355e147dd040383b4166d8221c51b2594b171e5 Mon Sep 17 00:00:00 2001 From: diviocity Date: Tue, 1 Dec 2026 05:10:06 +0100 Subject: [PATCH] Account for reference library paths and release differences --- PROFILES.md | 2 ++ tools/release-owners.py | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/PROFILES.md b/PROFILES.md index dcb68f7..ae884ac 100644 --- a/PROFILES.md +++ b/PROFILES.md @@ -154,6 +154,8 @@ The refreshed candidate's cold clients also passed the required owner checks. Th The refreshed comparison traces 696 published GCC paths on x86_64 and 588 on AArch64 to package-owned paths under the Vinix compiler triplet. It checks the driver links, headers and compiler internals against the signed installed database. All 165 amd64 and 161 arm64 reference input rows with matching published files have an installed provider backed by a verified source archive. See `foundation/release-mode-migration-gcc-owners-01`, receipt SHA-256 `6b8bd8c685f5386f1b33adedd89758d378281c5239e127e926325cc2ca310bb9`. +The reference path check also maps the published OpenMP linker spec and the versioned PCRE2, zlib and LLVM 17 library filenames to their package-owned Vinix paths. The remaining 23 amd64 and 12 arm64 observations are recorded in `reference-differences.tsv`. They include Alpine and Linux configuration, the legacy Mesa owner of the GLX paths, and files outside the candidate's C/C++ and desktop profiles such as the standalone GCC module mapper, Fortran headers and the Mesa OpenCL link. The published ELF dependency tables identify `/sbin/apk` as the sole consumer of `libapk` and show no dependencies on Rusticl or libquadmath. See `foundation/release-mode-migration-reference-paths-02`, receipt SHA-256 `adb42279577ae50499a7dd34c3110a3d61eff88dd1b7c6ba26bebe42eb3cf355`. + Run the owner comparison against an installed vpac root on the build worker. It reruns the installed-root auditor, then joins each published path to its actual vpac owner. It retains the original Alpine binary, version, repository and image or sidecar layer. The summary gives the expected Vinix packages, their presence in the signed root and an outstanding check for each input. To inventory an architecture awaiting its first root, omit both client options. ```sh diff --git a/tools/release-owners.py b/tools/release-owners.py index 06586c7..904f51a 100644 --- a/tools/release-owners.py +++ b/tools/release-owners.py @@ -37,6 +37,12 @@ BINARY_OWNERS = { "mesa-osmesa": ("mesa-gallium-sdk",), "mesa-xatracker": ("mesa-gallium-sdk",), } +LIBRARY_RELOCATIONS = { + ("llvm17", "usr/lib/libLLVM-17.0.6.so"): "usr/lib/libLLVM-17.so", + ("pcre2", "usr/lib/libpcre2-8.so.0.12.0"): "usr/lib/libpcre2-8.so.0", + ("pcre2", "usr/lib/libpcre2-posix.so.3.0.5"): "usr/lib/libpcre2-posix.so.3", + ("zlib", "usr/lib/libz.so.1.3.2"): "usr/lib/libz.so.1", +} def providers(row, path=None): @@ -106,6 +112,9 @@ def relocated(row, path, arch, versions): if origin == "binutils" and path.startswith(f"usr/{old_target}/"): return f"usr/{target}/" + path.removeprefix(f"usr/{old_target}/") if origin == "gcc": + upstream = row["version"].rsplit("-r", 1)[0] + if path == f"usr/lib/gcc/{old_target}/{upstream}/libgomp.spec": + return "usr/lib/libgomp.spec" for directory in ("usr/lib/gcc", "usr/libexec/gcc"): prefix = f"{directory}/{old_target}/" if path.startswith(prefix): @@ -117,7 +126,7 @@ def relocated(row, path, arch, versions): return "usr/bin/cc" if driver and "/" not in driver: return f"usr/bin/{target}-{driver}" - return None + return LIBRARY_RELOCATIONS.get((origin, path)) def replacement(row, path): -- 2.56.1