Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Comments

git-annex: fix #36309#36319

Closed
psibre wants to merge 2 commits intoHomebrew:masterfrom
psibre:psibre
Closed

git-annex: fix #36309#36319
psibre wants to merge 2 commits intoHomebrew:masterfrom
psibre:psibre

Conversation

@psibre
Copy link
Contributor

@psibre psibre commented Jan 28, 2015

No description provided.

because `brew audit --strict git-annex` outputs
```
==> audit problems
git-annex:
 * `require "formula"` is now unnecessary
```

Error: 1 problems in 1 formulae
@MikeMcQuaid
Copy link
Member

@psibre
Copy link
Contributor Author

psibre commented Jan 28, 2015

From trying to build git-annex from source in the past, I know that it's utterly volatile -- dependency hell with cabal etc. Which is why I cherish the fact that homebrew has it bottled! =)

Trying to build like the bot on a clean system fails for me even without this patch, i.e., at the latest upstream revision (4bb9eb8). So I'm pretty sure it's not due to adding the depends_on "quvi" stanza:

Resolving dependencies...
cabal: Could not resolve dependencies:
trying: git-annex-5.20150113 (user goal)
trying: http-conduit-2.1.5 (dependency of git-annex-5.20150113)
trying: conduit-1.2.3.1 (dependency of http-conduit-2.1.5)
trying: utf8-string-1 (dependency of git-annex-5.20150113)
trying: git-annex-5.20150113:-android
trying: git-annex-5.20150113:-androidsplice
trying: git-annex-5.20150113:+assistant
trying: git-annex-5.20150113:+cryptohash
trying: git-annex-5.20150113:+dbus
trying: git-annex-5.20150113:+desktopnotify
trying: git-annex-5.20150113:+dns
trying: git-annex-5.20150113:-ekg
trying: git-annex-5.20150113:+feed
trying: git-annex-5.20150113:+inotify
trying: git-annex-5.20150113:+network-uri
trying: git-annex-5.20150113:+pairing
trying: git-annex-5.20150113:+production
trying: git-annex-5.20150113:+quvi
trying: git-annex-5.20150113:+s3
next goal: aws (dependency of git-annex-5.20150113:+s3)
rejecting: aws-0.11.2, 0.11.1, 0.11, 0.10.5 (conflict: utf8-string==1, aws =>
utf8-string==0.3.*)
rejecting: aws-0.10.4, 0.10.3, 0.10.2, 0.10.1, 0.10 (conflict:
conduit==1.2.3.1, aws => conduit>=1.1 && <1.2)
rejecting: aws-0.9.4 (conflict: utf8-string==1, aws => utf8-string==0.3.*)
rejecting: aws-0.9.3, 0.9.2 (conflict: conduit==1.2.3.1, aws => conduit>=1.1
&& <1.2)
rejecting: aws-0.9.1, 0.9, 0.8.6, 0.8.5, 0.8.4, 0.8.3, 0.8.2, 0.8.1, 0.8.0,
0.7.6.4, 0.7.6.3, 0.7.6.2, 0.7.6.1, 0.7.6, 0.7.5, 0.7.4, 0.7.3, 0.7.2, 0.7.1,
0.7.0, 0.6.2, 0.6.1, 0.6.0, 0.5.0, 0.4.1, 0.4.0.1, 0.4.0, 0.3.2, 0.3.1, 0.3,
0.2, 0.1, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1 (conflict:
git-annex-5.20150113:s3 => aws(>=0.9.2))
Backjump limit reached (change with --max-backjumps).

Having said all that, git-annex does have a compile time dependency on quvi (see +quvi flag above); what I was trying accomplish with my pull request was simply to make homebrew also install quvi when installing the git-annex bottle.

@MikeMcQuaid
Copy link
Member

Yeh. I don't mind just adding the dependency but if we can get this green first that'd be great too.

@psibre
Copy link
Contributor Author

psibre commented Jan 29, 2015

Some of the Haskell library skew with aws has resolved itself overnight. However, now the build fails down the line...

Building feed-0.3.9.2...
Preprocessing library feed-0.3.9.2...

Text/Feed/Import.hs:35:8:
    Could not find module ‘System.IO.UTF8’
    Use -v to see a list of the files searched for.

It seems like the only way to build git-annex is to keep trying daily until the dependency hell with cabal sorts itself out...
Is there a way to periodically restart the CI build until it passes and builds the bottles?

@MikeMcQuaid
Copy link
Member

Is there a way to periodically restart the CI build until it passes and builds the bottles?

Nope but if you ask me I can kick it off periodically.

@MikeMcQuaid
Copy link
Member

Still borked :(

@psibre
Copy link
Contributor Author

psibre commented Jan 29, 2015

Yeah, confirmed. Haskell may be a fantastic language (or so I've read), but their dependency resolution engine is fundamentally broken.
It seems that we have to wait for feed to be updated since its utf8-string was updated last week and breaks compatibility...

@carlmod
Copy link
Contributor

carlmod commented Feb 6, 2015

As git-annex was updated again, it would probably make sense to update the pullrequest to the new version.

url "https://hackage.haskell.org/package/git-annex-5.20150205/git-annex-5.20150205.tar.gz"
sha1 "5df6114cb029531e429e2b423f5ae7f755ffa390"

It does still not build, but it seems feed has a pullrequest that should fix it sof/feed#10.

@Noctem Noctem mentioned this pull request Feb 6, 2015
@jacknagel jacknagel closed this in 3617cc0 Feb 7, 2015
@psibre psibre deleted the psibre branch June 24, 2015 15:00
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants