FS#58797 - [haskell-colour] [haskell-test-framework] [haskell-ansi-terminal] circular dependencies
Attached to Project:
Community Packages
Opened by Erich Eckner (deepthought) - Wednesday, 30 May 2018, 15:12 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 25 June 2018, 02:09 GMT
Opened by Erich Eckner (deepthought) - Wednesday, 30 May 2018, 15:12 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 25 June 2018, 02:09 GMT
|
Details
Description:
The dependency cycle: [haskell-colour] -(makedepends)-> [haskell-test-framework] -(depends)-> [haskell-ansi-terminal] -(depends)-> [haskell-colour] prevents downstream distributions like archlinux32 from switching to a new ghc-libs version. Any package from that cycle cannot be compiled with the new ghc, because it complains about broken dependencies like: "==> Starting build()... Configuring colour-2.3.4... 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 ansi-terminal-0.7.1.1 is broken due to missing package base-4.10.1.0 installed package ansi-wl-pprint-0.6.8.2 is broken due to missing package base-4.10.1.0 installed package colour-2.3.4 is broken due to missing package base-4.10.1.0 ..." (taken from the log of haskell-colour's build) How have these packages been built? cheers, deep42thought |
This task depends upon
checkdepends are now back in checkdepends=() and the tests are conditional on whether $CHECKFUNC is set (indicating makepkg will be executing a check() function). It should now be possible to build bootstrapped packages just by using --nocheck... although this will result in non-reproducible packages since haskell considers this to be ABI-breaking, and all other packages will need to be rebuilt if you re-enable the check(), so yeah... fun.