Bug 82135 - util-linux srpm needs, but doesn't BuildRequire, slang-devel
util-linux srpm needs, but doesn't BuildRequire, slang-devel
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: util-linux (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-17 17:38 EST by Ed Blackman
Modified: 2007-04-18 12:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-29 08:40:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ed Blackman 2003-01-17 17:38:49 EST
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 08:40:35 EST
The dep is in the current rawhide package, and seems to have been since 2002-10-17

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