已开启
[24.03 LTS SP4] Fix cross-architecture SRPM patch inclusion #740
[24.03 LTS SP4] Fix cross-architecture SRPM patch inclusion #740
已开启
spy20051623创建于 9月9日
spy20051623
9月9日

当前PR是否有AI参与:

[ ] 否

[x] 是

__1. AI Agent 平台信息: Codex Desktop 26.901.6511.0
__2. 模型信息: GPT-5
__3. Prompt摘要: 分析 gcc #281 的同源异构 SRPM 问题,核对 SP4 历史修复和后续回归,并修正当前分支的 LoongArch 补丁声明。

参考:openEuler社区《生成式AI工具使用与开源贡献政策》

PR功能描述 / 为什么需要这个合入:

SP4 曾通过同步获得同源异构修复,但后续 LoongArch 补丁更新重新加入了 %ifarch 条件,使非 LoongArch 生成的 SRPM 再次遗漏相关补丁。

本次修改:

  • 移除 LoongArch Patch 声明外层的架构条件,使所有架构生成的 SRPM 都携带相关补丁。
  • 保留 %prep 中按 loongarch64 应用补丁的条件。
  • 更新 Release 和 changelog。

该PR关联的issue

(格式为 fixes #<issue号>,或者 resolves #<issue号>)

fixes #281

希望检视人员了解:

  1. 目标分支为 openEuler-24.03-LTS-SP4;这是 PR !715 合入后由后续补丁同步引入的回归。
  2. git diff --check 通过,补丁声明均能找到对应文件;尚未完成跨架构 SRPM 端到端重建验证。
  3. 本次只调整源码包收录条件,不改变非 LoongArch 架构的补丁应用路径。
likedislike
合并受阻
Sspy20051623
9月9日 创建了 pull request,commit cdf22337
Sspy20051623
9月9日 关联了issue:srpm 同源异构问题
openeuler-ci-botopeneuler-ci-bot成员
9月9日 将alexanderbill,neu-mobi,li-yancheng,xiezhaokun,cf-zhao,eastb233,wangqiang95,kuenking111_admin,wd-gitcode,chenzheng1030设为审查人
openeuler-ci-botopeneuler-ci-bot成员
9月9日 添加了label:sig/Compiler
openeuler-ci-bot
openeuler-ci-bot成员
9月9日 评论:

Welcome To openEuler Community

Hey @spy20051623 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.

Contact Guide

If you have any questions, please contact the SIG: Compiler ,
and any of the maintainers: @alexanderbill, @cf-zhao, @chenzheng1030, @eastb233, @kuenking111_admin, @li-yancheng, @neu-mobi, @wangqiang95, @wd-gitcode, @xiezhaokun ,
and any of the committers: @huang-xiaoquan, @huzife, @lin-4682 .

likedislike
openeuler-ci-botopeneuler-ci-bot成员
9月9日 添加了label:ai-co-authored
openeuler-ci-botopeneuler-ci-bot成员
9月9日 添加了label:ai-includes-code
openeuler-ci-botopeneuler-ci-bot成员
9月9日 添加了label:openeuler-cla/yes
openeuler-ci-bot
openeuler-ci-bot成员
9月9日 评论:

CLA Signature Pass

spy20051623, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
9月9日 评论:

当前仓库存在以下 保护分支 :

Protected Branch Version Release
master 12.3.1 114
openEuler-24.03-LTS-Next 12.3.1 115
openEuler-24.03-LTS-SP4 12.3.1 112
openEuler-26.09-DevStation 12.3.1 114
openEuler-24.03-LTS-SP3 12.3.1 111
openEuler-26.09 12.3.1 105
openEuler-24.03-LTS-SP1 12.3.1 67
openEuler-22.03-LTS-SP4 10.3.1 72
openEuler-20.03-LTS-SP4 7.3.0 2020033101.59
upgrade-gcc-12 12.3.0 2
openEuler1.0-base 7.3.0 20190804.h30
openEuler1.0 7.3.0 20190804.h30
openEuler-22.03-LTS-performance 10.3.1 15
openEuler-22.03-LTS-LoongArch 10.3.1 23
openEuler-21.03-performance 9.3.1 20211230.20
openEuler-20.03-LTS-performance 7.3.0 20190804.h32

评论 /sync <branch1> <branch2> ... 可将当前 PR 修改同步到其它分支(创建同步 PR):
a) 如果当前 PR 是 Open 状态,同步操作将延迟到 PR 被合并时执行
b) 如果当前 PR 已经 Merged,将立即执行同步操作

注意:

  1. /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
  2. 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭
likedislike
openeuler-ci-botopeneuler-ci-bot成员
9月9日 添加了label:ai-compliance-failed
openeuler-ci-bot
openeuler-ci-bot成员
9月9日 评论:

AI Declaration Check Failed

@spy20051623, AI declaration is not compliant. AI tool: Codex Desktop

Please check:

  1. The AI tool and model declared in the PR description must be real.
  2. Commit messages must include the AI model, and it must be consistent with the PR description.

Details: AI Coding Assistants. ⚠️

likedislike
Sspy20051623
9月9日 修改了pull request 的描述
openeuler-ci-botopeneuler-ci-bot成员
9月9日 删除了label:ai-compliance-failed
openeuler-ci-botopeneuler-ci-bot成员
9月9日 添加了label:ai-compliance-successful
openeuler-ci-bot
openeuler-ci-bot成员
9月9日 评论:

门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/src-openeuler/trigger/gcc/89/console

likedislike
openeuler-ci-botopeneuler-ci-bot成员
9月9日 添加了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
9月9日 评论:

aarch64架构构建及构建后检查:multiarch/src-openeuler/aarch64/gcc/89/console

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
9月9日 评论:

x86_64架构构建及构建后检查:multiarch/src-openeuler/x86-64/gcc/89/console

likedislike
openeuler-ci-botopeneuler-ci-bot成员
9月9日 删除了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
9月9日 评论:
Check Name Build Result 详情 Build Details
check_binary_file ✅SUCCESS #89
check_lfsconfig ☑EXCLUDE
check_package_yaml_file ✅SUCCESS
check_repo_in_maintain ✅SUCCESS
check_consistency ✅SUCCESS
check_spec_file ✅SUCCESS
x86_64 check_build ✅SUCCESS #89
check_install ✅SUCCESS
check_license ✅SUCCESS
aarch64 check_build ✅SUCCESS #89
check_install ✅SUCCESS
check_license ✅SUCCESS
likedislike
openeuler-ci-botopeneuler-ci-bot成员
9月9日 添加了label:ci_successful
openeuler-ci-bot
openeuler-ci-bot成员
9月9日 评论:

如下为接口变更检查结果,目标分支为openEuler-24.03-LTS-SP4,请PR提交者check差异信息

Arch Name Check Items Rpm Name Check Result Build Details
compare_package(x86_64) add_rpms ✅SUCCESS #89
delete_rpms ✅SUCCESS
rpm_abi ✅SUCCESS
rpm_cmd ✅SUCCESS
rpm_files ✅SUCCESS
rpm_header ✅SUCCESS
rpm_lib ✅SUCCESS
rpm_provides ✅SUCCESS
rpm_requires ✅SUCCESS
rpm_symbol ✅SUCCESS
compare_package(aarch64) add_rpms ✅SUCCESS #89
delete_rpms ✅SUCCESS
rpm_abi ✅SUCCESS
rpm_cmd ✅SUCCESS
rpm_files ✅SUCCESS
rpm_header ✅SUCCESS
rpm_lib ✅SUCCESS
rpm_provides ✅SUCCESS
rpm_requires ✅SUCCESS
rpm_symbol ✅SUCCESS
likedislike
openeuler-ci-bot
openeuler-ci-bot成员
9月9日 评论:
likedislike
Leyou-Fan
9月16日 评论:

检视结论:未发现需要修改的问题。

我按固定 head 103fa6177c4da838006f722dac350d4d8e3742ef 核对了完整差异:LoongArch Patch3000–Patch3412 的声明改为无条件解析,可确保非 LoongArch 架构生成的 SRPM 包含全部补丁;%prep 中实际应用这些补丁的区段仍由 %ifarch loongarch64 限定。Patch 序号、文件引用、Release 与 changelog 均一致,修复没有改变其他架构的补丁应用路径。

likedislike