RPM Community Forums

Mailing List Message of <rpm-users>

RE: rpm-5.0.0: usage of --root or --prefix while installing an rpm package -- not working ?

From: Stefan Westmeier <stefan_westmeier@hotmail.de>
Date: Wed 16 Jan 2008 - 22:52:40 CET
Message-ID: <BAY115-W42D6CC536A8E79760C0E4698400@phx.gbl>

Same crash occurred in my cygwin and QNX version and have been successfully 
fixed by the patch you send around.
 
I will check with my other cygwin installation to find out what I have messed up
so that the --relocate flag is ignored in that installation.
 
Thx,
Stefan
 



From: stefan_westmeier@hotmail.deTo: rpm-users@rpm5.orgSubject: RE: rpm-5.0.0: usage of --root or --prefix while installing an rpm package -- not working ?Date: Wed, 16 Jan 2008 21:52:16 +0100


The patch worked! My ubuntu version of rpm is installing the package correctly now. Thx !! Meanwhile I will have a closer look on my cygwin and QNX version.Thx,Stefan



From: n3npq@mac.comSubject: Re: rpm-5.0.0: usage of --root or --prefix while installing an rpm package -- not working ?Date: Wed, 16 Jan 2008 08:56:05 -0500To: rpm-users@rpm5.org

On Jan 16, 2008, at 5:04 AM, Stefan Westmeier wrote:
Thanks for your help. I uploaded the file to a mediacenter. Here is the information needed to get accessURL:                 https://stefanwestmeier.mediencenter.t-online.de/fotomgr/coma/index.clsemail:               rpm-users@rpm5.orgpassword:         rpmIn folder rpm you should find most_if.tgz. This contains the rpm file and the spec file I used to create it. 
Thanks for the reproducer.

Same crash happens for rpm-5.0.0 on cygwin and QNX. 
Hmmm, I don't know why cygwin doesn't handle --relocate correctly yet.
I'm surprised at just ignoring --relocate and installing into /. Perhaps
there was a previous install left there?

Meanwhile, the attached patch fixes the double free (and plugs a small memory leak).
Could you try and see whether it also fixes the problem for you?

Thanks for the help

73 de Jeff
Received on Wed Jan 16 22:52:52 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.