Error Failed To Rename /usr/src/redhat/specs/rpm-spec
package Date: Wed, 12 Mar 2003 06:15:01 -0800 (PST) ooooops ! I was miss that you download TARBALL from the internet. Tarball may be a source for the rpm building but ONLY if it has spec file inside. I guess that tarball which you download has not a spec file inside, so you need write your own. You can read about this in the Maximum RPM http://www.rpm.org/max-rpm/ Valery --- Stephen Liu
Date: Wed, 12 Mar 2003 20:48:58 +0800 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 http://www.redhat.com/archives/rpm-list/2003-March/msg00168.html 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
Post #1 of 2 (2110 views) Permalink make rpm errors for 8.3.6 on CentOS http://www.gossamer-threads.com/lists/drbd/users/18416 5.4 Hi, I did a new install of CentOS 5.4 on http://www.linuxquestions.org/questions/fedora-35/rpmbuild-error-689023/ an HP DL360 G5 server and updated all packages to the newest versions. The kernel is 2.6.18-164.6.1.el5PAE. I successfully built and installed DRBD 8.3.6 from source using these commands: wget http://oss.linbit.com/drbd/8.3/drbd-8.3.6.tar.gz tar zxvf drbd-8.3.6.tar.gz cd drbd-8.3.6 ./configure --with-km make sudo make install depmod -a mobprobe error failed drbd I prefer using rpms for installing though, so I tried building one but I got the error messages below. Any help would be appreciated, thanks. -sh-3.2$ cd drbd-8.3.6 -sh-3.2$ ll total 240 drwxr-xr-x 2 tyler iders 4096 Nov 18 10:10 benchmark -rw-r--r-- 1 tyler iders 27486 Nov 8 03:38 ChangeLog -rwxr-xr-x 1 tyler iders 130139 error failed to Nov 8 03:40 configure -rw-r--r-- 1 tyler iders 7456 Nov 8 03:38 configure.ac -rw-r--r-- 1 tyler iders 17990 Nov 1 2007 COPYING drwxr-xr-x 2 tyler iders 4096 Nov 18 10:10 documentation drwxr-xr-x 3 tyler iders 4096 Nov 18 10:10 drbd lrwxrwxrwx 1 tyler iders 24 Nov 18 10:10 drbd_config.h -> drbd/linux/drbd_config.h -rw-r--r-- 1 tyler iders 4889 Nov 8 02:01 drbd-km.spec.in -rw-r--r-- 1 tyler iders 9072 Nov 8 03:38 drbd.spec.in -rw-r--r-- 1 tyler iders 7046 Nov 8 03:38 Makefile.in -rw-r--r-- 1 tyler iders 425 Nov 27 2008 README drwxr-xr-x 2 tyler iders 4096 Nov 18 10:10 scripts drwxr-xr-x 2 tyler iders 4096 Nov 18 10:10 user -sh-3.2$ ./configure --with-km checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for g
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora rpmbuild error User Name Remember Me? Password Fedora This forum is for the discussion of the Fedora Project. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 12-07-2008, 10:33 PM #1 skeletonca LQ Newbie Registered: Apr 2006 Distribution: fedora 9, fedora 8, xubuntu Posts: 21 Rep: rpmbuild error I am using Fedora 10 and trying to build a rpm package from a tar.gz file. However I get the following error message from the command rpmbuild -tb packagename.tar.gz gzip: stdout: Broken