Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760863 - dev-haskell/monad-logger-0.3.32 : * //==-- Please, run haskell-updater to fix broken packages --==//
Summary: dev-haskell/monad-logger-0.3.32 : * //==-- Please, run haskell-updater to fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-20 10:39 UTC by Toralf Förster
Modified: 2020-12-20 23:21 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.83 KB, text/plain)
2020-12-20 10:39 UTC, Toralf Förster
Details
dev-haskell:monad-logger-0.3.32:20201220-070931.log (dev-haskell:monad-logger-0.3.32:20201220-070931.log,11.14 KB, text/plain)
2020-12-20 10:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,246.22 KB, text/plain)
2020-12-20 10:39 UTC, Toralf Förster
Details
environment (environment,80.18 KB, text/plain)
2020-12-20 10:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.64 KB, application/x-bzip)
2020-12-20 10:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.37 KB, application/x-bzip)
2020-12-20 10:39 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 2020-12-20 10:39:35 UTC
 * Detected broken packages: reducers-3.12.3 trifecta-2.1 lifted-base-0.2.3.12 either-5.0.1.1 chimera-0.3.1.0 arithmoi-0.11.0.1 monad-unlift-0.2.0 resource-pool-0.2.3.2 monad-logger-0.3.32 dbus-1.2.16 persistent-template-2.8.2.3 MonadRandom-0.5.1.2 lifted-async-0.10.0.6 tasty-1.2.3 hedgehog-1.0.4 darcs-2.16.3 tasty-rerun-1.1.17 Agda-2.6.1.2 tasty-quickcheck-0.10.1.1 file-location-0.4.9.1 mustache-2.3.1 persistent-2.10.5.2 persistent-postgresql-2.10.1.2 casa-types-0.0.1 casa-client-0.0.1 tasty-hedgehog-1.0.0.2 tasty-th-0.1.7 yesod-core-1.6.18.8 yesod-test-1.6.12 yesod-persistent-1.6.0.4 yesod-form-1.6.7 yesod-auth-1.6.9 yesod-auth-hashdb-1.7.1.2 tasty-hunit-0.10.0.2
 * ERROR: dev-haskell/monad-logger-0.3.32::gentoo failed (configure phase):
 *   //==-- Please, run 'haskell-updater' to fix broken packages --==//
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-abi32+64-20201212-135247

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.9
  [2]   python3.8 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-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	Sun Dec 20 05:35:12 AM UTC 2020

emerge -qpvO dev-haskell/monad-logger
[ebuild   R   ] dev-haskell/monad-logger-0.3.32  USE="template-haskell -doc -hscolour -profile"
Comment 1 Toralf Förster gentoo-dev 2020-12-20 10:39:36 UTC
Created attachment 678903 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-12-20 10:39:38 UTC
Created attachment 678906 [details]
dev-haskell:monad-logger-0.3.32:20201220-070931.log
Comment 3 Toralf Förster gentoo-dev 2020-12-20 10:39:39 UTC
Created attachment 678909 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-12-20 10:39:41 UTC
Created attachment 678912 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-12-20 10:39:42 UTC
Created attachment 678915 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-12-20 10:39:43 UTC
Created attachment 678918 [details]
temp.tbz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2020-12-20 10:52:59 UTC
We probably have a circular test dependency as haskell-updater tries to rebuild package out of order:

Error:
    The following packages are broken because other packages they depend on are missing. These broken packages must be rebuilt before they can be used.
installed package lifted-base-0.2.3.12 is broken due to missing package monad-control-1.0.2.3-Fb3qWdXT7FB4zow2blHIPK, transformers-base-0.4.5.2-5Dy7GkReo5Y5J7W0DtkMff

 * Detected broken packages: reducers-3.12.3 trifecta-2.1 lifted-base-0.2.3.12 either-5.0.1.1 chimera-0.3.1.0 arithmoi-0.11.0.1 monad-unlift-0.2.0 resource-pool-0.2.3.2 monad-logger-0.3.32 dbus-1.2.16 persistent-template-2.8.2.3 MonadRandom-0.5.1.2 lifted-async-0.10.0.6 tasty-1.2.3 hedgehog-1.0.4 darcs-2.16.3 tasty-rerun-1.1.17 Agda-2.6.1.2 tasty-quickcheck-0.10.1.1 file-location-0.4.9.1 mustache-2.3.1 persistent-2.10.5.2 persistent-postgresql-2.10.1.2 casa-types-0.0.1 casa-client-0.0.1 tasty-hedgehog-1.0.0.2 tasty-th-0.1.7 yesod-core-1.6.18.8 yesod-test-1.6.12 yesod-persistent-1.6.0.4 yesod-form-1.6.7 yesod-auth-1.6.9 yesod-auth-hashdb-1.7.1.2 tasty-hunit-0.10.0.2

Hypothesis: monad-logger is a test dependency of itself. I'll try to find a loop and break it.
Comment 8 Larry the Git Cow gentoo-dev 2020-12-20 18:36:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43cc4f459b7d19bdc59b82db2c49f1e68f28957d

commit 43cc4f459b7d19bdc59b82db2c49f1e68f28957d
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-12-20 18:36:19 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-12-20 18:36:27 +0000

    dev-haskell/parsec: drop tests circular dependency
    
    Reported-by: Toralf Förster
    Bug: https://bugs.gentoo.org/760863
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-haskell/parsec/metadata.xml              | 18 ++++++++++++------
 dev-haskell/parsec/parsec-3.1.13.0-r1.ebuild | 14 ++++----------
 dev-haskell/parsec/parsec-3.1.14.0.ebuild    | 11 +++--------
 3 files changed, 19 insertions(+), 24 deletions(-)
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2020-12-20 23:09:19 UTC
The hack I cobbled together detects at least 2 circular dependencies on your packages:

$ deps=($(/tmp/find-dep-loops.bash "${deps[@]}"))

tsort: -: input contains a loop:
tsort: dev-haskell/clock-0.7.2
tsort: dev-haskell/tasty-quickcheck-0.10.1.1
tsort: dev-haskell/tasty-hunit-0.10.0.2
tsort: dev-haskell/tasty-1.2.3

tsort: -: input contains a loop:
tsort: dev-haskell/cabal-3.0.1.0
tsort: dev-haskell/semigroups-0.18.5
tsort: dev-haskell/hashable-1.2.7.0
tsort: dev-haskell/haddock-2.23.1
Comment 10 Larry the Git Cow gentoo-dev 2020-12-20 23:11:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ca2bf22e54c003901ea22b734eeb54893e5dc51

commit 3ca2bf22e54c003901ea22b734eeb54893e5dc51
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-12-20 23:11:15 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-12-20 23:11:27 +0000

    dev-haskell/clock: fix tasty->clock->tasty circular test depend
    
    Reported-by: Toralf Förster
    Bug: https://bugs.gentoo.org/760863
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-haskell/clock/clock-0.7.2.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
Comment 11 Larry the Git Cow gentoo-dev 2020-12-20 23:18:46 UTC
The bug has been referenced in the following commit(s):

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

commit bee7c2e25cbad61b64c887d2d80cb0472ca2eb96
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-12-20 23:18:06 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-12-20 23:18:06 +0000

    haskell-cabal.eclass: unconditionally use bundled haddock for USE=doc
    
    Reported-by: Toralf Förster
    Bug: https://bugs.gentoo.org/760863#c10
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 eclass/haskell-cabal.eclass | 9 ---------
 1 file changed, 9 deletions(-)
Comment 12 Sergei Trofimovich (RETIRED) gentoo-dev 2020-12-20 23:21:54 UTC
I think #c10 fixes all the loops you see. I'll try to find the rest.