View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0032775) Brad King (manager) 2013-04-08 09:59 |
Please attach the generated *.xcodeproj/project.pbxproj file. |
(0032778) Dave Abrahams (reporter) 2013-04-08 11:04 |
Sorry, I can’t. It contains information that my employer wouldn’t want me to distribute. I could try to answer some questions about it, perhaps. |
(0032779) Brad King (manager) 2013-04-08 11:18 |
Re 0014064:0032778: Okay, does project.pbxproj have any "../.." in it? |
(0034579) Dave Abrahams (reporter) 2013-11-26 22:38 |
Sorry, it's been to long; that project is long gone. How did I only get a notice about the posting from April 8th yesterday?! Email works in strange ways. |
(0034590) Brad King (manager) 2013-11-27 11:02 |
Okay. I'm resolving as "suspended" for now. I don't know why you didn't get notification about 0014064:0032779 but you got the recent notification because the status was changed to request feedback. |
(0036041) Robert Maynard (manager) 2014-06-02 08:37 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |