Sun, 24 May 2026 09:28:28 CST | login

Information for build dotnet9-build-helper-1.0.0-5.oc9

ID46894
Package Namedotnet9-build-helper
Version1.0.0
Release5.oc9
Epoch
DraftFalse
Sourcedotnet9-build-helper-1.0.0-5.oc9.src.rpm
SummaryBuild-time clang-17 wrapper for dotnet 9 OpenSSL ABI dispatch on OC9
DescriptionInstalls a clang-17 wrapper that auto-dispatches OpenSSL ABI selection based on the static library paths appearing in each link command. This is required to build dotnet 9.0.x source RPMs on OpenCloudOS 9, where the default system OpenSSL is 3.0 but the upstream rocky.8-x64 NativeAOT prebuilt static libraries still require OpenSSL 1.1 ABI symbols. This package is intended ONLY for use inside build hosts / koji buildroots. Do NOT install on production / runtime systems.
Built byopencloudkoji
State complete
Volume DEFAULT
StartedThu, 21 May 2026 14:35:52 CST
CompletedThu, 21 May 2026 14:37:54 CST
Taskbuild (dist-oc9-epol, dotnet9-build-helper-1.0.0-5.oc8.src.rpm)
Extra{'source': {'original_url': 'dotnet9-build-helper-1.0.0-5.oc9.src.rpm'}}
Tags
dist-oc9-epol
RPMs
src
dotnet9-build-helper-1.0.0-5.oc9.src.rpm (info) (download)
noarch
dotnet9-build-helper-1.0.0-5.oc9.noarch.rpm (info) (download)
Logs
noarch
mock_config.log
installed_pkgs.log
build.log
mock_output.log
state.log
hw_info.log
dnf.log
dnf.librepo.log
root.log
dnf.rpm.log
noarch_rpmdiff.json
Changelog * Wed May 20 2026 jiaxinyyang <jiaxinyyang@tencent.com> - 1.0.0-5 - clang-17.wrapper: 放宽 RID 正则匹配,从硬编码 `x64` 扩展为 `(x64|arm64)`, 支持 aarch64 (ARM64) 架构的 koji 构建。 问题表现:在 ARM 上 RID 为 rocky.8-arm64 / rhel.9-arm64,旧 wrapper 的 `runtime\.rocky\.8-x64` 正则匹配不到,等同透传,导致链接走系统 OpenSSL 3.0 并报 `undefined symbol: ERR_put_error / EVP_MD_size`。 * Wed May 20 2026 jiaxinyyang <jiaxinyyang@tencent.com> - 1.0.0-4 - install.sh: 修复 is_elf 字符串比对错误(od -An -c 实际输出 "177ELF" 而非 "\\177ELF", 导致真 ELF 也被判否,触发 "neither ELF nor a wrapper" 误报) - install.sh: 备份逻辑放宽——只要不是已装 wrapper,统一 cp -aL 备份后覆盖, 兼容 ELF/软链/ccache/外部包装脚本等多种 clang-17 形态,不再 hard fail - install.sh: 删除不再使用的 is_elf 死代码 * Wed May 20 2026 jiaxinyyang <jiaxinyyang@tencent.com> - 1.0.0-3 - install.sh / spec %posttrans: 修正 is_wrapper 判定(rpmbuild brp-mangle-shebangs 会把 #!/bin/bash 改为 #!/usr/bin/bash,导致 head -c 11 == "#!/bin/bash" 永远假) - 改为只校验前 2 字节 "#!" 且文件包含 'OpenSSL ABI' 标识字符串 * Wed May 20 2026 jiaxinyyang <jiaxinyyang@tencent.com> - 1.0.0-2 - install.sh: 二进制安全自检(前 11 字节字面比对替代 head|grep '#!/bin/bash') - install.sh: install(1) 改为 cp + mv 原子覆盖,规避 SELinux/dnf 事务下偶发写入异常 - install.sh: 失败时打印强诊断(首 16 字节 od、file 类型),不再静默自爆还原 - spec %post: 去掉 || :,让 install 失败硬退出,避免被 dnf 吞掉 - spec %posttrans: 兜底判定改为二进制安全字节比对 * Wed May 20 2026 jiaxinyyang <jiaxinyyang@tencent.com> - 1.0.0-1 - Initial helper for dotnet 9.0.x build on OC9 (OpenSSL 1.1/3.0 ABI dispatch)