View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010595CMakeCMakepublic2010-04-22 11:282012-01-02 15:56
ReporterPatrick Bégou 
Assigned ToDavid Cole 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.6Fixed in VersionCMake 2.8.6 
Summary0010595: Cmake fails when PATH begin with /tmp_mnt
DescriptionIf the Path to the application begin with /tmp_mnt/.... cmake remove this first token.

In cmake-2.8.1/Source/kwsys/SystemTools.cxx line 4646.

4645 // Work-around an SGI problem by always adding this mapping:
4646 SystemTools::AddTranslationPath("/tmp_mnt/", "/");

I'm not on SGI but my home directory is nfs automounted on: /tmp_mnt/hasources,
lack of chance. And ALL the computers of our research team are using this Path
to mount the home patition from a HA nfs server :-(

Removing this line, cmake works fine.

This work-around code for a SGI bug is a little bit crazy but how possible is it
to change it for a better fix to make cmake safer ? This cmake bug can occur for
everybody using "/tmp_mnt" as a mount point....
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0020375)
Brad King (manager)
2010-04-23 12:22

Wow, this one's been there since 2001-12-04:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=11084af4 [^]

I have no idea what the original problem was and see no reason not to remove it.
(0022299)
David Cole (manager)
2010-09-21 12:20

This is what I like to call "crazy code" -- it should just be removed unless somebody has a very good reason to keep it.
(0027255)
David Cole (manager)
2011-08-20 12:35

Fix pushed to 'master' and 'next' (KWSys commit):

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7dcbb663157858fe4fc73adce4ad23ffd370bb2e [^]
(0028132)
David Cole (manager)
2012-01-02 15:56

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2010-04-22 11:28 Patrick Bégou New Issue
2010-04-23 12:12 Bill Hoffman Status new => assigned
2010-04-23 12:12 Bill Hoffman Assigned To => Brad King
2010-04-23 12:22 Brad King Note Added: 0020375
2010-04-23 12:22 Brad King Assigned To Brad King => Bill Hoffman
2010-09-21 12:20 David Cole Note Added: 0022299
2011-01-21 19:14 David Cole Assigned To Bill Hoffman => David Cole
2011-08-17 12:19 David Cole Target Version => CMake 2.8.6
2011-08-20 12:35 David Cole Note Added: 0027255
2011-08-20 12:35 David Cole Status assigned => resolved
2011-08-20 12:35 David Cole Fixed in Version => CMake 2.8.6
2011-08-20 12:35 David Cole Resolution open => fixed
2012-01-02 15:56 David Cole Note Added: 0028132
2012-01-02 15:56 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team