MantisBT - CMake
View Issue Details
0013447CMakeCMakepublic2012-07-31 13:472016-06-10 14:31
Declan White 
Kitware Robot 
normalminoralways
closedmoved 
Linux-64 & CIFS 5.5 (& Win7)Fedora 173.4.6-2.fc17.x86
CMake 2.8.8 
 
0013447: Symlinks unsupported by some filesystems (e.g: CIFS)
Not exactly a "bug", more as an inconvenient inflexibility.

The following lines cause CMake to produce a symbolic link to libphysfs.so:
  SET_TARGET_PROPERTIES(physfs PROPERTIES VERSION ${PHYSFS_VERSION})
  SET_TARGET_PROPERTIES(physfs PROPERTIES SOVERSION ${PHYSFS_SOVERSION})

Unfortunately, the drive the directory is on does not support symbolic link, so it fails with the error:
"CMake Error: cmake_symlink_library: System Error: Operation not supported"

Nothing can be done to make them work; however, it would be convenient if there were the option to perform a copy instead.
1) Mount a CIFS
2) Attempt a CMake that performs a symlink (within the CIFS)
3) Failure
4) ?!?!?
5) Loss
The CIFS is to a Windows share, which is probably why symlinks aren't supported.

Dakon on #samba@freenode.org suggested this be reported.
No tags attached.
Issue History
2012-07-31 13:47Declan WhiteNew Issue
2016-06-10 14:28Kitware RobotNote Added: 0042099
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042099)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.