[Debian-med-packaging] Bug#916800: phybin: FTBFS with newer GHC

Andreas Tille tille at debian.org
Tue Dec 18 21:36:26 GMT 2018


Control: tags -1 help

Hi,

unfortunately I have no idea how to fix this.

Kind regards, Andreas.

On Tue, Dec 18, 2018 at 08:32:22PM +0200, Ilias Tsitsimpis wrote:
> Package: phybin
> Version: 0.3-2
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)
> 
> Dear maintainer,
> 
> phybin FTBFS with newer versions of GHC (>= 8.4) with the following error:
> 
> 	[1 of 9] Compiling Bio.Phylogeny.PhyBin.CoreTypes ( Bio/Phylogeny/PhyBin/CoreTypes.hs, dist-ghc/build/test-phybin/test-phybin-tmp/Bio/Phylogeny/PhyBin/CoreTypes.o )
> 
> 	Bio/Phylogeny/PhyBin/CoreTypes.hs:112:35: error:
> 		Ambiguous occurrence `<>'
> 		It could refer to either `Prelude.<>',
> 								 imported from `Prelude' at Bio/Phylogeny/PhyBin/CoreTypes.hs:7:8-37
> 								 (and originally defined in `GHC.Base')
> 							  or `Text.PrettyPrint.HughesPJClass.<>',
> 								 imported from `Text.PrettyPrint.HughesPJClass' at Bio/Phylogeny/PhyBin/CoreTypes.hs:40:1-58
> 								 (and originally defined in `pretty-1.1.3.6:Text.PrettyPrint.HughesPJ')
> 		|
> 	112 | displayDefaultTree orig = loop tr <> ";"
> 		|                                   ^^
> 
> 	Bio/Phylogeny/PhyBin/CoreTypes.hs:120:27: error:
> 		Ambiguous occurrence `<>'
> 		It could refer to either `Prelude.<>',
> 								 imported from `Prelude' at Bio/Phylogeny/PhyBin/CoreTypes.hs:7:8-37
> 								 (and originally defined in `GHC.Base')
> 							  or `Text.PrettyPrint.HughesPJClass.<>',
> 								 imported from `Text.PrettyPrint.HughesPJClass' at Bio/Phylogeny/PhyBin/CoreTypes.hs:40:1-58
> 								 (and originally defined in `pretty-1.1.3.6:Text.PrettyPrint.HughesPJ')
> 		|
> 	120 |          Just val -> base <> text ":[" <> text (show val) <> text "]"
> 		|                           ^^
> 
> 	Bio/Phylogeny/PhyBin/CoreTypes.hs:120:40: error:
> 		Ambiguous occurrence `<>'
> 		It could refer to either `Prelude.<>',
> 								 imported from `Prelude' at Bio/Phylogeny/PhyBin/CoreTypes.hs:7:8-37
> 								 (and originally defined in `GHC.Base')
> 							  or `Text.PrettyPrint.HughesPJClass.<>',
> 								 imported from `Text.PrettyPrint.HughesPJClass' at Bio/Phylogeny/PhyBin/CoreTypes.hs:40:1-58
> 								 (and originally defined in `pretty-1.1.3.6:Text.PrettyPrint.HughesPJ')
> 		|
> 	120 |          Just val -> base <> text ":[" <> text (show val) <> text "]"
> 		|                                        ^^
> 
> 	Bio/Phylogeny/PhyBin/CoreTypes.hs:120:59: error:
> 		Ambiguous occurrence `<>'
> 		It could refer to either `Prelude.<>',
> 								 imported from `Prelude' at Bio/Phylogeny/PhyBin/CoreTypes.hs:7:8-37
> 								 (and originally defined in `GHC.Base')
> 							  or `Text.PrettyPrint.HughesPJClass.<>',
> 								 imported from `Text.PrettyPrint.HughesPJClass' at Bio/Phylogeny/PhyBin/CoreTypes.hs:40:1-58
> 								 (and originally defined in `pretty-1.1.3.6:Text.PrettyPrint.HughesPJ')
> 		|
> 	120 |          Just val -> base <> text ":[" <> text (show val) <> text "]"
> 		|                                                           ^^
> 
> 	Bio/Phylogeny/PhyBin/CoreTypes.hs:121:47: error:
> 		Ambiguous occurrence `<>'
> 		It could refer to either `Prelude.<>',
> 								 imported from `Prelude' at Bio/Phylogeny/PhyBin/CoreTypes.hs:7:8-37
> 								 (and originally defined in `GHC.Base')
> 							  or `Text.PrettyPrint.HughesPJClass.<>',
> 								 imported from `Text.PrettyPrint.HughesPJClass' at Bio/Phylogeny/PhyBin/CoreTypes.hs:40:1-58
> 								 (and originally defined in `pretty-1.1.3.6:Text.PrettyPrint.HughesPJ')
> 		|
> 	121 |       where base = parens$ sep$ map_but_last (<>text",") $ map loop ls
> 		|                                               ^^
> 
> 	Bio/Phylogeny/PhyBin/CoreTypes.hs:126:36: error:
> 		Ambiguous occurrence `<>'
> 		It could refer to either `Prelude.<>',
> 								 imported from `Prelude' at Bio/Phylogeny/PhyBin/CoreTypes.hs:7:8-37
> 								 (and originally defined in `GHC.Base')
> 							  or `Text.PrettyPrint.HughesPJClass.<>',
> 								 imported from `Text.PrettyPrint.HughesPJClass' at Bio/Phylogeny/PhyBin/CoreTypes.hs:40:1-58
> 								 (and originally defined in `pretty-1.1.3.6:Text.PrettyPrint.HughesPJ')
> 		|
> 	126 | displayStrippedTree orig = loop tr <> ";"
> 		|                                    ^^
> 
> 	Bio/Phylogeny/PhyBin/CoreTypes.hs:130:57: error:
> 		Ambiguous occurrence `<>'
> 		It could refer to either `Prelude.<>',
> 								 imported from `Prelude' at Bio/Phylogeny/PhyBin/CoreTypes.hs:7:8-37
> 								 (and originally defined in `GHC.Base')
> 							  or `Text.PrettyPrint.HughesPJClass.<>',
> 								 imported from `Text.PrettyPrint.HughesPJClass' at Bio/Phylogeny/PhyBin/CoreTypes.hs:40:1-58
> 								 (and originally defined in `pretty-1.1.3.6:Text.PrettyPrint.HughesPJ')
> 		|
> 	130 |     loop (NTInterior _ ls) = parens$ sep$ map_but_last (<>text",") $ map loop ls
> 		|                                                         ^^
> 	make: *** [/usr/share/cdbs/1/class/hlibrary.mk:147: build-ghc-stamp] Error 1
> 
> -- 
> Ilias
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list