Bug#1086311: raincat: FTBFS: Could not find module ‘Control.Monad.Error’
Santiago Vila
sanvila at debian.org
Tue Oct 29 20:05:17 GMT 2024
Package: src:raincat
Version: 1.2.1-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ghc --make Setup
[1 of 2] Compiling Main ( Setup.lhs, Setup.o )
[2 of 2] Linking Setup
./Setup configure --datadir=/usr/share/games/raincat --datasubdir=
Warning: Raincat.cabal:41:27: empty FilePath
Configuring Raincat-1.2.1...
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./Setup build
Preprocessing executable 'raincat' for Raincat-1.2.1..
Building executable 'raincat' for Raincat-1.2.1..
[ 1 of 32] Compiling Error.Error ( src/Error/Error.hs, dist/build/raincat/raincat-tmp/Error/Error.o )
src/Error/Error.hs:6:1: error:
Could not find module ‘Control.Monad.Error’
Perhaps you meant
Control.Monad.Co (needs flag -package-id kan-extensions-5.2.6)
Control.Monad.Free (needs flag -package-id free-5.2)
Control.Monad.Trans (from mtl-2.3.1)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
6 | import Control.Monad.Error
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 2 of 32] Compiling Game.GameState ( src/Game/GameState.hs, dist/build/raincat/raincat-tmp/Game/GameState.o )
[ 3 of 32] Compiling Nxt.Audio ( src/Nxt/Audio.hs, dist/build/raincat/raincat-tmp/Nxt/Audio.o )
[ 4 of 32] Compiling Nxt.Types ( src/Nxt/Types.hs, dist/build/raincat/raincat-tmp/Nxt/Types.o )
[ 5 of 32] Compiling Nxt.Graphics ( src/Nxt/Graphics.hs, dist/build/raincat/raincat-tmp/Nxt/Graphics.o )
[ 6 of 32] Compiling Panels.MessagePanel ( src/Panels/MessagePanel.hs, dist/build/raincat/raincat-tmp/Panels/MessagePanel.o )
[ 7 of 32] Compiling Paths_Raincat ( dist/build/raincat/autogen/Paths_Raincat.hs, dist/build/raincat/raincat-tmp/Paths_Raincat.o )
[ 8 of 32] Compiling Settings.CatSettings ( src/Settings/CatSettings.hs, dist/build/raincat/raincat-tmp/Settings/CatSettings.o )
[ 9 of 32] Compiling Settings.DisplaySettings ( src/Settings/DisplaySettings.hs, dist/build/raincat/raincat-tmp/Settings/DisplaySettings.o )
[11 of 32] Compiling Input.InputState ( src/Input/InputState.hs, dist/build/raincat/raincat-tmp/Input/InputState.o )
[12 of 32] Compiling Game.GameInput ( src/Game/GameInput.hs, dist/build/raincat/raincat-tmp/Game/GameInput.o )
[13 of 32] Compiling Settings.Path ( src/Settings/Path.hs, dist/build/raincat/raincat-tmp/Settings/Path.o )
[14 of 32] Compiling Level.EndMarker ( src/Level/EndMarker.hs, dist/build/raincat/raincat-tmp/Level/EndMarker.o )
[15 of 32] Compiling Cat.Cat ( src/Cat/Cat.hs, dist/build/raincat/raincat-tmp/Cat/Cat.o )
[16 of 32] Compiling Items.Items ( src/Items/Items.hs, dist/build/raincat/raincat-tmp/Items/Items.o )
[17 of 32] Compiling Panels.ItemPanel ( src/Panels/ItemPanel.hs, dist/build/raincat/raincat-tmp/Panels/ItemPanel.o )
[18 of 32] Compiling Items.ItemEffects ( src/Items/ItemEffects.hs, dist/build/raincat/raincat-tmp/Items/ItemEffects.o )
[19 of 32] Compiling Settings.RainSettings ( src/Settings/RainSettings.hs, dist/build/raincat/raincat-tmp/Settings/RainSettings.o )
[20 of 32] Compiling Settings.WorldSettings ( src/Settings/WorldSettings.hs, dist/build/raincat/raincat-tmp/Settings/WorldSettings.o )
[21 of 32] Compiling Settings.UISettings ( src/Settings/UISettings.hs, dist/build/raincat/raincat-tmp/Settings/UISettings.o )
[22 of 32] Compiling Level.FireHydrant ( src/Level/FireHydrant.hs, dist/build/raincat/raincat-tmp/Level/FireHydrant.o )
[23 of 32] Compiling Panels.MainPanel ( src/Panels/MainPanel.hs, dist/build/raincat/raincat-tmp/Panels/MainPanel.o )
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202410/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Pkg-games-devel
mailing list