lazyrunner50
Programmer
I'm trying to update some packages on my RHEL AS 4 machine, and for some reason I can't build several of the packages. I'd like to just download the pre-built rpms, but since I couldn't find them, I'm trying it myself. Anyway, as you can see below, I'm logged in as root, but it's still saying it can't get access to a particular directory (the same error shows up when I try to build the comps package. What I don't understand is I've built other packages from this directory without any errors. For example, I just built firefox yesterday.
Code:
[root@localhost tmp]# ls -rtl
total 16
-rw-r--r-- 1 root root 3927 Jun 2 16:41 rpmdb-redhat-4-0.20070421.src.rpm
-rw-r--r-- 1 root root 2343 Jun 2 20:56 comps-4AS-0.20070421.src.rpm
[root@localhost tmp]# rpmbuild --rebuild rpmdb-redhat-4-0.20070421.src.rpm
Installing rpmdb-redhat-4-0.20070421.src.rpm
warning: group buildsys does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.97249
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ '[' -d '%{rpmdbtree}' ']'
+ echo 'This specfile needs access to %{rpmdbtree}/i386/Redhat/RPMS'
This specfile needs access to %{rpmdbtree}/i386/Redhat/RPMS
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.97249 (%prep)
RPM build errors:
group buildsys does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.97249 (%prep)
[root@localhost tmp]# pwd
/mnt/inst_32bit/RedHat/RPMS/tmp