Skip to content

fix: 修复 qt6-3d 符号文件头被错位的问题 - #9

Merged
lzwind merged 1 commit into
deepin-community:develop/qt6.12from
pengfeixx:fix/symbols-header-position
Nov 2, 2026
Merged

lzwind merged 1 commit into
deepin-community:develop/qt6.12from
pengfeixx:fix/symbols-header-position

Conversation

@pengfeixx

Copy link
Copy Markdown

fix: repair symbols file headers misplaced by regeneration

  1. The annotation merge in the previous change assumed the library
    header was the first line of the symbols files, but these files
    start with a "# SymbolsHelper-Confirmed" comment; sorting the body
    displaced both the "libQt6*.so.6 ... #MINVER#" header and the
    "* Build-Depends-Package" meta line to the end of the files
  2. dpkg-gensymbols aborted on every architecture with "symbol
    information must be preceded by a header (line 2)"
  3. Restore the correct layout: comment, library header, meta line,
    then symbol lines; all annotations from the previous change are
    kept unchanged, verified by a line-by-line format check

Log: Fix qt6-3d symbols files broken by the previous annotation merge
so dpkg-gensymbols parses them again on all architectures

Influence:

  1. Rebuild qt6-3d on amd64 and verify dpkg-gensymbols parses the
    symbols files without header errors
  2. Confirm the non-x86 architectures still get the SSE annotation
    benefits from the previous change
  3. Verify the symbols diffs only differ by the two relocated header
    lines

fix: 修复符号文件头被再生成脚本错位的问题

  1. 上一次注解合并脚本假设库头是符号文件的第一行,实际这些文件
    第一行是 "# SymbolsHelper-Confirmed" 注释;正文排序把
    "libQt6*.so.6 ... #MINVER#" 头行与 "* Build-Depends-Package"
    元信息行挤到了文件末尾
  2. dpkg-gensymbols 在所有架构报 "symbol information must be
    preceded by a header (line 2)" 中止
  3. 恢复正确布局:注释、库头、元信息行、符号行;上一次的全部
    注解保持不变,并经逐行格式检查验证

Log: 修复 qt6-3d 符号文件被上次注解合并破坏的问题,使
dpkg-gensymbols 在所有架构恢复解析

Influence:

  1. 在 amd64 重编 qt6-3d,确认 dpkg-gensymbols 无头行错误
  2. 确认非 x86 架构仍获得上一次注解的全部效果
  3. 核对符号文件差异仅剩两条复位的头行

PMS: TASK-396869

1. The annotation merge in the previous change assumed the library
   header was the first line of the symbols files, but these files
   start with a "# SymbolsHelper-Confirmed" comment; sorting the body
   displaced both the "libQt6*.so.6 ... #MINVER#" header and the
   "* Build-Depends-Package" meta line to the end of the files
2. dpkg-gensymbols aborted on every architecture with "symbol
   information must be preceded by a header (line 2)"
3. Restore the correct layout: comment, library header, meta line,
   then symbol lines; all annotations from the previous change are
   kept unchanged, verified by a line-by-line format check

Log: Fix qt6-3d symbols files broken by the previous annotation merge
so dpkg-gensymbols parses them again on all architectures

Influence:
1. Rebuild qt6-3d on amd64 and verify dpkg-gensymbols parses the
   symbols files without header errors
2. Confirm the non-x86 architectures still get the SSE annotation
   benefits from the previous change
3. Verify the symbols diffs only differ by the two relocated header
   lines

fix: 修复符号文件头被再生成脚本错位的问题

1. 上一次注解合并脚本假设库头是符号文件的第一行,实际这些文件
   第一行是 "# SymbolsHelper-Confirmed" 注释;正文排序把
   "libQt6*.so.6 ... #MINVER#" 头行与 "* Build-Depends-Package"
   元信息行挤到了文件末尾
2. dpkg-gensymbols 在所有架构报 "symbol information must be
   preceded by a header (line 2)" 中止
3. 恢复正确布局:注释、库头、元信息行、符号行;上一次的全部
   注解保持不变,并经逐行格式检查验证

Log: 修复 qt6-3d 符号文件被上次注解合并破坏的问题,使
dpkg-gensymbols 在所有架构恢复解析

Influence:
1. 在 amd64 重编 qt6-3d,确认 dpkg-gensymbols 无头行错误
2. 确认非 x86 架构仍获得上一次注解的全部效果
3. 核对符号文件差异仅剩两条复位的头行

PMS: TASK-396869
@lzwind
lzwind merged commit 31a3b5d into deepin-community:develop/qt6.12 Nov 2, 2026
1 of 4 checks passed
@deepin-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lzwind
Once this PR has been reviewed and has the lgtm label, please assign tsic404 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pengfeixx
pengfeixx deleted the fix/symbols-header-position branch November 2, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants