Bug 82135

Summary: util-linux srpm needs, but doesn't BuildRequire, slang-devel
Product: [Retired] Red Hat Linux Reporter: Ed Blackman <ed-keyword-bugzilla.redhat.com.4b59cf>
Component: util-linuxAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-29 13:40:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ed Blackman 2003-01-17 22:38:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030117

Description of problem:
When rebuilding (rpm -ba --target i486-linux) the 8.0 util-linux package, I got
this message:

cc -c -O2 -march=i486 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I../lib -Wall
-Wmissing-prototypes -Wstrict-prototypes -I/usr/include/ncurses -DNCH=0
-I/usr/include/slang -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\"
-DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
-DLOCALEDIR=\"/usr/share/locale\" -O2 -march=i486 -DSLCURSES=1 cfdisk.c -o cfdisk.o
cfdisk.c:66:24: slcurses.h: No such file or directory
make[1]: *** [cfdisk.o] Error 1
make[1]: Leaving directory `/home/bob/rpmroot/BUILD/util-linux-2.11r/fdisk'
make: *** [all] Error 1

The changelog note for 2.11n-19 says, in part, "- Package has no runtime deps on
slang, so remove the BuildRequires: slang-devel", which doesn't make much sense
to me.  BuildRequires specifies compile-time dependencies.

Installing the slang-devel package allowed me to successfully build util-linux
from the SRPM.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Ensure slang-devel package isn't installed.
2. Attempt to rebuild util-linux-2.11r-10.src.rpm
    

Additional info:

Comment 1 Elliot Lee 2003-01-29 13:40:35 UTC
The dep is in the current rawhide package, and seems to have been since 2002-10-17