Xamarin-macios: Our build doesn't support PATH containing paths with spaces

Created on 9 Jan 2018  路  4Comments  路  Source: xamarin/xamarin-macios

Repro:

PATH="$PATH:/some/path/with spaces" make all

result:

Making all in builds
/bin/sh: spaces: No such file or directory
make[1]: *** [.stamp-configure-watchsimulator] Error 127
make: *** [all-recurse] Error 1

Marek ran into this with workbooks: https://gist.github.com/marek-safar/796929c2194726b7f8b8c34bd7b39579 (where PATH=/Users/marek/mono/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin)

enhancement iOS macOS

Most helpful comment

I cannot reproduce it anymore with current master, most likely due to the switch to the Mono SDK for building the runtimes.

All 4 comments

I just ran into this as well. Had to remove "workbooks" from /etc/paths.d to build XI/XM

cd /etc/paths.d
sudo rm workbooks

I cannot reproduce it anymore with current master, most likely due to the switch to the Mono SDK for building the runtimes.

I can confirm the comments from @lewing The error does not happen in master.

OK, closing then.

Easiest bugs are those that are already fixed :smile:

Was this page helpful?
0 / 5 - 0 ratings