Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1276365

Summary: Please, make gcc.rpm installed by default in systemtap containers.
Product: Red Hat Developer Toolset Reporter: Martin Cermak <mcermak>
Component: devtoolset-metaAssignee: Marek Polacek <mpolacek>
Status: CLOSED ERRATA QA Contact: Martin Cermak <mcermak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: DTS 4.0 RHEL 7CC: jakub, mbenitez, mnewsome, ohudlick
Target Milestone: alpha   
Target Release: 4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-31 08:43:45 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:
Embargoed:

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> - 4.0-10
+- Require gcc for dockerfiles (#1276365)
+
 * Mon Oct 26 2015 Marek Polacek <polacek> - 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