Re: Fedora 31 Self-Contained Change proposal: Minimal GDB in buildroot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is what wiki says:
  • /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)
gdb-add-index is in both gdb-minimal and gdb-headless.

On Mon, Apr 29, 2019 at 8:24 AM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
On 29. 04. 19 2:55, Sergio Durigan Junior wrote:
> On Sunday, April 28 2019, Miroslav Suchý wrote:
>
>> Dne 26. 04. 19 v 23:49 Ben Cotton napsal(a):
>>> https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
>>>
>>> == Summary ==
>>> Create <code>gdb-minimal</code> package (without XML support, Python
>>> support, Syntax Highlight and such) and switch to it in buildroot.
>>
>> The change will likely affect Mock and will slightly modify its behaviour.
>> Right now, it seems that I will add `--allowerasing` to dnf command.
>>
>> If you are interrested, please join this RFC discussion:
>>    https://github.com/rpm-software-management/mock/issues/251
>
> Hey Miroslav,
>
> I just would like to clarify that the change will actually not require
> any modification from mock's perspective.  The final split of the GDB
> package will work like this:
>
> - gdb-minimal will provide /usr/bin/gdb.minimal.
>
> - gdb will probide /usr/bin/gdb, and /usr/bin/gdb-add-index (which is
>    the script the buildroot ultimate uses).
>
> - /usr/bin/gdb-add-index will check if there's a /usr/bin/gdb.minimal
>    binary available, and use it.  Otherwise, it will fallback to
>    /usr/bin/gdb.
>
> Therefore, no Conflicts was needed, which means that even if a package
> being built depends on gdb, no problems should arise.

Are you sure that the description is correct?

If /usr/bin/gdb-add-index is to be provided by "gdb" package, the "gdb-minimal"
package has no reason.

It seems to me according to the change, that the thing needs to be done the
other way around:

- gdb will probide /usr/bin/gdb
- gdb-minimal will provide /usr/bin/gdb.minimal and /usr/bin/gdb-add-index

- /usr/bin/gdb-add-index will check if there's a /usr/bin/gdb binary available,
and use it.  Otherwise, it will fallback to /usr/bin/gdb.minimal

What am I not getting?

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux