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

Check dependencies failed when installing on Mac OS Sierra #814

Closed
shaps80 opened this issue Sep 13, 2016 · 6 comments
Closed

Check dependencies failed when installing on Mac OS Sierra #814

shaps80 opened this issue Sep 13, 2016 · 6 comments

Comments

@shaps80
Copy link

shaps80 commented Sep 13, 2016

I ran the command:

brew install swiftlint -- which I've successfully run on previous versions of OSX

but I get an error during the installation.

==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
bitrise                                                                         dynamodb-local                                                                  pango

Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
==> Using the sandbox
==> Cloning https://github.com/realm/SwiftLint.git
Updating /Users/Shaps/Library/Caches/Homebrew/swiftlint--git
==> Checking out tag 0.12.0
Synchronizing submodule url for 'Carthage/Checkouts/Nimble'
Synchronizing submodule url for 'Carthage/Checkouts/Quick'
Synchronizing submodule url for 'Carthage/Checkouts/Result'
Synchronizing submodule url for 'Carthage/Checkouts/xcconfigs'
Synchronizing submodule url for 'Externals/Nimble'
Synchronizing submodule url for 'Carthage/Checkouts/Commandant'
Synchronizing submodule url for 'Carthage/Checkouts/Result'
Synchronizing submodule url for 'Carthage/Checkouts/SWXMLHash'
Synchronizing submodule url for 'Carthage/Checkouts/YamlSwift'
Synchronizing submodule url for 'Carthage/Checkouts/xcconfigs'
Synchronizing submodule url for 'Carthage/Checkouts/Nimble'
Synchronizing submodule url for 'Carthage/Checkouts/Quick'
Synchronizing submodule url for 'Carthage/Checkouts/Result'
Synchronizing submodule url for 'Carthage/Checkouts/xcconfigs'
Synchronizing submodule url for 'Externals/Nimble'
==> make prefix_install PREFIX=/usr/local/Cellar/swiftlint/0.12.0 TEMPORARY_FOLDER=/private/tmp/swiftlint-20160913-93597-16xpw7r/SwiftLint.dst
Last 15 lines from /Users/Shaps/Library/Logs/Homebrew/swiftlint/01.make:

** CLEAN FAILED **


The following build commands failed:
    Check dependencies
    Check dependencies
    Check dependencies
    Check dependencies
    Check dependencies
    Check dependencies
(6 failures)
make: *** [clean] Error 65
make: *** Waiting for unfinished jobs....
*** Bootstrapping Carthage/Checkouts/SourceKitten...

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

Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.

I realise this is still not a formal release and even the warnings above mention this is not necessarily a tested/supported configuration, but no one else seems to be mentioning any issues around this.

Additional Notes:

  • xcode-select is set to use Xcode 8, running with Xcode 7 presents an error stating my version of Xcode is out of date. This appears to be more a brew issue however, than a SwiftLint issue.
  • This is also a FRESH OSX install, not an upgrade.
  • The resulting make file is attached 01.make.zip
@shaps80
Copy link
Author

shaps80 commented Sep 14, 2016

For those having similar issues around this here's the fix:

https://github.com/realm/SwiftLint/releases/

The wonderful dev's at Realm provide a fantastic PKG installer that works like a charm. I should've checked this first -- my bad :)


Regarding the problem above, this is related to brew more than it is SwiftLint.

If you have xcode-select setup to use Xcode 8, you'll see the error above since SwiftLint requires Swift 2.2

However if you then switch back to using Xcode 7, brew will complain about an outdated version of Xcode. So, use the package installer and smile ;)

@shaps80 shaps80 closed this as completed Sep 14, 2016
@zmwangx
Copy link

zmwangx commented Sep 15, 2016

@shaps80 Hi, I'm a maintainer of Homebrew.

Regarding the problem above, this is related to brew more than it is SwiftLint.

If you have xcode-select setup to use Xcode 8, you'll see the error above since SwiftLint requires Swift 2.2

However if you then switch back to using Xcode 7, brew will complain about an outdated version of Xcode. So, use the package installer and smile ;)

May I interpret this comment as SwiftLint is not supposed to work with Xcode 8 (Swift 3), and consequently macOS Sierra? I certainly don't think there's a Sierra + Xcode 7 setup and won't call it a "problem" of brew.

@zmwangx
Copy link

zmwangx commented Sep 15, 2016

Oh sorry, you're not a member of the SwiftLint team.

@shaps80
Copy link
Author

shaps80 commented Sep 15, 2016

Hey,

Apologies if I offended you. I certainly didn't mean it in a bad way. I love brew and you guys have done a fantastic job! Don't know what I'd do without it ;-)

You're right, it's not a problem, however it doesn't appear to be a supported configuration and since many of us will require swift 2.2 for some time to come, it means I can't use brew to install libs that depend on it while running Sierra.

Unless you can tell me how? ;-)

Shaps

Sent from my iPhone

On 15 Sep 2016, at 18:40, Zhiming Wang [email protected] wrote:

Oh sorry, you're not a member of the SwiftLint team.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@zmwangx
Copy link

zmwangx commented Sep 15, 2016

I'm not offended, I'm trying to figure out this packaging problem myself. See #815 and Homebrew/homebrew-core#4841.

@shaps80
Copy link
Author

shaps80 commented Sep 15, 2016

Ah I see. Glad to hear!

Let me know if I can help at all.

Thanks,

Shaps

Sent from my iPhone

On 15 Sep 2016, at 19:03, Zhiming Wang [email protected] wrote:

I'm not offended, I'm trying to figure out this packaging problem myself. See #815 and Homebrew/homebrew-core#4841.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

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