Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azkaban installation fails #2

Closed
akaralar opened this issue May 27, 2016 · 6 comments
Closed

Azkaban installation fails #2

akaralar opened this issue May 27, 2016 · 6 comments

Comments

@akaralar
Copy link

When I try to install azkaban via brew install neonichu/formulae/azkaban, the installation fails with output:

==> chswift-exec 2.2 -- make .build/debug/azkaban
Last 15 lines from /Users/akaralar/Library/Logs/Homebrew/azkaban/01.chswift-exec:
clang -target x86_64-apple-macosx10.10 -fobjc-arc -g3 -IExternals/Alcatraz/Alcatraz/Categories -IExternals/Alcatraz/Alcatraz/Helpers -IExternals/Alcatraz/Alcatraz/Installers -IExternals/Alcatraz/Alcatraz/Packages   -c -o Externals/Alcatraz/Alcatraz/Helpers/ATZDownloader.o Externals/Alcatraz/Alcatraz/Helpers/ATZDownloader.m
clang -target x86_64-apple-macosx10.10 -fobjc-arc -g3 -IExternals/Alcatraz/Alcatraz/Categories -IExternals/Alcatraz/Alcatraz/Helpers -IExternals/Alcatraz/Alcatraz/Installers -IExternals/Alcatraz/Alcatraz/Packages   -c -o Externals/Alcatraz/Alcatraz/Helpers/ATZGit.o Externals/Alcatraz/Alcatraz/Helpers/ATZGit.m
clang -target x86_64-apple-macosx10.10 -fobjc-arc -g3 -IExternals/Alcatraz/Alcatraz/Categories -IExternals/Alcatraz/Alcatraz/Helpers -IExternals/Alcatraz/Alcatraz/Installers -IExternals/Alcatraz/Alcatraz/Packages   -c -o Externals/Alcatraz/Alcatraz/Helpers/ATZPBXProjParser.o Externals/Alcatraz/Alcatraz/Helpers/ATZPBXProjParser.m
clang -target x86_64-apple-macosx10.10 -fobjc-arc -g3 -IExternals/Alcatraz/Alcatraz/Categories -IExternals/Alcatraz/Alcatraz/Helpers -IExternals/Alcatraz/Alcatraz/Installers -IExternals/Alcatraz/Alcatraz/Packages   -c -o Externals/Alcatraz/Alcatraz/Helpers/ATZShell.o Externals/Alcatraz/Alcatraz/Helpers/ATZShell.m
clang -target x86_64-apple-macosx10.10 -fobjc-arc -g3 -IExternals/Alcatraz/Alcatraz/Categories -IExternals/Alcatraz/Alcatraz/Helpers -IExternals/Alcatraz/Alcatraz/Installers -IExternals/Alcatraz/Alcatraz/Packages   -c -o Externals/Alcatraz/Alcatraz/Installers/ATZColorSchemeInstaller.o Externals/Alcatraz/Alcatraz/Installers/ATZColorSchemeInstaller.m
clang -target x86_64-apple-macosx10.10 -fobjc-arc -g3 -IExternals/Alcatraz/Alcatraz/Categories -IExternals/Alcatraz/Alcatraz/Helpers -IExternals/Alcatraz/Alcatraz/Installers -IExternals/Alcatraz/Alcatraz/Packages   -c -o Externals/Alcatraz/Alcatraz/Installers/ATZFileTemplateInstaller.o Externals/Alcatraz/Alcatraz/Installers/ATZFileTemplateInstaller.m
clang -target x86_64-apple-macosx10.10 -fobjc-arc -g3 -IExternals/Alcatraz/Alcatraz/Categories -IExternals/Alcatraz/Alcatraz/Helpers -IExternals/Alcatraz/Alcatraz/Installers -IExternals/Alcatraz/Alcatraz/Packages   -c -o Externals/Alcatraz/Alcatraz/Installers/ATZInstaller.o Externals/Alcatraz/Alcatraz/Installers/ATZInstaller.m
clang -target x86_64-apple-macosx10.10 -fobjc-arc -g3 -IExternals/Alcatraz/Alcatraz/Categories -IExternals/Alcatraz/Alcatraz/Helpers -IExternals/Alcatraz/Alcatraz/Installers -IExternals/Alcatraz/Alcatraz/Packages   -c -o Externals/Alcatraz/Alcatraz/Installers/ATZPluginInstaller.o Externals/Alcatraz/Alcatraz/Installers/ATZPluginInstaller.m
clang -target x86_64-apple-macosx10.10 -fobjc-arc -g3 -IExternals/Alcatraz/Alcatraz/Categories -IExternals/Alcatraz/Alcatraz/Helpers -IExternals/Alcatraz/Alcatraz/Installers -IExternals/Alcatraz/Alcatraz/Packages   -c -o Externals/Alcatraz/Alcatraz/Installers/ATZProjectTemplateInstaller.o Externals/Alcatraz/Alcatraz/Installers/ATZProjectTemplateInstaller.m
clang -target x86_64-apple-macosx10.10 -fobjc-arc -g3 -IExternals/Alcatraz/Alcatraz/Categories -IExternals/Alcatraz/Alcatraz/Helpers -IExternals/Alcatraz/Alcatraz/Installers -IExternals/Alcatraz/Alcatraz/Packages   -c -o Externals/Alcatraz/Alcatraz/Installers/ATZTemplateInstaller.o Externals/Alcatraz/Alcatraz/Installers/ATZTemplateInstaller.m
swift build
`echo Externals/Alcatraz/Alcatraz/Packages/ATZAlcatrazPackage.h Externals/Alcatraz/Alcatraz/Packages/ATZColorScheme.h Externals/Alcatraz/Alcatraz/Packages/ATZFileTemplate.h Externals/Alcatraz/Alcatraz/Packages/ATZPackage.h Externals/Alcatraz/Alcatraz/Packages/ATZPackageFactory.h Externals/Alcatraz/Alcatraz/Packages/ATZPlugin.h Externals/Alcatraz/Alcatraz/Packages/ATZProjectTemplate.h Externals/Alcatraz/Alcatraz/Packages/ATZTemplate.h Externals/Alcatraz/Alcatraz/Categories/NSFileManager+Alcatraz.h Externals/Alcatraz/Alcatraz/Helpers/ATZDownloader.h Externals/Alcatraz/Alcatraz/Helpers/ATZGit.h Externals/Alcatraz/Alcatraz/Helpers/ATZPBXProjParser.h Externals/Alcatraz/Alcatraz/Helpers/ATZShell.h Externals/Alcatraz/Alcatraz/Installers/ATZColorSchemeInstaller.h Externals/Alcatraz/Alcatraz/Installers/ATZFileTemplateInstaller.h Externals/Alcatraz/Alcatraz/Installers/ATZInstaller.h Externals/Alcatraz/Alcatraz/Installers/ATZPluginInstaller.h Externals/Alcatraz/Alcatraz/Installers/ATZProjectTemplateInstaller.h Externals/Alcatraz/Alcatraz/Installers/ATZTemplateInstaller.h|sed -e 's/ /"§#import "/g' -e 's/^/#import "/' -e 's/$/"/'|tr '§' '\n' >Sources/BridgingHeader.h`
error: unable to invoke subcommand: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build (No such file or directory)
make: *** [lib] Error 2
make: *** Waiting for unfinished jobs....

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/neonichu/homebrew-formulae/issues

running xcode-select -v prints xcode-select version 2343.

@akaralar
Copy link
Author

Ah, I think it's related to having a fixed Xcode path. My Xcode path is /Applications/Developer/Xcode.app instead of /Applications/Xcode.app

@neonichu
Copy link
Owner

What happens when you manually run chswift-exec 2.2 -- swift build? And also what is the output of just running chswift?

@akaralar
Copy link
Author

the output of chswift-exec 2.2 -- swift build is
error: unable to invoke subcommand: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build (No such file or directory)

output of chswift is
zsh: command not found: chswift

@neonichu
Copy link
Owner

Ah, right, chswift isn't available automatically — could you try running it again after executing source /usr/local/share/chswift/chswift.sh? The exact path can differ if you're installing homebrew into a custom directory.

@akaralar
Copy link
Author

Of course, the output is 2.2 (swiftlang-703.0.18.8 clang-703.0.31)

@neonichu
Copy link
Owner

hm, so weird that this doesn't find the right Xcode location — in any case, I think even if it did, building would still fail, same cause as neonichu/Azkaban#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants