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: Jeff Johnson <n3npq@mac.com>
Date: Wed 16 Jan 2008 - 14:56:05 CET
Message-Id: <99997B4F-6AD4-4D57-8EF0-4B05968B3E18@mac.com>

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 access
> URL:                 https://stefanwestmeier.mediencenter.t- 
> online.de/fotomgr/coma/index.cls
> email:               rpm-users@rpm5.org
> password:         rpm
> In 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 14:56:13 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.