Bug#897542: raincat: FTBFS: Could not find module `Item.Items'

2018-05-16 Thread Markus Koschany
Control: tags -1 pending

I still can't upgrade to the new SDL2 version of raincat because
haskell-mixer-sdl2 and haskell-image-sdl2 or similar packages are
currently not available in Debian.

However the fix seems to be trivial. The import statement is wrong and
should be Items.Items instead of Item.Items. No idea how this could work
in the past.

Markus



signature.asc
Description: OpenPGP digital signature


Bug#897542: raincat: FTBFS: Could not find module `Item.Items'

2018-05-07 Thread Markus Koschany
I have pushed an update of raincat to

https://salsa.debian.org/games-team/raincat

I believe the new upstream release will address this issue but even if
not it should be doable to fix this.

I'm currently waiting for haskell-sdl2 which is in the NEW queue.

Markus



signature.asc
Description: OpenPGP digital signature


Bug#897542: raincat: FTBFS: Could not find module `Item.Items'

2018-05-02 Thread Lucas Nussbaum
Source: raincat
Version: 1.1.1.2-3
Severity: serious
Tags: buster sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20180502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<>'
> ./Setup build
> Preprocessing executable 'raincat' for Raincat-1.1.1.2..
> Building executable 'raincat' for Raincat-1.1.1.2..
> 
> : warning: [-Wmissing-home-modules]
> These modules are needed for compilation but not listed in your .cabal 
> file's other-modules: Paths_Raincat
> [ 1 of 34] Compiling Error.Error  ( src/Error/Error.hs, 
> dist/build/raincat/raincat-tmp/Error/Error.o )
> 
> src/Error/Error.hs:6:1: warning: [-Wdeprecations]
> Module `Control.Monad.Error' is deprecated:
>   Use "Control.Monad.Except" instead
>   |
> 6 | import Control.Monad.Error
>   | ^^
> 
> src/Error/Error.hs:14:10: warning: [-Wdeprecations]
> In the use of type constructor or class `Error'
> (imported from Control.Monad.Error, but defined in 
> transformers-0.5.2.0:Control.Monad.Trans.Error):
> Deprecated: "Use Control.Monad.Trans.Except instead"
>|
> 14 | instance Error RaincatError where
>|  ^
> 
> src/Error/Error.hs:14:10: warning: [-Wdeprecations]
> In the use of type constructor or class `Error'
> (imported from Control.Monad.Error, but defined in 
> transformers-0.5.2.0:Control.Monad.Trans.Error):
> Deprecated: "Use Control.Monad.Trans.Except instead"
>|
> 14 | instance Error RaincatError where
>|  ^
> [ 2 of 34] Compiling Game.GameState   ( src/Game/GameState.hs, 
> dist/build/raincat/raincat-tmp/Game/GameState.o )
> [ 3 of 34] Compiling Nxt.Audio( src/Nxt/Audio.hs, 
> dist/build/raincat/raincat-tmp/Nxt/Audio.o )
> [ 4 of 34] Compiling Nxt.Input( src/Nxt/Input.hs, 
> dist/build/raincat/raincat-tmp/Nxt/Input.o )
> 
> src/Nxt/Input.hs:6:19: warning: [-Wunused-top-binds]
> Defined but not used: data constructor `InputState'
>   |
> 6 | data InputState = InputState
>   |   ^^...
> 
> src/Nxt/Input.hs:8:9: warning: [-Wunused-top-binds]
> Defined but not used: `up'
>   |
> 8 | up  :: Bool,
>   | ^^
> 
> src/Nxt/Input.hs:9:9: warning: [-Wunused-top-binds]
> Defined but not used: `left'
>   |
> 9 | left:: Bool,
>   | 
> 
> src/Nxt/Input.hs:10:9: warning: [-Wunused-top-binds]
> Defined but not used: `down'
>|
> 10 | down:: Bool,
>| 
> 
> src/Nxt/Input.hs:11:9: warning: [-Wunused-top-binds]
> Defined but not used: `right'
>|
> 11 | right   :: Bool
>| ^
> [ 5 of 34] Compiling Nxt.Types( src/Nxt/Types.hs, 
> dist/build/raincat/raincat-tmp/Nxt/Types.o )
> [ 6 of 34] Compiling Nxt.Graphics ( src/Nxt/Graphics.hs, 
> dist/build/raincat/raincat-tmp/Nxt/Graphics.o )
> [ 7 of 34] Compiling Panels.MessagePanel ( src/Panels/MessagePanel.hs, 
> dist/build/raincat/raincat-tmp/Panels/MessagePanel.o )
> [ 8 of 34] Compiling Paths_Raincat( 
> dist/build/raincat/autogen/Paths_Raincat.hs, 
> dist/build/raincat/raincat-tmp/Paths_Raincat.o )
> [ 9 of 34] Compiling Settings.CatSettings ( src/Settings/CatSettings.hs, 
> dist/build/raincat/raincat-tmp/Settings/CatSettings.o )
> [10 of 34] Compiling Settings.DisplaySettings ( 
> src/Settings/DisplaySettings.hs, 
> dist/build/raincat/raincat-tmp/Settings/DisplaySettings.o )
> [11 of 34] Compiling Level.Level  ( src/Level/Level.hs, 
> dist/build/raincat/raincat-tmp/Level/Level.o )
> [12 of 34] Compiling Input.InputState ( src/Input/InputState.hs, 
> dist/build/raincat/raincat-tmp/Input/InputState.o )
> [13 of 34] Compiling Game.GameInput   ( src/Game/GameInput.hs, 
> dist/build/raincat/raincat-tmp/Game/GameInput.o )
> [14 of 34] Compiling Settings.Path( src/Settings/Path.hs, 
> dist/build/raincat/raincat-tmp/Settings/Path.o )
> [15 of 34] Compiling Level.EndMarker  ( src/Level/EndMarker.hs, 
> dist/build/raincat/raincat-tmp/Level/EndMarker.o )
> [16 of 34] Compiling Cat.Cat  ( src/Cat/Cat.hs, 
> dist/build/raincat/raincat-tmp/Cat/Cat.o )
> [17 of 34] Compiling Items.Items  ( src/Items/Items.hs, 
> dist/build/raincat/raincat-tmp/Items/Items.o )
> [18 of 34] Compiling Panels.ItemPanel ( src/Panels/ItemPanel.hs, 
> dist/build/raincat/raincat-tmp/Panels/ItemPanel.o )
> [19 of 34] Compiling Items.ItemEffects ( src/Items/ItemEffects.hs, 
> dist/build/raincat/raincat-tmp/Items/ItemEffects.o )
> [20 of 34] Compiling Settings.RainSettings ( src/Settings/RainSettings.hs, 
> dist/build/raincat/raincat-tmp/Settings/RainSettings.o )
> [21 of 34] Compiling Settings.WorldSettings ( src/Settings/WorldSettings.hs, 
> dist/build/raincat/raincat-tmp/Settings/WorldSettings.o )
> [22 of 34] Compiling Settings.UISettings ( src/Settings/UISettings.hs, 
> dist/build/raincat/raincat-tmp/Settings/UISettings.o )