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 - 21:52:16 CET
Message-ID: <BAY115-W23BC6C378F9FAE4BC3B9598400@phx.gbl>

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 21:52:20 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.