* Rebuilding rpms from source
@ 2000-11-24 16:39 David Rhodes
2000-11-24 17:08 ` Rich Payne
0 siblings, 1 reply; 3+ messages in thread
From: David Rhodes @ 2000-11-24 16:39 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Apologies for being a clueless newbie...
I am trying to upgrade the version of cdrecord I have on my pws to something
post-v1.9. I couldn't find an alpha rpm for it so I thought it would be a
good opportunity to get to grips with rebuilding from a source rpm, so I got
hold of cdrecord-1.9-2.src.rpm and used rpm with the --rebuild flag to try
to create an alpha rpm. From reading up on rpm I thought this should appear
after the rebuild somewhere under /usr/src/redhat/RPMS, but it didn't. I
got what looks to be the package contents in /BUILD and a tarball plus some
patches in /SOURCES, but no rpm.
Now I suppose I could just install it from the tarball, but I would like to
know where I went wrong in the rebuild process. Can anyone enlighten me?
Cheers,
--
David Rhodes
IT Systems Administrator
The views expressed in this message are those of the author
and not those of Oxford Molecular.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Rebuilding rpms from source
2000-11-24 16:39 Rebuilding rpms from source David Rhodes
@ 2000-11-24 17:08 ` Rich Payne
2000-11-26 3:27 ` Richard June
0 siblings, 1 reply; 3+ messages in thread
From: Rich Payne @ 2000-11-24 17:08 UTC (permalink / raw)
To: 'axp-list@redhat.com'
On Fri, 24 Nov 2000, David Rhodes wrote:
> Apologies for being a clueless newbie...
>
> I am trying to upgrade the version of cdrecord I have on my pws to something
> post-v1.9. I couldn't find an alpha rpm for it so I thought it would be a
> good opportunity to get to grips with rebuilding from a source rpm, so I got
> hold of cdrecord-1.9-2.src.rpm and used rpm with the --rebuild flag to try
> to create an alpha rpm. From reading up on rpm I thought this should appear
> after the rebuild somewhere under /usr/src/redhat/RPMS, but it didn't. I
> got what looks to be the package contents in /BUILD and a tarball plus some
> patches in /SOURCES, but no rpm.
It should be in /usr/src/redhat/RPMS/alpha when it's done. Look at the
output from RPM, it will tell you if it failed, though it's not always
obvious. I've found that sometimes the package will compile just fine, but
in actually packaging the RPM it fails because a pre-requisite is missing.
Read the output carefully and look for the requires line and check that
you have everything installed.
Also, are you sure the build was successful? If I remember correctly
cdrecord can be rather difficult to build.
> Now I suppose I could just install it from the tarball, but I would like to
> know where I went wrong in the rebuild process. Can anyone enlighten me?
--rdp
> Cheers,
>
> --
> David Rhodes
> IT Systems Administrator
> The views expressed in this message are those of the author
> and not those of Oxford Molecular.
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Rebuilding rpms from source
2000-11-24 17:08 ` Rich Payne
@ 2000-11-26 3:27 ` Richard June
0 siblings, 0 replies; 3+ messages in thread
From: Richard June @ 2000-11-26 3:27 UTC (permalink / raw)
To: 'axp-list@redhat.com'
On Fri, 24 Nov 2000, Rich Payne wrote:
> On Fri, 24 Nov 2000, David Rhodes wrote:
>
> > Apologies for being a clueless newbie...
> >
> > I am trying to upgrade the version of cdrecord I have on my pws to something
> > post-v1.9. I couldn't find an alpha rpm for it so I thought it would be a
> > good opportunity to get to grips with rebuilding from a source rpm, so I got
> > hold of cdrecord-1.9-2.src.rpm and used rpm with the --rebuild flag to try
> > to create an alpha rpm. From reading up on rpm I thought this should appear
> > after the rebuild somewhere under /usr/src/redhat/RPMS, but it didn't. I
> > got what looks to be the package contents in /BUILD and a tarball plus some
> > patches in /SOURCES, but no rpm.
>
> It should be in /usr/src/redhat/RPMS/alpha when it's done. Look at the
> output from RPM, it will tell you if it failed, though it's not always
> obvious. I've found that sometimes the package will compile just fine, but
> in actually packaging the RPM it fails because a pre-requisite is missing.
> Read the output carefully and look for the requires line and check that
> you have everything installed.
>
> Also, are you sure the build was successful? If I remember correctly
> cdrecord can be rather difficult to build.
>
I don't know about it being difficult, but if he did rpm --rebuild and
he's got a build in /usr/src/redhat/BUILD, then it didn't complete, so
somethings not right. rpm --rebuild will remove that stuff when it's built
the package.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-11-26 3:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-24 16:39 Rebuilding rpms from source David Rhodes
2000-11-24 17:08 ` Rich Payne
2000-11-26 3:27 ` Richard June
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox