Bug 5520 - [REGRESSION] Cannot compile MonoTouch apps in *|iPhone configuration with spaces in the folder structure
Summary: [REGRESSION] Cannot compile MonoTouch apps in *|iPhone configuration with spa...
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 5.3.x
Hardware: PC Mac OS
: --- critical
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-06-05 12:40 UTC by PJ
Modified: 2012-06-06 14:39 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description PJ 2012-06-05 12:40:10 UTC
Steps to reproduce:

1) Place a sample app in a folder with spaces in the name.

(IE GitHubRepositories/monotouch-samples => Git Hub Repositories/monotouch-samples)

2) Set the app to *|iPhone configuration

3) Build

Verbose build output: https://gist.github.com/2876128



Environment:
MD 3.0.3 RC1 (08174fd97970bf5c94e2a27dbd9b846a7d7fd2c1)
MT 5.3.4 (abd3c5c3e15d89cfe55d2343663ff116f798ea8e)

Xcode 4.3.2
Mono 2.10.9_11
Lion 10.7.4

This issue does not occur on MD 3.0.2 with MT 5.3.4
Comment 1 PJ 2012-06-05 12:47:13 UTC
This issue also does not not occur with MD 3.0.3 and MT 5.2.12.

Seems like it's a combination of MD and MT changes.
Comment 2 Sebastien Pouliot 2012-06-05 14:39:20 UTC
It works with MD 3.0.2 with MT master - so it may not be caching related after all.
https://gist.github.com/1bc81546f75ee6509662

PJ got a link to 3.0.3 RC1 ? I'd like to reproduce it before fixing it (and be sure we nail the right thing).
Comment 3 Sebastien Pouliot 2012-06-05 15:19:34 UTC
Duplicated. 

GCC did not like our existing space quoting but we never hit that case before --cache was introduced (and where the space condition became possible).

Fixed in master: e50c2033d752b29d3cb13e3c75689338b059209d

Let me know if you want this in the 5.3.4 branch too.
Comment 4 Duncan Mak 2012-06-06 14:39:15 UTC
This fix is now available in the 5.3.4 branch as well.