GNU bug report logs - #24403
Automake fails to build via Homebrew if path to Xcode contains a space

Previous Next

Package: automake;

Reported by: Michael Miller <michaelmiller <at> gmail.com>

Date: Sat, 10 Sep 2016 02:19:02 UTC

Severity: normal

Tags: moreinfo

To reply to this bug, email your comments to 24403 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#24403; Package automake. (Sat, 10 Sep 2016 02:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Miller <michaelmiller <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Sat, 10 Sep 2016 02:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Miller <michaelmiller <at> gmail.com>
To: bug-automake <at> gnu.org
Subject: Automake fails to build via Homebrew if path to Xcode contains a space
Date: Fri, 9 Sep 2016 18:18:07 -0700
Hello GNU folks,

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 — 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

Workaround:
Rename Xcode 7.app to Xcode7.app (sans the space), and then re-run xcode-select on the new path. The build now works.

Spaces really should be ok though! :)

-Michael



Information forwarded to bug-automake <at> gnu.org:
bug#24403; Package automake. (Tue, 08 Feb 2022 04:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 24403 <at> debbugs.gnu.org (full text, mbox):

From: Mike Frysinger <vapier <at> gentoo.org>
To: Michael Miller <michaelmiller <at> gmail.com>
Cc: 24403 <at> debbugs.gnu.org
Subject: Re: Automake fails to build via Homebrew if path to Xcode contains a
 space
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




Added tag(s) moreinfo. Request was from Mike Frysinger <vapier <at> gentoo.org> to control <at> debbugs.gnu.org. (Tue, 08 Feb 2022 04:36:02 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 132 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.