[cmake-developers] [CMake 0013447]: Symlinks unsupported by some filesystems (e.g: CIFS)

Mantis Bug Tracker mantis at public.kitware.com
Tue Jul 31 13:47:22 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=13447 
====================================================================== 
Reported By:                Declan White
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13447
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-07-31 13:47 EDT
Last Modified:              2012-07-31 13:47 EDT
====================================================================== 
Summary:                    Symlinks unsupported by some filesystems (e.g: CIFS)
Description: 
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.

Steps to Reproduce: 
1) Mount a CIFS
2) Attempt a CMake that performs a symlink (within the CIFS)
3) Failure
4) ?!?!?
5) Loss


Additional Information: 
The CIFS is to a Windows share, which is probably why symlinks aren't supported.

Dakon on #samba at freenode.org suggested this be reported.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-07-31 13:47 Declan White   New Issue                                    
======================================================================




More information about the cmake-developers mailing list