Bug 1024757 - broken /opt/rh/devtoolset-2/root/etc/gdbinit
Summary: broken /opt/rh/devtoolset-2/root/etc/gdbinit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: gdb
Version: DTS 2.1 RHEL 5
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: 2.4
Assignee: Jan Kratochvil
QA Contact: Miroslav Franc
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-30 11:27 UTC by Miroslav Franc
Modified: 2016-02-01 02:28 UTC (History)
4 users (show)

Fixed In Version: devtoolset-2-gdb-7.6.1-44.el6
Doc Type: Bug Fix
Doc Text:
Cause: Bug 981520 feature got imported into DTS-2.1 due to the rebase (=Bug 1016721) of this package. Consequence: Bug 981520 used features (function iglob) not available on RHEL-5. Fix: Use function glob instead of iglob which is sufficient in this case. glob is available on RHEL-5. Result: Bug 981520 feature is compatible even with RHEL-5. As Bug 981520 was not requested for DTS from a customer and this compatibility problem was not present in DTS-2.0 I do not think this Bug should be mentioned in the errata text.
Clone Of:
Environment:
Last Closed: 2014-03-11 06:36:37 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0273 0 normal SHIPPED_LIVE devtoolset-2-gdb bug fix and enhancement update 2014-03-11 10:32:59 UTC

Description Miroslav Franc 2013-10-30 11:27:37 UTC
Description of problem:
gdbinit tries to use method iglob from glob python module, but on RHEL5, there seems to be some ancient version of python-libs and as a result the method is not available


Version-Release number of selected component (if applicable):
devtoolset-2-gdb-7.6.1-43.el5


How reproducible:
every time


Steps to Reproduce:
# gdb
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-43.el5
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Traceback (most recent call last):
  File "<string>", line 2, in ?
AttributeError: 'module' object has no attribute 'iglob'
/opt/rh/devtoolset-2/root/etc/gdbinit:8: Error in sourced command file:
Error while executing Python code.
(gdb)

Comment 3 errata-xmlrpc 2014-03-11 06:36:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0273.html


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