<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - createUniqueFile's replacement of '%' breaks builds in paths that already have a '%'"
href="https://llvm.org/bugs/show_bug.cgi?id=25655">25655</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>createUniqueFile's replacement of '%' breaks builds in paths that already have a '%'
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>cradnovich@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Overview:
Building fails in paths which include '%' characters, so far only verified on
Mac. One example is Carthage's calling of dsymutil:
A shell task failed with exit code 1:
Failed to create temporary outfile
'/Users/stephen.groom/Developer/project%20name/Carthage/Build/iOS/DateTools.framework.dSYM/DateTools.tmp%%%%%%.dwarf':
No such file or directory
Another instance is attempting to build a new Xcode project with the Derived
Data location set to project-relative instead of in ~/Library:
<unknown>:0: error: error opening
'/Users/craig/develop/p%2/Percentage/build/Percentage.build/Debug-iphoneos/Percentage.build/Objects-normal/armv7/Percentage-Swift.h'
for output: No such file or directory
<unknown>:0: error: merge-module command failed with exit code 1 (use -v to see
invocation)
Command
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
failed with exit code 1
** BUILD FAILED **
The following build commands failed:
MergeSwiftModule normal armv7
/Users/craig/develop/p%2/Percentage/build/Percentage.build/Debug-iphoneos/Percentage.build/Objects-normal/armv7/Percentage.swiftmodule
CompileSwiftSources normal armv7 com.apple.xcode.tools.swift.compiler
(2 failures)
Steps to Reproduce:
1) Make a new Xcode project under a folder with a '%' in its name.
2) Build.
Actual Results:
Build fails.
Expected Results:
Build succeeds.
Additional Builds and Platforms:
- Built llvm-dsymutil 3.8 from trunk (also on OS X 10.11.1) and the error also
occurs when running this example command in a project using Carthage:
llvm-dsymutil "/Users/craig/develop/percent%test/Projects/Amaze
Chase/Carthage/Build/iOS/Alamofire.framework/Alamofire" -o
"/Users/craig/develop/percent%test/Projects/Amaze
Chase/Carthage/Build/iOS/Alamofire.framework.dSYM"
Additional Information:
- After moving any of these projects to a folder without the '%', builds
succeed.
- Originally found on Carthage project
<a href="https://github.com/Carthage/Carthage/issues/929">https://github.com/Carthage/Carthage/issues/929</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>