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:
The dep is in the current rawhide package, and seems to have been since 2002-10-17