Bug 1276365 - Please, make gcc.rpm installed by default in systemtap containers.
Summary: Please, make gcc.rpm installed by default in systemtap containers.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: devtoolset-meta
Version: DTS 4.0 RHEL 7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 4.1
Assignee: Marek Polacek
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-29 14:31 UTC by Martin Cermak
Modified: 2016-05-31 08:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-31 08:43:45 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1149 0 normal SHIPPED_LIVE devtoolset-4 bug fix and enhancement update 2016-05-31 12:38:52 UTC

Description Martin Cermak 2015-10-29 14:31:41 UTC
Systemtap by default prefers to use base rhel compiler to build its kernel modules even if collection compiler is installed and the collection is turned on.

Systemtap dockerfile we ship with DTS-4.0 does not make base rhel compiler installed by default. So the user might need to install it by hand. We are documenting this for now. For future releases of DTS we might want to install gcc.rpm by default for user convenience.

Comment 1 Marek Polacek 2015-11-02 12:35:59 UTC
So probably just
--- a/devtoolset-4.spec
+++ b/devtoolset-4.spec
@@ -7,7 +7,7 @@
 Summary: Package that installs %scl
 Name: %scl_name
 Version: 4.0
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: GPLv2+
 Group: Applications/File
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -138,6 +138,7 @@ Package shipping performance tools (systemtap, oprofile)
 
 %package dockerfiles
 Summary: Package shipping Dockerfiles for Developer Toolset
+Requires: gcc
 Group: Applications/File
 
 %description dockerfiles
@@ -435,6 +436,9 @@ if [ $1 = 0 ]; then
 fi
 
 %changelog
+* Mon Nov 02 2015 Marek Polacek <polacek@redhat.com> - 4.0-10
+- Require gcc for dockerfiles (#1276365)
+
 * Mon Oct 26 2015 Marek Polacek <polacek@redhat.com> - 4.0-9
 - Ship RHEL6 Dockerfiles on RHEL7 (#1265118)

Comment 6 errata-xmlrpc 2016-05-31 08:43:45 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-2016:1149


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