Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 610120

Summary: =dev-vcs/git-annex[s3] requires old http-conduit / http-client
Product: Gentoo Linux Reporter: Jeff Kowalczyk <jeff.kowalczyk>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: CONFIRMED ---    
Severity: normal CC: cJ-gentoo, stasibear, tuomo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Jeff Kowalczyk 2017-02-20 22:28:32 UTC
After emerging dev-lang/ghc-8.0.2, running haskell-updater to rebuild packages halts on a slot conflict with:

dev-haskell/http-client:0

(dev-haskell/http-client-0.5.5:0/0.5.5::gentoo,
  ebuild scheduled for merge) pulled in by
  >=dev-haskell/http-client-0.5.0:=[profile?]
  ^^                        ^^^^^
  required by
  (dev-haskell/http-client-tls-0.3.3:0/0.3.3::gentoo,
  ebuild scheduled for merge)

(dev-haskell/http-client-0.4.30:0/0.4.30::gentoo,
  ebuild scheduled for merge) pulled in by
  <dev-haskell/http-client-0.5:=[profile?]
  ^                        ^^^ ^
  required by
  (dev-haskell/http-conduit-2.1.10.1:0/2.1.10.1::gentoo,
  ebuild scheduled for merge)
Comment 1 Jeff Kowalczyk 2017-02-20 22:29:36 UTC
Created attachment 464462 [details]
emerge --info
Comment 2 Tuomo Hartikainen 2017-02-21 06:50:38 UTC
I'm seeing this too, but to the best of my knowledge this isn't a slot conflict. ":=" that both packages have set indicates all slots satisfy the dependency, but the package must be rebuild if slot of its dependency changes. As both packages allow any slot, there is no conflict.

The problem is that dev-haskell/http-client-tls wants version >=dev-haskell/http-client-0.5.0, and dev-haskell/http-conduit wants <dev-haskell/http-client-0.5. http-conduit should be updated so that it allows at least the version 0.5.0 of http-client.
Comment 3 Tuomo Hartikainen 2017-03-03 11:49:59 UTC
Please disregard my last comment, I misunderstood the issue. This of course is a slot conflict.
Comment 4 Jeff Kowalczyk 2017-03-06 15:12:23 UTC
I ended up working around this by uninstalling the following packages:

dev-haskell/http-client-tls
dev-haskell/http-conduit
dev-haskell/aws

After those were cleared, I was able to get a completed run of haskell-updater.
Comment 5 Jeff Kowalczyk 2017-03-06 15:17:56 UTC
I should add that I changed my git-annex USE vars to -s3, and no longer pull in the packages which comprise the potential slot conflict:

dev-vcs/git-annex-6.20170101::gentoo  USE="assistant concurrentoutput cryptonite dbus magicmime network-uri pairing torrentparser webdav -benchmark -doc -s3 -webapp"
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2017-03-06 21:16:13 UTC
Yeah, USE=s3 is a problem here. I've tried to disable USE=s3 by default to ease the pain of most users.
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2017-03-06 21:18:46 UTC
aws needs a port (upstream or downstream):
    https://github.com/aristidb/aws/issues/218