[M3devel] CM3_INSTALL_PREFIX

Dragiša Durić dragisha at m3w.org
Fri Jun 5 01:13:19 CEST 2009


There is no problem in CM3_INSTALL_PREFIX, but in situations where
make_dir tries to make ".bin/.." when "..bin/" still does not exist.

Problem is recent, it started to happen after you make INSTALL_ROOT
relative to cm3 binary location.

Solution: Exterminate .. from paths in cm3cfg.common.

Apropos CM3_INSTALL_PREFIX - I am maybe it's only "client" for now - as
it's used to populate tree during RPM builds. But it's straightforward
solution to any binary packaking problem.

On Thu, 2009-06-04 at 19:42 +0000, Jay wrote:
> Dragisha,
> 
> ok, even before looking into this, I think I knew what the problem is.
> Need to "smush out the dots" more, so that mkdir /a/b/c/d/.. acts like
> mkdir /a/b/c.
> 
> However I am unable to reproduce the problem on either PPC_DARWIN or
> AMD64_LINUX.
> 
> Can you show me the offending .M3SHIP files?
> And maybe your config files?
> 
> I don't have any .. "like that" in .M3SHIP.
> 
> Does it happen with current cm3 or only older cm3?
> (I didn't realize CM3_INSTALL_PREFIX was a relatively new thing, from
> early 2008.)
> 
>  - Jay
> 
-- 
Dragiša Durić <dragisha at m3w.org>




More information about the M3devel mailing list