Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702906 - dev-haskell/tasty-0.11.0.4 : Test/.../Run.hs:80:6: error:
Summary: dev-haskell/tasty-0.11.0.4 : Test/.../Run.hs:80:6: error:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-14 14:11 UTC by Toralf Förster
Modified: 2019-12-15 12:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.47 KB, text/plain)
2019-12-14 14:11 UTC, Toralf Förster
Details
dev-haskell:tasty-0.11.0.4:20191214-131741.log (dev-haskell:tasty-0.11.0.4:20191214-131741.log,8.83 KB, text/plain)
2019-12-14 14:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,96.66 KB, text/plain)
2019-12-14 14:11 UTC, Toralf Förster
Details
environment (environment,101.83 KB, text/plain)
2019-12-14 14:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.74 KB, application/x-bzip)
2019-12-14 14:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.70 KB, application/x-bzip)
2019-12-14 14:11 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-12-14 14:11:17 UTC
[ 9 of 18] Compiling Test.Tasty.Run   ( Test/Tasty/Run.hs, dist/build/Test/Tasty/Run.o )

Test/Tasty/Run.hs:80:6: error:
    Ambiguous occurrence ‘Timeout’
    It could refer to either ‘Control.Concurrent.Timeout.Timeout’,
                             imported from ‘Control.Concurrent.Timeout’ at Test/Tasty/Run.hs:18:1-33

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.39.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 14 Dec 2019 12:50:59 +0000

emerge -qpvO dev-haskell/tasty
[ebuild  N    ] dev-haskell/tasty-0.11.0.4  USE="-doc -hscolour -profile"
Comment 1 Toralf Förster gentoo-dev 2019-12-14 14:11:19 UTC
Created attachment 599508 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-14 14:11:22 UTC
Created attachment 599510 [details]
dev-haskell:tasty-0.11.0.4:20191214-131741.log
Comment 3 Toralf Förster gentoo-dev 2019-12-14 14:11:25 UTC
Created attachment 599512 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-12-14 14:11:28 UTC
Created attachment 599514 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-12-14 14:11:30 UTC
Created attachment 599516 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-14 14:11:33 UTC
Created attachment 599518 [details]
temp.tbz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2019-12-15 11:47:00 UTC
Full name collision looks like:

Test/Tasty/Run.hs:80:6: error:
    Ambiguous occurrence ‘Timeout’
    It could refer to either ‘Control.Concurrent.Timeout.Timeout’,
                             imported from ‘Control.Concurrent.Timeout’ at Test/Tasty/Run.hs:18:1-33
                          or ‘Test.Tasty.Options.Core.Timeout’,
                             imported from ‘Test.Tasty.Options.Core’ at Test/Tasty/Run.hs:29:1-30
                             (and originally defined
                                at Test/Tasty/Options/Core.hs:(54,1)-(60,27))
Comment 8 Larry the Git Cow gentoo-dev 2019-12-15 12:50:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e9e54d46b8ff5a00be53ce8f4df5e947ff063c

commit 98e9e54d46b8ff5a00be53ce8f4df5e947ff063c
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-12-15 12:30:04 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-12-15 12:50:17 +0000

    dev-haskell/tasty: tweak against unbounded-delays-0.1.1.0
    
    The patch fixes the following build failure:
    
    ```
    Test/Tasty/Run.hs:80:6: error:
        Ambiguous occurrence ‘Timeout’
        It could refer to either ‘Control.Concurrent.Timeout.Timeout’,
                                 imported from ‘Control.Concurrent.Timeout’ at Test/Tasty/Run.hs:18:1-33
                              or ‘Test.Tasty.Options.Core.Timeout’,
                                 imported from ‘Test.Tasty.Options.Core’ at Test/Tasty/Run.hs:29:1-30
                                 (and originally defined
                                    at Test/Tasty/Options/Core.hs:(54,1)-(60,27))
    ```
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/702906
    Package-Manager: Portage-2.3.81, Repoman-2.3.20
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 .../files/tasty-0.11.0.4-unbounded-delays.patch    | 26 ++++++++++++++++++++++
 dev-haskell/tasty/tasty-0.11.0.4.ebuild            |  2 ++
 2 files changed, 28 insertions(+)