View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015488 | CMake | CMake | public | 2015-04-01 12:33 | 2016-06-10 14:31 | ||||
Reporter | Gregor Jasny | ||||||||
Assigned To | Gregor Jasny | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Apple | OS | Mac OS X | OS Version | 10.10.2 | ||||
Product Version | CMake 3.2.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015488: Strange things happen to paths below "/Volumes/Macintosh HD" | ||||||||
Description | Paths get extra /Volumes/Macintosh HD prepended | ||||||||
Steps To Reproduce | On a Mac where the HDD is labeled "Macintosh HD" try the following: Create a Project: project(Foo CXX) add_library(foo STATIC foo.cpp) Create a build dir ad change into it. The pwd should look like this: /Volumes/Macintosh HD/Users/jasny/src/pathbug/build For Makefiles you get: [100%] Building CXX object CMakeFiles/foo.dir/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Users/jasny/src/pathbug/foo.cpp.o Linking CXX static library "/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Users/jasny/src/pathbug/build/libfoo.a" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Users/jasny/src/pathbug/build/libfoo.a(foo.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Users/jasny/src/pathbug/build/libfoo.a(foo.cpp.o) has no symbols warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Users/jasny/src/pathbug/build/libfoo.a the table of contents is empty (no object file members in the library define global symbols) [100%] Built target foo For Ninja: $ ninja -v [1/2] "/Volumes/Macintosh HD/Volumes/Macintosh HD/usr/bin/c++" -MMD -MT CMakeFiles/foo.dir/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Users/jasny/src/pathbug/foo.cpp.o -MF CMakeFiles/foo.dir/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Users/jasny/src/pathbug/foo.cpp.o.d -o CMakeFiles/foo.dir/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Users/jasny/src/pathbug/foo.cpp.o -c '/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Users/jasny/src/pathbug/foo.cpp' [2/2] : && /usr/local/Cellar/cmake/3.2.1/bin/cmake -E remove "/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Users/jasny/src/pathbug/build/libfoo.a" && "/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/usr/bin/ar" cq "/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Users/jasny/src/pathbug/build/libfoo.a" CMakeFiles/foo.dir/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Volumes/Macintosh_HD/Users/jasny/src/pathbug/foo.cpp.o && "/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/usr/bin/ranlib" "/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Users/jasny/src/pathbug/build/libfoo.a" && : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Users/jasny/src/pathbug/build/libfoo.a(foo.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Users/jasny/src/pathbug/build/libfoo.a(foo.cpp.o) has no symbols warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Users/jasny/src/pathbug/build/libfoo.a the table of contents is empty (no object file members in the library define global symbols) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0039876) don bright (reporter) 2015-11-16 20:13 edited on: 2015-11-16 20:18 |
not an OSX expert but.... May not be cmake alone... also seeing prepends with qmake https://github.com/openscad/openscad/issues/1490 [^] |
(0042748) Kitware Robot (administrator) 2016-06-10 14:29 |
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. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-04-01 12:33 | Gregor Jasny | New Issue | |
2015-10-30 17:50 | Gregor Jasny | Assigned To | => Gregor Jasny |
2015-10-30 17:50 | Gregor Jasny | Status | new => assigned |
2015-11-16 20:13 | don bright | Note Added: 0039876 | |
2015-11-16 20:15 | don bright | Note Edited: 0039876 | |
2015-11-16 20:18 | don bright | Note Edited: 0039876 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042748 | |
2016-06-10 14:29 | Kitware Robot | Status | assigned => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |