Bug 1014549
Summary: | Update gdb to Python 3 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | gdb | Assignee: | Jan Kratochvil <jan.kratochvil> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | a.badger, bkabrda, gbenson, jan.kratochvil, palves, patrickm, pmuldoon, redhat-bugzilla, sergiodj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | gdb-7.8.90.20150214-7.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-16 15:44:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1014209, 1024796 |
Description
Miro Hrončok
2013-10-02 10:38:54 UTC
Upstream GDB should support Python 3, Rawhide is still for F-21 so there is currently nothing to do. Agreed. I opened this sooner, in case you want to prepare for the update before rawhide becomes F22. Otherwise, just let it be until then. Thanks for fast reply. It's worth noting that if gdb switches, then any pretty-printers or other gdb plugins must also be updated. Pretty printers appear in Python itself (including Python 2.x), glib, gcc, mono, and others. For gdb plugins I only know of gdb-heap. Our team will most likely handle gcc, but the other packages haven't historically been our purview. Noting this for people who might run across this via web searches; since we're fixing this via an upstream update this shouldn't be an issue here: Note: do not follow this portion of the advice as it is against the Packaging Guidelines: "When upstream is dead or unwilling to support Python 3, you'll need to patch this package on Fedora level. Try to avoid this as much as you can, but use it, if it's the last option." If you are in this situation, you'll essentially be forking upstream in order to produce a python3 port. In that situation, the proper thing to do is to create a new package with the python3 port. It would be even better to create the proper upstream infrastructure as well (new upstream scm and issue tracker) but that isn't 100% required by the guidelines. FWIW there's already a port of the libstdc++ printers to Python 3: http://anonscm.debian.org/viewvc/gcccvs/branches/sid/gcc-4.8/debian/patches/libstdc%2B%2B-python3.diff?revision=6978&view=markup Doko said he'll send the patch upstream when it is ready. Hi, since we're nearing Fedora 22 alpha and packages should now be preferably built with Python 3 [1], I'd like to ask you to rebuild gdb with Python 3. Thanks. [1] https://fedoraproject.org/wiki/Packaging:Python#Guidelines Just Rawhide is not yet rebuilt due to Koji: DEBUG util.py:389: 4:texlive-cm-super-svn15878.0-6.fc22.noarch: [Errno 256] No more mirrors to try. gdb-7.8.90.20150214-7.fc23 is also built now, it was only some temporary Koji issue. |