[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Problem in buiding RPM package



Hi,

Further to my late posting

Re-tried as USER

$ rpmbuild -tb /home/user/AAA.tar
error: File /home/user/AAA.tar: Permission denied
sh: /home/user/AAA.tar: Permission denied
error: Failed to rename /usr/src/redhat/SPECS/rpm-spec.iEoPOB to /usr/src/redhat/SPECS/rpm-spec.iEoPOB: No such file or directory: No such file or directory


$ su
password

$ chmod -c 0666 /home/user/AAA.tar
mode of `/home/user/AAA.tar' changed to 0666 (rw-rw-rw-)

$ rpmbuild -tb /home/user/AAA.tar
error: Failed to rename /usr/src/redhat/SPECS/rpm-spec.Nk0Iay to /usr/src/redhat/SPECS/rpm-spec.Nk0Iay: No such file or directory: No such file or directory


B.Regards
Stephen




Valery Reznic wrote:
--- Valery Reznic <valery_reznic@yahoo.com> wrote:

--- Stephen Liu <satimis@icare.com.hk> wrote:

Hi all folks

Just join this list

I encountered problem in building a RPM package. Steps carried out as follows;

as 'USER'

1) Download a tarball from Internet and kept it in

/home/user/AAA.tar.gz

gunzip -d AAA.tar.gz

#ls /home/user
AAA,tar

su
password

cd /
# rpmbuid -bb /home/user/AAA.tar
error: File /home/user/AAA.tar does not appear to

be


a specfile.

Also tried
# rpm -bb /home/user/AAA.tar
with the same result

Kindly advise.

TIA

B.Regards
Stephen Liu


use rpmbuild -bt /home/user/AAA.tar

Excuse me: use rpmbuild -tb /home/user/AAA.tar



valery

P.S. why you build as root ?



_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com


https://listman.redhat.com/mailman/listinfo/rpm-list



__________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com



_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://listman.redhat.com/mailman/listinfo/rpm-list



__________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com



_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://listman.redhat.com/mailman/listinfo/rpm-list








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []