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

Ilias Tsitsimpis iliastsi at debian.org
Tue Dec 18 18:32:22 GMT 2018


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



More information about the Debian-med-packaging mailing list