Bug 1240340 - gdb-heap uses python 2 print syntax
Summary: gdb-heap uses python 2 print syntax
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb-heap
Version: 30
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Dave Malcolm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1259051 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-06 15:49 UTC by Ting-Wei Lan
Modified: 2019-10-28 01:39 UTC (History)
8 users (show)

Fixed In Version: gdb-heap-0.5-36.20191013gitf3dcc53.fc30 gdb-heap-0.5-36.20191013gitf3dcc53.fc29 gdb-heap-0.5-36.20191013gitf3dcc53.fc31
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-27 01:09:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ting-Wei Lan 2015-07-06 15:49:30 UTC
Description of problem:
gdb-heap still uses python 2 print syntax, so it causes python syntax error to be showed when using gdb.

Version-Release number of selected component (if applicable):
gdb-7.9.1-17.fc22.x86_64
gdb-heap-0.5-20.fc22.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Run 'gdb /usr/bin/true'
2. Type 'r' to start the program

Actual results:
Starting program: /usr/bin/true 
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/ld-2.21.so-gdb.py", line 18, in <module>
    from heap.commands import register_commands
  File "/usr/share/gdb-heap/heap/__init__.py", line 58
    print 'type cache miss: %r' % typename
                              ^
SyntaxError: Missing parentheses in call to 'print'

Expected results:
No python syntax error

Additional info:

Comment 1 Jerry James 2015-08-28 01:46:26 UTC
I'm getting this, too.  Any chance for a fix?

Comment 2 Jerry James 2015-08-28 01:48:19 UTC
Manually fixing that uncovers more problems.  Next is this:

Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/ld-2.21.so-gdb.py", line 18, in <module>
    from heap.commands import register_commands
  File "/usr/share/gdb-heap/heap/__init__.py", line 60
    except RuntimeError, e:
                       ^
SyntaxError: invalid syntax

Comment 3 James Livingston 2015-12-16 22:51:17 UTC
Naively fixing those then gets you to:
  Python Exception <class 'TypeError'> iter() returned non-iterator of type 'ProgressNotifier'

Comment 4 Jan Kratochvil 2016-01-17 13:05:27 UTC
*** Bug 1259051 has been marked as a duplicate of this bug. ***

Comment 5 Fedora End Of Life 2016-07-19 15:13:22 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 6 Ting-Wei Lan 2016-07-19 19:12:42 UTC
gdb-heap still uses python 2 syntax.

Comment 7 Fedora End Of Life 2017-07-25 18:59:16 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Ting-Wei Lan 2017-07-26 07:16:40 UTC
It is still not fixed in gdb-heap-0.5-28.fc26.x86_64.

Comment 9 Fedora End Of Life 2018-05-03 08:48:55 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 10 Jerry James 2018-05-03 15:01:02 UTC
And now gdb-heap cannot even be installed in Rawhide:

Error: 
 Problem: conflicting requests
  - nothing provides glibc(x86-64) = 2.26.90 needed by gdb-heap-0.5-32.fc29.x86_64

Rawhide currently has glibc-2.27.9000-15.fc29.

Comment 11 Ben Cotton 2019-05-02 19:21:25 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Ben Cotton 2019-05-02 21:50:38 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 14 Fedora Update System 2019-10-18 20:30:25 UTC
FEDORA-2019-2e1f5e78ea has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2e1f5e78ea

Comment 15 Fedora Update System 2019-10-18 20:30:32 UTC
FEDORA-2019-206332aae6 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-206332aae6

Comment 16 Fedora Update System 2019-10-19 18:00:44 UTC
gdb-heap-0.5-36.20191013gitf3dcc53.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-2e1f5e78ea

Comment 17 Fedora Update System 2019-10-19 18:24:59 UTC
gdb-heap-0.5-36.20191013gitf3dcc53.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e863ce3533

Comment 18 Fedora Update System 2019-10-20 17:13:27 UTC
gdb-heap-0.5-36.20191013gitf3dcc53.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-206332aae6

Comment 19 Fedora Update System 2019-10-27 01:09:06 UTC
gdb-heap-0.5-36.20191013gitf3dcc53.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2019-10-27 02:05:23 UTC
gdb-heap-0.5-36.20191013gitf3dcc53.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 21 Fedora Update System 2019-10-28 01:39:02 UTC
gdb-heap-0.5-36.20191013gitf3dcc53.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.