Bug 797726

Summary: kernel-rt-3.0.18-rt34.53.el6rt.src.rpm has dependency on newt-devel
Product: Red Hat Enterprise MRG Reporter: IBM Bug Proxy <bugproxy>
Component: realtime-utilitiesAssignee: John Kacur <jkacur>
Status: CLOSED CURRENTRELEASE QA Contact: David Sommerseth <davids>
Severity: medium Docs Contact:
Priority: high    
Version: 2.1CC: bhu, jkachuck, jkacur, lgoncalv, ovasik, wgomerin, williams
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-20 11:35:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description IBM Bug Proxy 2012-02-27 06:50:32 UTC
Problem Description
--------------------------------------------------
I was trying to build the kernel-rt-3.0.18-rt34.53.el6rt.src.rpm on a system installed with RHEL6.2.

- Installed source RPM
  [elm9m108]/root >rpm -vi kernel-rt-3.0.18-rt34.53.el6rt.src.rpm

- Attempted to 'prep' for building
  [elm9m108]/root/rpmbuild >rpmbuild -bp SPECS/kernel-rt.spec

received the following:
error: Failed build dependencies:
	newt-devel is needed by kernel-rt-3.0.18-rt34.53.el6rt.x86_64

- Attempted to install newt-devel package
  yum install newt-devel

received the following:
No package newt-devel available.
Error: Nothing to do

It appears that there is not a newt-devel package in the RHEL repositories.  I also checked the RHN site and could not find a newt-devel package for Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64).

Comment 1 Clark Williams 2012-02-27 16:29:25 UTC
This should be fixed by a change we're making to the specfile, so that we do not build the perf package by default:



Author: Clark Williams <williams>
Date:   Fri Feb 24 13:59:38 2012 -0600

    turned off perf-rt build by default in kernel-rt.spec
    
    Changed '%bcond_without perf' to be '%bcond_with perf' to default
    the building of the perf-rt package to be default off
    
    Signed-off-by: Clark Williams <williams>

diff --git a/MRG/kernel-rt.spec b/MRG/kernel-rt.spec
index 4676d20..8602109 100644
--- a/MRG/kernel-rt.spec
+++ b/MRG/kernel-rt.spec
@@ -18,7 +18,7 @@ Summary: The Linux Realtime kernel
 %bcond_with    headers
 %bcond_without vanilla
 %bcond_without trace
-%bcond_without perf
+%bcond_with    perf
 %bcond_without firmware
 %bcond_with    virt
 %bcond_without debuginfo


The BuildRequires that pulls in newt-devel is conditional on building perf so this should remove that dependency for a default built.

Comment 2 John Kacur 2012-04-20 11:35:16 UTC
This was fixed with a1e97ae for 3.0.22-rt37.55