Bug 797726 - kernel-rt-3.0.18-rt34.53.el6rt.src.rpm has dependency on newt-devel
Summary: kernel-rt-3.0.18-rt34.53.el6rt.src.rpm has dependency on newt-devel
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: realtime-utilities
Version: 2.1
Hardware: x86_64
OS: All
high
medium
Target Milestone: ---
: ---
Assignee: John Kacur
QA Contact: David Sommerseth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-27 06:50 UTC by IBM Bug Proxy
Modified: 2016-05-22 23:34 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-20 11:35:16 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 79200 0 None None None Never

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


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