Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

rpmbuild problems

rpmbuild problems

rpmbuild problems

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.


[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
+ 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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close