Bug 1384947 - Can't rebuild devtoolset-6-gdb.src.rpm without devtoolset-6-build.rpm installed
Summary: Can't rebuild devtoolset-6-gdb.src.rpm without devtoolset-6-build.rpm installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: gdb
Version: DTS 6.0 RHEL 6
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: alpha
: 6.0
Assignee: Jan Kratochvil
QA Contact: Arjun Shankar
URL:
Whiteboard:
Depends On: 1373824
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-14 12:12 UTC by Martin Cermak
Modified: 2017-04-26 09:47 UTC (History)
7 users (show)

Fixed In Version: gdb-7.12-26.fc25
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of: 1373824
Environment:
Last Closed: 2017-04-26 09:47:55 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1151 0 normal SHIPPED_LIVE devtoolset-6-gdb bug fix update 2017-04-26 13:47:03 UTC

Description Martin Cermak 2016-10-14 12:12:12 UTC
On RHEL6, rebuild of devtoolset-6-gdb-7.12-24.el6.src.rpm fails thusly:

=======
11674-+ ln -s -r /usr/src/redhat/BUILDROOT/gdb-7.12-24.el6.x86_64/usr/libexec/gdb /usr/src/redhat/BUILDROOT/gdb-7.12-24.el6.x86_64/usr/bin/gdb
11675-ln: invalid option -- 'r'
11676-Try `ln --help' for more information.
11677:error: Bad exit status from /var/tmp/rpm-tmp.aiG3x3 (%install)
=======

No biggie, might be worth fixing for dts-6.1 though. On rhel-6 we have coreutils-8.4-43.el6.x86_64.

Comment 1 Jan Kratochvil 2016-10-14 12:27:37 UTC
I did hit this problem but then I realized I do not have devtoolset-6-build.rpm installed.  I do not know what devtoolset-6-gdb.src should really try to build without devtoolset-6-build, it tries to make a /usr/bin/gdb replacement but this spec-build-code-path is not really tested/supported.

Comment 2 Martin Cermak 2016-10-14 12:35:36 UTC
Exactly, just wanted to add this note.  Sometimes it is convenient to build base rhel package out of a scl srpm, but not a standard thing definitely.  Up to your consideration.

Comment 3 Jan Kratochvil 2016-10-14 12:57:25 UTC
OK, I can fix it. It can make it in if there will be a DTS-6.0 respin.

Comment 7 errata-xmlrpc 2017-04-26 09:47:55 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.

https://access.redhat.com/errata/RHBA-2017:1151


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