From Fedora Project Wiki
No edit summary
m (Add tracker)
 
(6 intermediate revisions by 3 users not shown)
Line 32: Line 32:
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
-->
-->
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1706167 #1706167]


== Detailed Description ==
== Detailed Description ==
Create subpackage in <code>gdb</code> source package called <code>gdb-minimal</code> that will contain 2 files:
Create subpackage in <code>gdb</code> source package called <code>gdb-minimal</code> that will contain 2 files:
* <code>/usr/libexec/gdb-minimal</code> — GDB executable built without optional unneeded features
* <code>/usr/bin/gdb.minimal</code> — GDB executable built without optional unneeded features
* <code>/usr/bin/gdb-add-index</code> — Executable script shared with gdb-headless package (modified to fallback to gdb-minimal if exists)
* <code>/usr/bin/gdb-add-index</code> — Executable script shared with gdb-headless package (modified to fallback to gdb.minimal if exists)


debuginfo code in RPM needs just gdb-add-index and that one doesn't need any syntax highlight or python plugins to work.
debuginfo code in RPM needs just gdb-add-index and that one doesn't need any syntax highlight or python plugins to work.
Line 62: Line 62:
== Benefit to Fedora ==
== Benefit to Fedora ==
* Python 3 will disappear from buildroot (yes, it was there just because of GDB)
* Python 3 will disappear from buildroot (yes, it was there just because of GDB)
* buildroot size will go down from 439M to 350M
* RPM download size for buildroot preparation will go down from 77M to 54M
* installed buildroot size will go down from 339M to 249M


== Scope ==
== Scope ==
Line 127: Line 128:
-->
-->


[[Category:ChangeReadyForWrangler]]
[[Category:ChangeAcceptedF31]]
<!-- 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 -->

Latest revision as of 17:27, 3 May 2019

Minimal GDB in buildroot

Summary

Create gdb-minimal package (without XML support, Python support, Syntax Highlight and such) and switch to it in buildroot.

Owner

Current status

Detailed Description

Create subpackage in gdb source package called gdb-minimal that will contain 2 files:

  • /usr/bin/gdb.minimal — GDB executable built without optional unneeded features
  • /usr/bin/gdb-add-index — Executable script shared with gdb-headless package (modified to fallback to gdb.minimal if exists)

debuginfo code in RPM needs just gdb-add-index and that one doesn't need any syntax highlight or python plugins to work.

As of Apr 26, following packages would disappear from buildroot:

boost-regex-1.69.0-6.fc30.x86_64
ctags-5.8-25.fc30.x86_64
gdbm-libs-1:1.18-4.fc30.x86_64
libbabeltrace-1.5.6-2.fc30.x86_64
libicu-63.1-2.fc30.x86_64
libipt-2.0-2.fc30.x86_64
python-pip-wheel-19.0.3-1.fc31.noarch
python-setuptools-wheel-40.8.0-1.fc30.noarch
python3-3.7.3-2.fc31.x86_64
python3-libs-3.7.3-2.fc31.x86_64
python3-pip-19.0.3-1.fc31.noarch
python3-setuptools-40.8.0-1.fc30.noarch
source-highlight-3.1.8-24.fc31.x86_64
sqlite-libs-3.27.2-3.fc31.x86_64

Benefit to Fedora

  • Python 3 will disappear from buildroot (yes, it was there just because of GDB)
  • RPM download size for buildroot preparation will go down from 77M to 54M
  • installed buildroot size will go down from 339M to 249M

Scope

  • Proposal owners: Create a subpackage in gdb, Add Suggests: gdb-minimal into rpm-build
  • Other developers: N/A (not a System Wide Change)
  • Release engineering: #8311 (a check of an impact with Release Engineering is needed)
  • Policies and guidelines: N/A (not a System Wide Change)
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

N/A (not a System Wide Change)

How To Test

N/A (not a System Wide Change)

User Experience

Python 3 will disappear from buildroot, but nobody should have ever relied on it since we have guidelines about that for long time: https://docs.fedoraproject.org/en-US/packaging-guidelines/#buildrequires

Dependencies

N/A (not a System Wide Change)

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No
  • Blocks product? product

Documentation

N/A (not a System Wide Change)

Release Notes