MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014064 | CMake | CMake | public | 2013-04-08 09:42 | 2014-06-02 08:37 |
Reporter | Dave Abrahams | ||||
Assigned To | |||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | suspended | ||
Platform | mac | OS | OS X | OS Version | 10.8 |
Product Version | CMake 2.8.10.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0014064: Xcode generator creating incorrect relative paths | ||||
Description | This came up in an Xcode project generated by CMake. Basic problem looks like this: eno:quack dave$ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -L/tmp/tst/build/quack/lib/Debug/quack -filelist /tmp/tst/build/quack/runtime/Quack.build/Debug/quack_runtime.build/Objects-normal/x86_64/quack_runtime.LinkFileList /tmp/tst/src/quack/../../build/quack/loon/Hoot.o -o /tmp/tst/build/quack/lib/Debug/quack/libquack_runtime.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /tmp/tst/src/quack/../../build/quack/loon/Hoot.o (No such file or directory) eno:quack dave$ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -L/tmp/tst/build/quack/lib/Debug/quack -filelist /tmp/tst/build/quack/runtime/Quack.build/Debug/quack_runtime.build/Objects-normal/x86_64/quack_runtime.LinkFileList /tmp/tst/build/quack/loon/Hoot.o -o /tmp/tst/build/quack/lib/Debug/quack/libquack_runtime.a eno:quack dave$ The problem here is that /tmp/tst/src/quack/ is a symlink to /tmp/quack. Therefore, the path traversal of /tmp/tst/src/quack/../../build leads to /build, which doesn't exist. CMake generated this relative path as far as I can tell; “../..” doesn’t appear anywhere in my CMakeLists or my cmake command The Ninja generator works fine. | ||||
Steps To Reproduce | Sorry I don’t have a small reproducer for you. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-04-08 09:42 | Dave Abrahams | New Issue | |||
2013-04-08 09:59 | Brad King | Note Added: 0032775 | |||
2013-04-08 11:04 | Dave Abrahams | Note Added: 0032778 | |||
2013-04-08 11:18 | Brad King | Note Added: 0032779 | |||
2013-11-26 06:01 | Peter Kuemmel | Status | new => feedback | ||
2013-11-26 22:38 | Dave Abrahams | Note Added: 0034579 | |||
2013-11-26 22:38 | Dave Abrahams | Status | feedback => new | ||
2013-11-27 11:02 | Brad King | Note Added: 0034590 | |||
2013-11-27 11:02 | Brad King | Status | new => resolved | ||
2013-11-27 11:02 | Brad King | Resolution | open => suspended | ||
2014-06-02 08:37 | Robert Maynard | Note Added: 0036041 | |||
2014-06-02 08:37 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|