[Pkg-haskell-maintainers] Bug#672064: haskell-gtksourceview2: FTBFS: dist-ghc/build/Graphics/UI/Gtk/SourceView/Types.h:1:28: fatal error: gtksourceview2.h: No such file or directory

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue May 8 11:38:30 UTC 2012


Source: haskell-gtksourceview2
Version: 0.12.3-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120508 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
>  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 2] Compiling SetupWrapper     ( SetupWrapper.hs, SetupWrapper.o )
> [2 of 2] 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-doc/haddock/gtksourceview2-0.12.3/ \
> 		--htmldir=/usr/share/doc/libghc-gtksourceview2-doc/html/ --enable-library-profiling  \
> 		   
> [1 of 2] Compiling Gtk2HsSetup      ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o )
> [2 of 2] Compiling Main             ( SetupMain.hs, dist/setup-wrapper/Main.o )
> Linking dist/setup-wrapper/setup ...
> Configuring gtksourceview2-0.12.3...
> Dependency base ==4.*: using base-4.5.0.0
> Dependency glib ==0.12.*: using glib-0.12.2
> Dependency gtk ==0.12.*: using gtk-0.12.3
> Dependency mtl -any: using mtl-2.0.1.0
> Dependency gtksourceview-2.0 >=2.0.2: using version 2.10.4
> Using Cabal-1.14.0 compiled by ghc-7.4
> Using compiler: ghc-7.4.1
> Using install prefix: /usr
> Binaries installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/gtksourceview2-0.12.3/ghc-7.4.1
> Private binaries installed in: /usr/libexec
> Data files installed in: /usr/share/gtksourceview2-0.12.3
> Documentation installed in: /usr/share/doc/gtksourceview2-0.12.3
> No alex found
> Using ar found on system at: /usr/bin/ar
> No c2hs found
> No cpphs found
> No ffihugs found
> Using gcc version 4.7 found on system at: /usr/bin/gcc
> Using ghc version 7.4.1 found on system at: /usr/bin/ghc
> Using ghc-pkg version 7.4.1 found on system at: /usr/bin/ghc-pkg
> No greencard found
> Using gtk2hsC2hs version 0.13.5 found on system at: /usr/bin/gtk2hsC2hs
> Using gtk2hsHookGenerator found on system at: /usr/bin/gtk2hsHookGenerator
> Using gtk2hsTypeGen found on system at: /usr/bin/gtk2hsTypeGen
> Using haddock version 2.10.0 found on system at: /usr/bin/haddock
> No happy found
> No hmake found
> Using hpc version 0.6 found on system at: /usr/bin/hpc
> Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
> Using hscolour version 1.19 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
> Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
> 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
> /usr/bin/pkg-config --modversion gtksourceview-2.0
> Ensuring that class hierarchy in Graphics/UI/Gtk/SourceView/Types.chs is
> up-to-date.
> /usr/bin/gtk2hsTypeGen --tag=gtksourceview2 --modname=Graphics.UI.Gtk.SourceView.Types --forward=*Graphics.UI.GtkInternals --destructor=objectUnrefFromMainloop --hierarchy=hierarchy.list --tag=gtksourceview --tag=gtksourceview-2.0 --tag=gtksourceview-2.2 --tag=gtksourceview-2.4 --tag=gtksourceview-2.6 --tag=gtksourceview-2.8 --tag=gtksourceview-2.10
> Ensuring that callback hooks in Graphics/UI/Gtk/SourceView/Signals.chs are
> up-to-date.
> /usr/bin/gtk2hsHookGenerator --modname=Graphics.UI.Gtk.SourceView.Signals --types=marshal.list
> debian/hlibrary.setup build --builddir=dist-ghc
> Building gtksourceview2-0.12.3...
> Preprocessing library gtksourceview2-0.12.3...
> dist-ghc/build/Graphics/UI/Gtk/SourceView/Types.h:1:28: fatal error: gtksourceview2.h: No such file or directory
> compilation terminated.
> gtk2hsC2hs: Error during preprocessing custom header file
> make: *** [build-ghc-stamp] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/08/haskell-gtksourceview2_0.12.3-1_unstable.log

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.





More information about the Pkg-haskell-maintainers mailing list