Re: building ppp from src rpm failed in f17

2012-12-18 Thread James Wilkinson
Kevin Wilson wrote: > What do you mean by repeatable environment.? The environment is the Fedora install, with all RPMs, configuration, and files in home directories – everything that could potentially affect the RPM build process. A repeatable environment is one that you can specify and be sure t

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Reindl Harald
Am 16.12.2012 20:32, schrieb Kevin Wilson: > Ok, I was afraid that somehow my binaries will be replaced > by the --rebuild. Now I know that without installing the rpm > nothing will occur to them, so it is safe and solves my problem. and that is why i explained you NOT to build packages as root

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Michael Schwendt
On Sun, 16 Dec 2012 19:38:54 +0100, Reindl Harald wrote: > for sure, try to understand how rpmbuild works > > * unpack the sources > * run configure > * make install in the buildroot > * pack the RPM is all files are existing and listed in the %files section > > and that is why running as root m

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Kevin Wilson
Thanks. What do you mean by repeatable environment.? KW On Sun, Dec 16, 2012 at 9:37 PM, Matthew Miller wrote: > repeatable environment. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Gui

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Matthew Miller
On Sun, Dec 16, 2012 at 09:32:45PM +0200, Kevin Wilson wrote: > Thanks a lot for this info! > Ok, I was afraid that somehow my binaries will be replaced > by the --rebuild. Now I know that without installing the rpm > nothing will occur to them, so it is safe and solves my problem. Correct. Altho

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Kevin Wilson
Hi Thanks a lot for this info! Ok, I was afraid that somehow my binaries will be replaced by the --rebuild. Now I know that without installing the rpm nothing will occur to them, so it is safe and solves my problem. rgs Kevin On Sun, Dec 16, 2012 at 9:28 PM, Matthew Miller wrote: > On Sun, Dec 1

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Matthew Miller
On Sun, Dec 16, 2012 at 09:24:21PM +0200, Kevin Wilson wrote: > Last one, really: > suppose I want to build a source rpm. I do not > want to run make install as I do want to keep my orig binaries. > So what should I do ? > this is in fact the reason that I tried > rpmbuild -bp specFile > and the mo

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Kevin Wilson
Thanks! Last one, really: suppose I want to build a source rpm. I do not want to run make install as I do want to keep my orig binaries. So what should I do ? this is in fact the reason that I tried rpmbuild -bp specFile and the moving to BUILD/ppp-2.4.5 and ./configure && make from there. But with

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Reindl Harald
Am 16.12.2012 19:33, schrieb Kevin Wilson: > Thanks for the advice. I am well aware of it. so why ignore it? > This machine is a testing machine with very > little which is important and it is backed up does not matter there is no clean buildroot guaranteed if running as root > Forgive me m

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Michael Schwendt
On Sun, 16 Dec 2012 20:06:35 +0200, Kevin Wilson wrote: > I don't know the difference between > "rpmbuild -bb ppp.spec" or at least > and "rpmbuild -bc ppp.spec". "man rpmbuild" explains these two build options. -- Fedora release 18 (Spherical Cow) - Linux 3.6.10-5.fc18.x86_64 loadavg: 0.18 0.2

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Kevin Wilson
Hi, Thanks for the advice. I am well aware of it. This machine is a testing machine with very little which is important and it is backed up and I intend to isntall there f18 in a month anyway. Forgive me my ignorance: quick question: does rpmbuild --rebuild includes running "make install"? I did no

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Reindl Harald
Am 16.12.2012 19:06, schrieb Kevin Wilson: > Hello, > rpmbuild --rebuild ppp-2.4.5-22.fc17.src.rpm WORKED for me; > the executables were generated under /root/rpmbuild/BUILD/ppp-2.4.5 do NOT build packages as root! any error in the source or SPEC may overwrite files on your running system - the

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Kevin Wilson
Hello, rpmbuild --rebuild ppp-2.4.5-22.fc17.src.rpm WORKED for me; the executables were generated under /root/rpmbuild/BUILD/ppp-2.4.5 I don't know the difference between "rpmbuild -bb ppp.spec" or at least and "rpmbuild -bc ppp.spec". rgs Kevin On Sun, Dec 16, 2012 at 5:00 PM, Michael Schwendt

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Michael Schwendt
On Sun, 16 Dec 2012 15:27:15 +0100, Heinz Diehl wrote: > On 16.12.2012, Kevin Wilson wrote: > > > But wasn't the process of installing the src rpm as I did > > was supposed to look for it? isn't the src.rpm is the origin when > > preparing rpm in the Fedora project release process ? > > Yes, I

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Matthew Miller
On Sun, Dec 16, 2012 at 11:13:35AM +0200, Kevin Wilson wrote: > Hello, > I did the following on x86_64 fedora machine: > - downloaded ppp-2.4.5-22.fc17.src.rpm > ran: rpm -ivh ppp-2.4.5-22.fc17.src.rpm > then > rpmbuild -bp --target=x86_64 /root/rpmbuild/SPECS/ppp.spec It's possible there's someth

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Heinz Diehl
On 16.12.2012, Kevin Wilson wrote: > But wasn't the process of installing the src rpm as I did > was supposed to look for it? isn't the src.rpm is the origin when > preparing rpm in the Fedora project release process ? Yes, I see your point, and I'm thinking the same. This raises the question ho

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Kevin Wilson
Hi, Thanks, I thought so. But wasn't the process of installing the src rpm as I did was supposed to look for it? isn't the src.rpm is the origin when preparing rpm in the Fedora project release process ? Let met rephrase my question: When I take any src.rpm, can't I rely on preparing an rpm out of

Re: building ppp from src rpm failed in f17

2012-12-16 Thread Heinz Diehl
On 16.12.2012, Kevin Wilson wrote: > make[1]: Entering directory `/root/rpmbuild/BUILD/ppp-2.4.5/chat' > cc -c -DTERMIOS -DSIGTYPE=void > -UNO_SLEEP > -DFNDELAY=O_NDELAY -o chat.o chat.c > cc -pie -o chat chat.o > /bin/ld:

building ppp from src rpm failed in f17

2012-12-16 Thread Kevin Wilson
Hello, I did the following on x86_64 fedora machine: - downloaded ppp-2.4.5-22.fc17.src.rpm ran: rpm -ivh ppp-2.4.5-22.fc17.src.rpm then rpmbuild -bp --target=x86_64 /root/rpmbuild/SPECS/ppp.spec then cd /root/rpmbuild/BUILD/ppp-2.4.5 ./configure make got this error: d chat; make all make[1]: En