Bug#1006052: haskell-pango: FTBFS: hspango.i:1: (column 1) [FATAL] Lexical error! The character '#' does not fit here.

Lucas Nussbaum lucas at debian.org
Sat Feb 19 06:46:54 GMT 2022


Source: haskell-pango
Version: 0.13.8.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

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


Relevant part (hopefully):
>  debian/rules binary
> test -x debian/rules
> dh_testroot
> dh_prep 
> dh_installdirs -A 
> mkdir -p "."
> CDBS WARNING:    DEB_DH_STRIP_ARGS is deprecated since 0.4.85
> CDBS WARNING:    DEB_COMPRESS_EXCLUDE is deprecated since 0.4.85
> . /usr/share/haskell-devscripts/Dh_Haskell.sh && \
> make_setup_recipe
> Running ghc --make Setup.hs -o debian/hlibrary.setup
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking debian/hlibrary.setup ...
> . /usr/share/haskell-devscripts/Dh_Haskell.sh && \
> configure_recipe
> Running debian/hlibrary.setup configure --ghc -v2 --package-db=/var/lib/ghc/package.conf.d --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib --libexecdir=/usr/lib --builddir=dist-ghc --ghc-option=-optl-Wl\,-z\,relro --haddockdir=/usr/lib/ghc-doc/haddock/pango-0.13.8.1/ --datasubdir=pango --htmldir=/usr/share/doc/libghc-pango-doc/html/ --enable-library-profiling
> Using Parsec parser
> Configuring pango-0.13.8.1...
> Flags chosen: new-exception=True
> Dependency array -any: using array-0.5.4.0
> Dependency base ==4.*: using base-4.13.0.0
> Dependency cairo >=0.13.0.0 && <0.14: using cairo-0.13.8.1
> Dependency containers -any: using containers-0.6.2.1
> Dependency directory -any: using directory-1.3.6.0
> Dependency glib >=0.13.0.0 && <0.14: using glib-0.13.8.1
> Dependency mtl -any: using mtl-2.2.2
> Dependency pretty -any: using pretty-1.1.3.6
> Dependency process -any: using process-1.6.9.0
> Dependency text >=0.11.0.6 && <1.3: using text-1.2.4.0
> Dependency cairo ==1.2.0 || >1.2.0: using version 1.16.0
> Dependency pangocairo ==1.10 || >1.10: using version 1.50.4
> Dependency pango ==1.0 || >1.0: using version 1.50.4
> Source component graph: component lib
> Configured component graph:
>     component pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o
>         include array-0.5.4.0
>         include base-4.13.0.0
>         include cairo-0.13.8.1-9ROOXD4as1uLn8sCpDXiTi
>         include containers-0.6.2.1
>         include directory-1.3.6.0
>         include glib-0.13.8.1-CNR5m0GNdIe6FNxKsH4Wyx
>         include mtl-2.2.2
>         include pretty-1.1.3.6
>         include process-1.6.9.0
>         include text-1.2.4.0
> Linked component graph:
>     unit pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o
>         include array-0.5.4.0
>         include base-4.13.0.0
>         include cairo-0.13.8.1-9ROOXD4as1uLn8sCpDXiTi
>         include containers-0.6.2.1
>         include directory-1.3.6.0
>         include glib-0.13.8.1-CNR5m0GNdIe6FNxKsH4Wyx
>         include mtl-2.2.2
>         include pretty-1.1.3.6
>         include process-1.6.9.0
>         include text-1.2.4.0
>         Graphics.Rendering.Pango=pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o:Graphics.Rendering.Pango,Graphics.Rendering.Pango.Attributes=pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o:Graphics.Rendering.Pango.Attributes,Graphics.Rendering.Pango.BasicTypes=pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o:Graphics.Rendering.Pango.BasicTypes,Graphics.Rendering.Pango.Cairo=pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o:Graphics.Rendering.Pango.Cairo,Graphics.Rendering.Pango.Context=pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o:Graphics.Rendering.Pango.Context,Graphics.Rendering.Pango.Enums=pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o:Graphics.Rendering.Pango.Enums,Graphics.Rendering.Pango.Font=pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o:Graphics.Rendering.Pango.Font,Graphics.Rendering.Pango.Layout=pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o:Graphics.Rendering.Pango.Layout,Graphics.Rendering.Pango.Markup=pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o:Graphics.Rendering.Pango.Markup,Graphics.Rendering.Pango.Rendering=pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o:Graphics.Rendering.Pango.Rendering,Graphics.Rendering.Pango.Structs=pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o:Graphics.Rendering.Pango.Structs,Graphics.Rendering.Pango.Types=pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o:Graphics.Rendering.Pango.Types
> Ready component graph:
>     definite pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o
>         depends array-0.5.4.0
>         depends base-4.13.0.0
>         depends cairo-0.13.8.1-9ROOXD4as1uLn8sCpDXiTi
>         depends containers-0.6.2.1
>         depends directory-1.3.6.0
>         depends glib-0.13.8.1-CNR5m0GNdIe6FNxKsH4Wyx
>         depends mtl-2.2.2
>         depends pretty-1.1.3.6
>         depends process-1.6.9.0
>         depends text-1.2.4.0
> Using Cabal-3.0.1.0 compiled by ghc-8.8
> Using compiler: ghc-8.8.4
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.8.4/pango-0.13.8.1-J6ZPsrZFOIY2Xy7NzhFm7o
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.8.4
> Private executables installed in:
> /usr/lib/x86_64-linux-ghc-8.8.4/pango-0.13.8.1
> Data files installed in: /usr/share/pango
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-8.8.4/pango-0.13.8.1
> Configuration files installed in: /usr/etc
> No alex found
> Using ar found on system at: /usr/bin/x86_64-linux-gnu-ar
> No c2hs found
> No cpphs found
> No doctest found
> Using gcc version 11 found on system at: /usr/bin/x86_64-linux-gnu-gcc
> Using ghc version 8.8.4 found on system at: /usr/bin/ghc
> Using ghc-pkg version 8.8.4 found on system at: /usr/bin/ghc-pkg
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using gtk2hsC2hs version 0.13.13 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.23.0 found on system at: /usr/bin/haddock
> No happy found
> Using haskell-suite found on system at: haskell-suite-dummy-location
> Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
> No hmake found
> Using hpc version 0.67 found on system at: /usr/bin/hpc
> Using hsc2hs version 0.68.7 found on system at: /usr/bin/hsc2hs
> Using hscolour version 1.24 found on system at: /usr/bin/HsColour
> No jhc found
> Using ld found on system at: /usr/bin/x86_64-linux-gnu-ld.gold
> Using pkg-config version 0.29.2 found on system at: /usr/bin/pkg-config
> Using runghc version 8.8.4 found on system at: /usr/bin/runghc
> Using strip version 2.38 found on system at: /usr/bin/strip
> Using tar found on system at: /bin/tar
> No uhc found
> /usr/bin/pkg-config --modversion cairo
> /usr/bin/pkg-config --modversion pangocairo
> /usr/bin/pkg-config --modversion pango
> creating dist-ghc/build/global-autogen
> /usr/bin/pkg-config --modversion cairo
> /usr/bin/pkg-config --modversion pangocairo
> /usr/bin/pkg-config --modversion pango
> Ensuring that class hierarchy in Graphics/Rendering/Pango/Types.chs is
> up-to-date.
> touch configure-ghc-stamp
> . /usr/share/haskell-devscripts/Dh_Haskell.sh && \
> build_recipe
> Running debian/hlibrary.setup build --builddir=dist-ghc
> Preprocessing library for pango-0.13.8.1..
> hlibrary.setup: Error in C header file.
> 
> hspango.i:1: (column 1) [FATAL] 
>   >>> Lexical error!
>   The character '#' does not fit here.
> 
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:147: build-ghc-stamp] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/02/18/haskell-pango_0.13.8.1-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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-haskell-maintainers mailing list