#1013787 haskell-operational FTBFS: error: Ambiguous occurrence ‘singleton’

#1013787#5
Date:
2022-06-25 16:37:57 UTC
From:
To:
https://buildd.debian.org/status/package.php?p=haskell-operational&suite=sid

...
[1 of 1] Compiling Main             ( doc/examples/TicTacToe.hs, dist-ghc/build/operational-TicTacToe/operational-TicTacToe-tmp/Main.o )

src/Control/Monad/Operational.hs:26:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
26 | import Control.Applicative
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Control/Monad/Operational.hs:26:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
26 | import Control.Applicative
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^

doc/examples/TicTacToe.hs:46:13: error:
    Ambiguous occurrence ‘singleton’
    It could refer to
       either ‘Control.Monad.Operational.singleton’,
              imported from ‘Control.Monad.Operational’ at doc/examples/TicTacToe.hs:19:1-32
           or ‘Data.List.singleton’,
              imported from ‘Data.List’ at doc/examples/TicTacToe.hs:23:1-16
              (and originally defined in ‘base-4.15.1.0:Data.OldList’)
   |
46 | readBoard = singleton ReadBoard
   |             ^^^^^^^^^

doc/examples/TicTacToe.hs:47:13: error:
    Ambiguous occurrence ‘singleton’
    It could refer to
       either ‘Control.Monad.Operational.singleton’,
              imported from ‘Control.Monad.Operational’ at doc/examples/TicTacToe.hs:19:1-32
           or ‘Data.List.singleton’,
              imported from ‘Data.List’ at doc/examples/TicTacToe.hs:23:1-16
              (and originally defined in ‘base-4.15.1.0:Data.OldList’)
   |
47 | playMove  = singleton . PlayMove
   |             ^^^^^^^^^
 at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 107.
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 131
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 640
	Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe() called at -e line 1
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:153: build-ghc-stamp] Error 25

#1013787#10
Date:
2022-07-03 10:35:12 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
haskell-operational, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1013787@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ilias Tsitsimpis <iliastsi@debian.org> (supplier of updated haskell-operational package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 03 Jul 2022 13:22:05 +0300
Source: haskell-operational
Architecture: source
Version: 0.2.4.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Changed-By: Ilias Tsitsimpis <iliastsi@debian.org>
Closes: 1013787
Changes:
 haskell-operational (0.2.4.1-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #1013787)
   * Declare compliance with Debian policy 4.6.1
Checksums-Sha1:
 c8960344b66af212dd6ae4a6c695b4c9f3706d7e 2422 haskell-operational_0.2.4.1-1.dsc
 cc367f5b64f583cb8d73918d5f6fd04445c19125 18352 haskell-operational_0.2.4.1.orig.tar.gz
 bd729aefe2f4d44180b601171bdfdc4cc04d4769 3320 haskell-operational_0.2.4.1-1.debian.tar.xz
 ec7c73886ee28300ca17e6eef2e3c2667de06ee2 8497 haskell-operational_0.2.4.1-1_amd64.buildinfo
Checksums-Sha256:
 3500b68bade718eee83fcf1e20cbf919e77ba436fe08297a6d258d11d4fd58ff 2422 haskell-operational_0.2.4.1-1.dsc
 4261367dc563d5d954f9f38071be70fe4f2dae8a6ec6013ad00bce5d7dbf4129 18352 haskell-operational_0.2.4.1.orig.tar.gz
 34b693350e3c934d13cf1592c6bbe7a6321761f3b37fff1d688677b54546cf5f 3320 haskell-operational_0.2.4.1-1.debian.tar.xz
 fc983a89bcf488a3541a69687c73ad6f6eb4aa9fd0b6ca666c1de09ba4e5f253 8497 haskell-operational_0.2.4.1-1_amd64.buildinfo
Files:
 8bf36a384b344bb33079b17558a314b8 2422 haskell optional haskell-operational_0.2.4.1-1.dsc
 a781516d98f1ce2d5791700c6a57d426 18352 haskell optional haskell-operational_0.2.4.1.orig.tar.gz
 82986fe57dcd07e8bbcede8a890c5e93 3320 haskell optional haskell-operational_0.2.4.1-1.debian.tar.xz
 a4d7b3bcf197c9c8f59253490d0a6239 8497 haskell optional haskell-operational_0.2.4.1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEJ9c8pfW11+AaUTb116hngMxkQDwFAmLBbjUUHGlsaWFzdHNp
QGRlYmlhbi5vcmcACgkQ16hngMxkQDyarw/7BVzLZ56Auedw9I917i9CLOByELmI
CrZJbxlR0KDawLY1fI/vrTxpzpk9hxDRfLfr/cYjdipsczzolSuXmTMszDfE6lTi
rk4eYX1+HWlLtClwMp5reNVcZELFvFgkwhL8IDPcpYwuHt0V/QhueDIjiPjbHXV7
I0kitYN15jxBfA/i40jtqooWLM2+IN3bGeGMr+xDHOsVVZCVbffreuULLkg4BJlo
nuofKVrS86BFqHOlt5Lqpw46KxAAmucfG23JmDZtxpqHLsHCTyjNv+uNlfM42CJe
ksjgQ09OyDjbYSDHIceLWHXeV0HrmB7tAx+Pd+/vPsMXj4/YyiO3d9cShMfGvdqg
zuKzkLEYhWCzvCuDHeEOLPCOooZ3a9vrCC7Zd/HG8PMjwY7lWOt54xkAfGbEXo24
EJGiK1uNCZHMFQtEbuH+yUnfpt/6xeQ65E90Mp2e4lRwli1RS8liyaZ6r/haslw8
2kGI7gmXVY99UUfQoR3HN9AGsfEzzJWSl9/vCi4PaToUdYawD/yvMsD3HZCl/aL+
9DiBuvQiLqoECD7mAxVo5kbbSbXG0V+AuQhgqtjD34MYwm94nbcIpfg5He5AS7aO
p2J6GREFvJ3IvVHzlGu9D8ARxN8d0YzqN9uQyKJEuJYOhhx6pgTiJkuJYVvUMCIF
LHIMHJUXZ605/w4=
=KU4m
-----END PGP SIGNATURE-----