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

Bug 736344

Summary: dev-haskell/cabal-install-3.0.0.0 : Distribution/.../HTTP.hs: error:
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-haskell:cabal-install-3.0.0.0:20200808-055900.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-08-08 06:48:28 UTC
[102 of 156] Compiling Distribution.Client.Security.HTTP ( Distribution/Client/Security/HTTP.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Security/HTTP.dyn_o )

Distribution/Client/Security/HTTP.hs:66:57: error:
    • Couldn't match expected type ‘URI’
                  with actual type ‘network-2.5.0.0:Network.URI.URI’
      NB: ‘network-2.5.0.0:Network.URI.URI’

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200807-021814

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.45.2 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Aug  8 05:06:36 AM UTC 2020
/var/db/repos/libressl	Fri Aug  7 11:13:58 AM UTC 2020

emerge -qpvO dev-haskell/cabal-install
[ebuild  N    ] dev-haskell/cabal-install-3.0.0.0  USE="native-dns"
Comment 1 Toralf Förster gentoo-dev 2020-08-08 06:48:32 UTC
Created attachment 653704 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-08 06:48:36 UTC
Created attachment 653706 [details]
dev-haskell:cabal-install-3.0.0.0:20200808-055900.log
Comment 3 Toralf Förster gentoo-dev 2020-08-08 06:48:39 UTC
Created attachment 653708 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-08-08 06:48:42 UTC
Created attachment 653710 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-08-08 06:48:45 UTC
Created attachment 653712 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-08-08 06:48:49 UTC
Created attachment 653714 [details]
temp.tbz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2020-08-08 07:16:41 UTC
Conflict probably due to mix of two network slots:

"""
Warning:
    This package indirectly depends on multiple versions of the same package. This is very likely to cause a compile failure.
      package hackage-security (hackage-security-0.5.3.0-K8REgl3otRrBVAuOxC7Qsx) requires network-2.5.0.0-29nVNbJNyFb6jv23r63a7a
      package cabal-install (cabal-install-3.0.0.0) requires network-3.0.1.1-Cv4xwaYSk3qLs0kTRkld1f
      package HTTP (HTTP-4000.3.14-1ZCU32zrTlwIU4LPZ5yalH) requires network-3.0.1.1-Cv4xwaYSk3qLs0kTRkld1f
"""

We'll need to tweak hackage-security dependency to always pull latest slot to workaround it.
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2020-08-31 09:11:20 UTC
Should be fixed by un-slot: bug #739724

*** This bug has been marked as a duplicate of bug 739724 ***