Bug#628334: raincat: FTBFS: The main function `main' is not exported by module `Main'

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat May 28 14:15:15 UTC 2011


Source: raincat
Version: 1.1-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110528 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> make[1]: Entering directory `/build/user-raincat_1.1-1-amd64-JvJH_z/raincat-1.1'
> QUILT_PATCHES=debian/patches \
> 		quilt --quiltrc /dev/null push -a || test $? = 2
> Applying patch path.patch
> patching file src/Settings/Path.hs
> 
> Now at patch path.patch
> touch debian/stamp-patched
> make[1]: Leaving directory `/build/user-raincat_1.1-1-amd64-JvJH_z/raincat-1.1'
> cd debian; for f in *.sng; do sng "$f"; done
> touch config-stamp
> dh_testdir
> cd src && ghc -O --make Main.hs
> [ 1 of 30] Compiling Settings.RainSettings ( Settings/RainSettings.hs, Settings/RainSettings.o )
> [ 2 of 30] Compiling Panels.MessagePanel ( Panels/MessagePanel.hs, Panels/MessagePanel.o )
> [ 3 of 30] Compiling Settings.WorldSettings ( Settings/WorldSettings.hs, Settings/WorldSettings.o )
> [ 4 of 30] Compiling Settings.Path    ( Settings/Path.hs, Settings/Path.o )
> [ 5 of 30] Compiling Nxt.Types        ( Nxt/Types.hs, Nxt/Types.o )
> [ 6 of 30] Compiling Settings.CatSettings ( Settings/CatSettings.hs, Settings/CatSettings.o )
> [ 7 of 30] Compiling Game.GameState   ( Game/GameState.hs, Game/GameState.o )
> [ 8 of 30] Compiling Nxt.Audio        ( Nxt/Audio.hs, Nxt/Audio.o )
> [ 9 of 30] Compiling Nxt.Graphics     ( Nxt/Graphics.hs, Nxt/Graphics.o )
> [10 of 30] Compiling Cat.Cat          ( Cat/Cat.hs, Cat/Cat.o )
> [11 of 30] Compiling Level.EndMarker  ( Level/EndMarker.hs, Level/EndMarker.o )
> [12 of 30] Compiling Level.FireHydrant ( Level/FireHydrant.hs, Level/FireHydrant.o )
> [13 of 30] Compiling Settings.DisplaySettings ( Settings/DisplaySettings.hs, Settings/DisplaySettings.o )
> [14 of 30] Compiling Input.InputState ( Input/InputState.hs, Input/InputState.o )
> [15 of 30] Compiling Items.Items      ( Items/Items.hs, Items/Items.o )
> [16 of 30] Compiling Panels.MainPanel ( Panels/MainPanel.hs, Panels/MainPanel.o )
> [17 of 30] Compiling Panels.ItemPanel ( Panels/ItemPanel.hs, Panels/ItemPanel.o )
> [18 of 30] Compiling Items.ItemEffects ( Items/ItemEffects.hs, Items/ItemEffects.o )
> [19 of 30] Compiling Level.Level      ( Level/Level.hs, Level/Level.o )
> [20 of 30] Compiling Settings.UISettings ( Settings/UISettings.hs, Settings/UISettings.o )
> [21 of 30] Compiling World.World      ( World/World.hs, World/World.o )
> [22 of 30] Compiling Rain.Rain        ( Rain/Rain.hs, Rain/Rain.o )
> [23 of 30] Compiling Game.GameGraphics ( Game/GameGraphics.hs, Game/GameGraphics.o )
> [24 of 30] Compiling Game.GameInit    ( Game/GameInit.hs, Game/GameInit.o )
> [25 of 30] Compiling Game.GameMain    ( Game/GameMain.hs, Game/GameMain.o )
> [26 of 30] Compiling Menu.Menu        ( Menu/Menu.hs, Menu/Menu.o )
> [27 of 30] Compiling Menu.PostVictory ( Menu/PostVictory.hs, Menu/PostVictory.o )
> [28 of 30] Compiling Program.Program  ( Program/Program.hs, Program/Program.o )
> [29 of 30] Compiling Game.GameInput   ( Game/GameInput.hs, Game/GameInput.o )
> 
> Game/GameInput.hs:6:1:
>     Warning: Module `Control.OldException' is deprecated:
>                Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.
> 
> Game/GameInput.hs:6:1:
>     Warning: In the use of data constructor `ExitException'
>              (imported from Control.OldException):
>              Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
> [30 of 30] Compiling Main             ( Main.hs, Main.o )
> 
> Main.hs:1:1:
>     The main function `main' is not exported by module `Main'
> make: *** [build-stamp] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/28/raincat_1.1-1_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-games-devel mailing list