Re: [SLUG] Building an RPM...

From: Douglas Koobs (dkoobs@tampabaydsl.com)
Date: Tue Jul 03 2001 - 01:43:48 EDT


Well, after my sleepless nap, it seems the build failed.
Here are the last few lines:
-----------------------------

+ echo 'Patch #2 (XFree86-ISO8859-2-1.0-redhat.patch):'
Patch #2 (XFree86-ISO8859-2-1.0-redhat.patch):
+patch -p1 -b --suffix .redhat -s
/var/tmp/rpm-tmp.39097: patch: command not found
error: Bad exit status from /var/tmp/rpm-tmp.39097 (%prep)

RPM build error:
    Bad exit status from /var/tmp/rpm-tmp.39097 (%prep)

-----------------------------

Could I just comment out the #2 patch as well? sounds way to
easy...

Doug

On Tue, 03 Jul 2001 01:18:13 -0400
 "Douglas Koobs" <dkoobs@tampabaydsl.com> wrote:
> Thanks R.P., that got me a bit closer. Installed
> rpm-build,
> and ran
>
> rpm -bb XFree86.spec
>
> om the /usr/src/redhat/SPECS folder... Got a few failed
> dependencies... I was able to get the proper rpm's for
> all
> but one, which is what I am getting now:
>
> error: failed build dependencies:
> /lib/libpam.so is needed by XFree86-4.0.3-21
>
> There is a /lib/libpam.so.0, which is a link to
> /lib/libpam.so.0.74. So, I tried making a symbolic link
> to
> the libpam.so.0.74, and named the link libpam.so , but I
> get
> the same error. I also installed the pam-devel...
>
> Or I thought I did... just did a rpm-q pam-devel, and it
> ain't there. So, I installed pam-devel, and a libpam.so
> magically appears :) The rpm-bb is now running. I think
> I'll
> take a nap. Thanks again!!!
>
> Doug
>
>
> On Mon, 2 Jul 2001 22:29:11 -0400 (EDT)
> R P Herrold <herrold@owlriver.com> wrote:
> > On Mon, 2 Jul 2001, Douglas Koobs wrote:
> >
> > > The Mesa rpm's install without a hitch. Then I ran
> the
> > > Xfree86 rpm (seemed to work fine), and went to
> > > /usr/src/redhat/SPECS and edited out the offending
> > patch in
> > > XFree86.spec. While still in the SPECS directory, I
> > tried:
> > > rpm -bb XFree86.spec
> > >
> > > and all I get in response is the "Usage:" help
> message
> > that
> > > indicates I have no clue what I am doing :) I also
> > tried the
> > > following:
> > <snip>
> >
> > Run: rpm -qa | grep build and it is likely that
> > rpm-build
> > is NOT present.
> >
> > I RFE'd a suggestion for a better error message for
> this
> > at
> > RH: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=42473
> > Chase the link for the response.
> >
> > The XFree package is the hardest, or second hardest to
> > get
> > right. You don't start small. Good luck.
> >
> >
>



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:23:22 EDT