Bug 1024757

Summary: broken /opt/rh/devtoolset-2/root/etc/gdbinit
Product: Red Hat Developer Toolset Reporter: Miroslav Franc <mfranc>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED ERRATA QA Contact: Miroslav Franc <mfranc>
Severity: medium Docs Contact:
Priority: unspecified    
Version: DTS 2.1 RHEL 5CC: jan.kratochvil, mcermak, mfranc, ohudlick
Target Milestone: ---   
Target Release: 2.4   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-11 06:36:37 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:

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