[Pkg-haskell-maintainers] Bug#628302: gtk2hs-buildtools: FTBFS: Illegal bang-pattern (use -XBangPatterns)

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


Source: gtk2hs-buildtools
Version: 0.12.0-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:
>  /usr/bin/fakeroot debian/rules clean
> test -x debian/rules
> dh_testroot
> dh_clean 
> [ ! -x "debian/hlibrary.setup" ] || debian/hlibrary.setup clean
> rm -rf dist dist-ghc dist-hugs debian/hlibrary.setup Setup.hi Setup.ho Setup.o .*config*
> rm -f build-ghc-stamp build-hugs-stamp build-haddock-stamp
> rm -rf debian/tmp-inst-ghc
> rm -f debian/hlibrary.Makefile
> rm -rf debian/dh_haskell_shlibdeps
>  dpkg-source -b gtk2hs-buildtools-0.12.0
> dpkg-source: info: using source format `3.0 (quilt)'
> dpkg-source: info: building gtk2hs-buildtools using existing ./gtk2hs-buildtools_0.12.0.orig.tar.gz
> dpkg-source: warning: ignoring deletion of directory dist
> dpkg-source: warning: ignoring deletion of directory dist/build
> dpkg-source: warning: ignoring deletion of directory dist/build/gtk2hsC2hs
> dpkg-source: warning: ignoring deletion of directory dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp
> dpkg-source: warning: ignoring deletion of file dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CParser.hs
> dpkg-source: warning: ignoring deletion of file dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CLexer.hs
> dpkg-source: info: building gtk2hs-buildtools in gtk2hs-buildtools_0.12.0-1.debian.tar.gz
> dpkg-source: info: building gtk2hs-buildtools in gtk2hs-buildtools_0.12.0-1.dsc
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> /usr/share/cdbs/1/rules/buildcore.mk:109: WARNING:  DEB_COMPRESS_EXCLUDE is a deprecated variable
> if test ! -e Setup.lhs -a ! -e Setup.hs; then echo "No setup script found!"; exit 1; fi
> for setup in Setup.lhs Setup.hs; do if test -e $setup; then ghc --make $setup -o debian/hlibrary.setup; exit 0; fi; done
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking debian/hlibrary.setup ...
> debian/hlibrary.setup configure --ghc -v2 \
> 		--prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib \
> 		--builddir=dist-ghc \
> 		--haddockdir=/usr/lib/ghc-7.0.3/haddock/gtk2hs-buildtools-0.12.0/ \
> 		--htmldir=/usr/share/doc/libghc-gtk2hs-buildtools-doc/html/  \
> 		--datasubdir=gtk2hs-buildtools 
> Configuring gtk2hs-buildtools-0.12.0...
> Flags chosen: closuresignals=True
> Dependency array -any: using array-0.3.0.2
> Dependency base ==4.*: using base-4.3.1.0
> Dependency containers -any: using containers-0.4.0.0
> Dependency directory -any: using directory-1.1.0.0
> Dependency filepath -any: using filepath-1.2.0.0
> Dependency haskell98 -any: using haskell98-1.1.0.1
> Dependency pretty -any: using pretty-1.0.1.2
> Dependency process -any: using process-1.0.1.5
> Using Cabal-1.10.1.0 compiled by ghc-7.0
> Using compiler: ghc-7.0.3
> Using install prefix: /usr
> Binaries installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/gtk2hs-buildtools-0.12.0/ghc-7.0.3
> Private binaries installed in: /usr/libexec
> Data files installed in: /usr/share/gtk2hs-buildtools
> Documentation installed in: /usr/share/doc/gtk2hs-buildtools-0.12.0
> Using alex version 2.3.5 found on system at: /usr/bin/alex
> Using ar found on system at: /usr/bin/ar
> No c2hs found
> No cpphs found
> No ffihugs found
> Using gcc version 4.6.1 found on system at: /usr/bin/gcc
> Using ghc version 7.0.3 found on system at: /usr/bin/ghc
> Using ghc-pkg version 7.0.3 found on system at: /usr/bin/ghc-pkg
> No greencard found
> Using haddock version 2.9.2 found on system at: /usr/bin/haddock
> Using happy version 1.18.6 found on system at: /usr/bin/happy
> No hmake found
> Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
> Using hscolour version 1.17 found on system at: /usr/bin/HsColour
> No hugs found
> No jhc found
> Using ld found on system at: /usr/bin/ld
> No lhc found
> No lhc-pkg found
> No nhc98 found
> No pkg-config found
> Using ranlib found on system at: /usr/bin/ranlib
> Using strip found on system at: /usr/bin/strip
> Using tar found on system at: /bin/tar
> No uhc found
> debian/hlibrary.setup build --builddir=dist-ghc
> Preprocessing executables for gtk2hs-buildtools-0.12.0...
> Building gtk2hs-buildtools-0.12.0...
> [1 of 2] Compiling Paths_gtk2hs_buildtools ( dist-ghc/build/autogen/Paths_gtk2hs_buildtools.hs, dist-ghc/build/gtk2hsTypeGen/gtk2hsTypeGen-tmp/Paths_gtk2hs_buildtools.o )
> [2 of 2] Compiling Main             ( hierarchyGen/TypeGen.hs, dist-ghc/build/gtk2hsTypeGen/gtk2hsTypeGen-tmp/Main.o )
> Linking dist-ghc/build/gtk2hsTypeGen/gtk2hsTypeGen ...
> [1 of 2] Compiling Paths_gtk2hs_buildtools ( dist-ghc/build/autogen/Paths_gtk2hs_buildtools.hs, dist-ghc/build/gtk2hsHookGenerator/gtk2hsHookGenerator-tmp/Paths_gtk2hs_buildtools.o )
> [2 of 2] Compiling Main             ( callbackGen/HookGenerator.hs, dist-ghc/build/gtk2hsHookGenerator/gtk2hsHookGenerator-tmp/Main.o )
> Linking dist-ghc/build/gtk2hsHookGenerator/gtk2hsHookGenerator ...
> [ 1 of 41] Compiling DLists           ( c2hs/base/general/DLists.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/DLists.o )
> 
> c2hs/base/general/Binary.hs:1:12:
>     Warning: -fglasgow-exts is deprecated: Use individual extensions instead
> 
> c2hs/base/general/FastMutInt.hs:1:12:
>     Warning: -fglasgow-exts is deprecated: Use individual extensions instead
> [ 2 of 41] Compiling BaseVersion      ( c2hs/base/admin/BaseVersion.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/BaseVersion.o )
> [ 3 of 41] Compiling Switches         ( c2hs/state/Switches.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Switches.o )
> [ 4 of 41] Compiling Map              ( c2hs/base/general/Map.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Map.o )
> [ 5 of 41] Compiling FastMutInt       ( c2hs/base/general/FastMutInt.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/FastMutInt.o )
> 
> c2hs/base/general/FastMutInt.hs:15:1:
>     Warning: Module `GHC.IOBase' is deprecated: use GHC.IO instead
> [ 6 of 41] Compiling Config           ( c2hs/base/admin/Config.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Config.o )
> [ 7 of 41] Compiling C2HSConfig       ( c2hs/toplevel/C2HSConfig.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/C2HSConfig.o )
> [ 8 of 41] Compiling CInfo            ( c2hs/gen/CInfo.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CInfo.o )
> [ 9 of 41] Compiling Version          ( c2hs/toplevel/Version.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Version.o )
> [10 of 41] Compiling Binary           ( c2hs/base/general/Binary.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Binary.o )
> 
> c2hs/base/general/Binary.hs:78:1:
>     Warning: Module `Control.OldException' is deprecated:
>                Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.
> 
> c2hs/base/general/Binary.hs:85:1:
>     Warning: Module `GHC.IOBase' is deprecated: use GHC.IO instead
> [11 of 41] Compiling Position         ( c2hs/base/general/Position.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Position.o )
> [12 of 41] Compiling UNames           ( c2hs/base/general/UNames.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/UNames.o )
> [13 of 41] Compiling Errors           ( c2hs/base/errors/Errors.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Errors.o )
> [14 of 41] Compiling Attributes       ( c2hs/base/syms/Attributes.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Attributes.o )
> [15 of 41] Compiling Idents           ( c2hs/base/syms/Idents.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Idents.o )
> [16 of 41] Compiling CTokens          ( c2hs/c/CTokens.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CTokens.o )
> [17 of 41] Compiling CAST             ( c2hs/c/CAST.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CAST.o )
> [18 of 41] Compiling CPretty          ( c2hs/c/CPretty.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CPretty.o )
> [19 of 41] Compiling Lexers           ( c2hs/base/syntax/Lexers.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Lexers.o )
> [20 of 41] Compiling StateTrans       ( c2hs/base/state/StateTrans.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/StateTrans.o )
> [21 of 41] Compiling StateBase        ( c2hs/base/state/StateBase.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/StateBase.o )
> [22 of 41] Compiling NameSpaces       ( c2hs/base/syms/NameSpaces.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/NameSpaces.o )
> [23 of 41] Compiling CAttrs           ( c2hs/c/CAttrs.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CAttrs.o )
> [24 of 41] Compiling CBuiltin         ( c2hs/c/CBuiltin.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CBuiltin.o )
> [25 of 41] Compiling CParserMonad     ( c2hs/c/CParserMonad.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CParserMonad.o )
> [26 of 41] Compiling CLexer           ( dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CLexer.hs, dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CLexer.o )
> 
> dist-ghc/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CLexer.hs:446:18:
>     Illegal bang-pattern (use -XBangPatterns):
>     ! (base)
> make: *** [build-ghc-stamp] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/28/gtk2hs-buildtools_0.12.0-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-haskell-maintainers mailing list