Subject: Re: Automake fails to build via Homebrew if path to Xcode contains a space

From: Mike Frysinger <[email-masked]>
Date: Tue, 8 Feb 2022 04:35:28 +0000 (UTC)

On Fri, 09 Sep 2016 18:18:07 -0700, Michael Miller wrote:
> I recently had a problem building automake via Homebrew on OS X. Turns out the problem was that the path to Xcode contained a space: /Applications/Xcode 7.app \u2014 Removing the space caused the build to work correctly.
>
> To Reproduce:
> 1. Install Xcode
> 2. Change the path from /Applications/Xcode.app to /Applications/Xcode 7.app
> 3. sudo xcode-select sudo xcode-select --switch /Applications/Xcode\ 7.app/
> 4. brew install automake
>
> Result:
> make: /Applications/Xcode: No such file or directory
> make: *** [install-am] Error 1

i don't have macOS to test, so can you please attach the full build log, and
not just the last line ?  it's kind of impossible for us to tell where this
error is coming from, so we can't easily fix it.
-mike