danger / homebrew-tap

The homebrew repo for Danger projects
MIT License
5 stars 12 forks source link

Failing to install danger-swift via HomeBrew #2

Open hirayama-stt opened 6 years ago

hirayama-stt commented 6 years ago

Failing to resolve dependencies. What can I do? Is this due to my local environment?

$ brew install danger/tap/danger-swift
==> Installing danger-swift from danger/tap
==> Downloading https://github.com/danger/danger-swift/archive/0.4.0.tar.gz
Already downloaded: /Users/hiragram/Library/Caches/Homebrew/danger-swift-0.4.0.tar.gz
==> make install PREFIX=/usr/local/Cellar/danger-swift/0.4.0
Last 15 lines from /Users/hiragram/Library/Logs/Homebrew/danger-swift/01.make:
swift package clean
swift build --disable-sandbox -c release --static-swift-stdlib
error: dependency graph is unresolvable; found these conflicting requirements:

Dependencies:
    https://github.com/JohnSundell/Marathon.git @ 3.0.0..<4.0.0
error: product dependency 'MarathonCore' not found
Fetching https://github.com/JohnSundell/Marathon.git
Fetching https://github.com/JohnSundell/Require.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/JohnSundell/Wrap.git
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/JohnSundell/Releases.git
Fetching https://github.com/JohnSundell/Unbox.git
make: *** [build] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/danger/homebrew-tap/issues
hirayama-stt commented 6 years ago

Also failed on Bitrise container. It is not my environment's problem, I think.

orta commented 6 years ago

Weird, nothing's changed on marathon or Danger Swift for the last few days

hirayama-stt commented 6 years ago

@orta Does it work fine on your mac? Please tell me if you need more information to investigate.

behdaad commented 6 years ago

I'm having problems with 0.4.1 installation, this is the output:

>>> brew install danger/tap/danger-swift      
==> Installing danger-swift from danger/tap
==> Downloading https://github.com/danger/danger-swift/archive/0.4.1.tar.gz
Already downloaded: /Users/behdad/Library/Caches/Homebrew/danger-swift-0.4.1.tar.gz
==> make install PREFIX=/usr/local/Cellar/danger-swift/0.4.1
Last 15 lines from /Users/behdad/Library/Logs/Homebrew/danger-swift/01.make:
         ^
/usr/local/include/stdbool.h:4:10: note: in file included from /usr/local/include/stdbool.h:4:
#include <stdbool.h>
         ^
/usr/local/include/stdbool.h:4:10: note: in file included from /usr/local/include/stdbool.h:4:
#include <stdbool.h>
         ^
/usr/local/include/stdbool.h:4:10: note: in file included from /usr/local/include/stdbool.h:4:
#include <stdbool.h>
         ^
/usr/local/include/stdbool.h:4:10: error: #include nested too deeply
#include <stdbool.h>
         ^
<unknown>:0: error: could not build Objective-C module 'Darwin'
make: *** [build] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/danger/homebrew-tap/issues

These open issues may also help:
Failing to install danger-swift via HomeBrew https://github.com/danger/homebrew-tap/issues/2

System spec: macOS 10.13.6 Homebrew 1.7.1 npm 6.2.0 danger 3.8.1 xcode-select 2349