From Fedora Project Wiki
(Created page with "<!-- Self Contained or System Wide Change Proposal? Use this guide to determine to which category your proposed change belongs to. Self Contained Changes are: * changes to is...")
 
(Add trackers)
 
(5 intermediate revisions by 2 users not shown)
Line 21: Line 21:


<!-- The actual name of your proposed change page should look something like: Changes/Your_Change_Proposal_Name.  This keeps all change proposals in the same namespace -->
<!-- The actual name of your proposed change page should look something like: Changes/Your_Change_Proposal_Name.  This keeps all change proposals in the same namespace -->
= MinGW environment and toolchain update =
= MinGW debug symbols location change =


== Summary ==
== Summary ==
Line 43: Line 43:


== Current status ==
== Current status ==
[[Category:ChangeReadyForWrangler]]
[[Category:ChangeAcceptedF36]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
Line 50: Line 50:
[[Category:SystemWideChange]]
[[Category:SystemWideChange]]


* Targeted release: [[Releases/36 | Fedora 36 ]]  
* Targeted release: [[Releases/36 | Fedora Linux 36 ]]  
* Last updated: <!-- this is an automatic macro — you don't need to change this line -->  {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}  
* Last updated: <!-- this is an automatic macro — you don't need to change this line -->  {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}  
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
Line 60: Line 60:
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
-->
-->
* FESCo issue: <will be assigned by the Wrangler>
* FESCo issue: [https://pagure.io/fesco/issue/2662 #2662]
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1997493 #1997493]
* Release notes tracker: <will be assigned by the Wrangler>
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/742 #742]


== Detailed Description ==
== Detailed Description ==
Line 87: Line 87:
`%exclude`s of `*.debug` files can be dropped from spec files.
`%exclude`s of `*.debug` files can be dropped from spec files.


* Release engineering: Impact check [https://pagure.io/releng/issue/]  
* Release engineering: Impact check [https://pagure.io/releng/issue/10257]  
* Release engineering: Mass rebuild requested
* Release engineering: Mass rebuild requested
* Policies and guidelines: No policies need to be changed
* Policies and guidelines: No policies need to be changed

Latest revision as of 12:00, 25 August 2021


MinGW debug symbols location change

Summary

Store debug files of mingw PE binaries below /usr/lib/debug.

Owner

Current status

Detailed Description

Native debug symbols are already stored below /usr/lib/debug. This change modifies mingw-find-debuginfo.sh, part of mingw-filesystem, to do the same.

Benefit to Fedora

Besides alignment with debuginfo symbols of native packages, this avoids an easy to hit issue for mingw packagers where .debug files end up in the main package, i.e.

%files -n mingw64-libfoo

%{mingw64_libdir}/plugindir/

where %{mingw64_libdir}/plugindir/ contains both say libfooplugin.dll as well as libfooplugin.dll.debug.

Scope

  • Proposal owners:

mingw-find-debuginfo.sh will be updated to store debug symbols below /usr/lib/debug, as follows:

Store debug files below /usr/lib/debug

  • Other developers:

%excludes of *.debug files can be dropped from spec files.

  • Release engineering: Impact check [1]
  • Release engineering: Mass rebuild requested
  • Policies and guidelines: No policies need to be changed

Upgrade/compatibility impact

No impact

How To Test

Verify that *.debug files are stored below /usr/lib/debug.

User Experience

*.debug files are stored below /usr/lib/debug.

Dependencies

None

Contingency Plan

  • Contingency mechanism: Revert to older versions of environment / toolchain, mass rebuild mingw packages again
  • Contingency deadline: Before release
  • Blocks release? Yes
  • Blocks product? No

Release Notes

From Fedora 36 onwards, debug symbols for mingw binaries will be stored below /usr/lib/debug.