Bug#1069503: haskell-gtk-strut: FTBFS on armhf: make: *** [/usr/share/cdbs/1/class/hlibrary.mk:170: build-haddock-stamp] Error 1

Lucas Nussbaum lucas at debian.org
Sat Apr 20 14:11:20 BST 2024


Source: haskell-gtk-strut
Version: 0.1.3.2-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240420 ftbfs-trixie ftbfs-t64-armhf

Hi,

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


Relevant part (hopefully):
>  fakeroot 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
> Adding cdbs dependencies to debian/libghc-gtk-strut-doc.substvars
> dh_installdirs -plibghc-gtk-strut-doc \
> 	
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'make_setup_recipe'
> Running ghc --make Setup.hs -o debian/hlibrary.setup
> [1 of 2] Compiling Main             ( Setup.hs, Setup.o )
> [2 of 2] Linking debian/hlibrary.setup
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'configure_recipe'
> Running find . ! -newer /tmp/XnuZS5Mtno -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> libghc-gtk-strut-dev
> libghc-gtk-strut-prof
> libghc-gtk-strut-doc
> Running dh_listpackages
> libghc-gtk-strut-dev
> libghc-gtk-strut-prof
> libghc-gtk-strut-doc
> Running dpkg-buildflags --get LDFLAGS
> -Wl,-z,relro
> 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/gtk-strut-0.1.3.2/ --datasubdir=gtk-strut --htmldir=/usr/share/doc/libghc-gtk-strut-doc/html/ --enable-library-profiling
> Using Parsec parser
> Configuring gtk-strut-0.1.3.2...
> Dependency base >=4.7 && <5: using base-4.17.2.0
> Dependency data-default: using data-default-0.7.1.1
> Dependency gi-gdk >=3.0.25 && <4: using gi-gdk-3.0.28
> Dependency gi-gtk >=3.0.38 && <4: using gi-gtk-3.0.41
> Dependency hslogger: using hslogger-1.3.1.0
> Dependency text: using text-2.0.2
> Dependency transformers: using transformers-0.5.6.2
> Source component graph: component lib
> Configured component graph:
>     component gtk-strut-0.1.3.2-rE7vmrEijuZPfVoPMmBo
>         include base-4.17.2.0
>         include data-default-0.7.1.1-4TeAZDN81Uu1IorgFaPMOc
>         include gi-gdk-3.0.28-89CSgrkJIuCFjH4ZKiJGtd
>         include gi-gtk-3.0.41-Gc1BXOsaBV9ASBI6GEqeMF
>         include hslogger-1.3.1.0-FviSSUEF0qgLcxWW1gLUJE
>         include text-2.0.2
>         include transformers-0.5.6.2
> Linked component graph:
>     unit gtk-strut-0.1.3.2-rE7vmrEijuZPfVoPMmBo
>         include base-4.17.2.0
>         include data-default-0.7.1.1-4TeAZDN81Uu1IorgFaPMOc
>         include gi-gdk-3.0.28-89CSgrkJIuCFjH4ZKiJGtd
>         include gi-gtk-3.0.41-Gc1BXOsaBV9ASBI6GEqeMF
>         include hslogger-1.3.1.0-FviSSUEF0qgLcxWW1gLUJE
>         include text-2.0.2
>         include transformers-0.5.6.2
>         Graphics.UI.GIGtkStrut=gtk-strut-0.1.3.2-rE7vmrEijuZPfVoPMmBo:Graphics.UI.GIGtkStrut
> Ready component graph:
>     definite gtk-strut-0.1.3.2-rE7vmrEijuZPfVoPMmBo
>         depends base-4.17.2.0
>         depends data-default-0.7.1.1-4TeAZDN81Uu1IorgFaPMOc
>         depends gi-gdk-3.0.28-89CSgrkJIuCFjH4ZKiJGtd
>         depends gi-gtk-3.0.41-Gc1BXOsaBV9ASBI6GEqeMF
>         depends hslogger-1.3.1.0-FviSSUEF0qgLcxWW1gLUJE
>         depends text-2.0.2
>         depends transformers-0.5.6.2
> Using Cabal-3.8.1.0 compiled by ghc-9.4
> Using compiler: ghc-9.4.7
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/arm-linux-ghc-9.4.7/gtk-strut-0.1.3.2-rE7vmrEijuZPfVoPMmBo
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/arm-linux-ghc-9.4.7
> Private executables installed in:
> /usr/lib/arm-linux-ghc-9.4.7/gtk-strut-0.1.3.2
> Data files installed in: /usr/share/gtk-strut
> Documentation installed in:
> /usr/share/doc/arm-linux-ghc-9.4.7/gtk-strut-0.1.3.2
> Configuration files installed in: /usr/etc
> No alex found
> Using ar found on system at: /usr/bin/arm-linux-gnueabihf-ar
> No c2hs found
> No cpphs found
> No doctest found
> Using gcc version 13 found on system at: /usr/bin/arm-linux-gnueabihf-gcc
> Using ghc version 9.4.7 found on system at: /usr/bin/ghc
> Using ghc-pkg version 9.4.7 found on system at: /usr/bin/ghc-pkg-9.4.7
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using haddock version 2.27.0 found on system at: /usr/bin/haddock-ghc-9.4.7
> 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.68 found on system at: /usr/bin/hpc-ghc-9.4.7
> Using hsc2hs version 0.68.8 found on system at: /usr/bin/hsc2hs-ghc-9.4.7
> No hscolour found
> No jhc found
> Using ld found on system at: /usr/bin/arm-linux-gnueabihf-ld.gold
> Using pkg-config version 1.8.1 found on system at: /usr/bin/pkg-config
> Using runghc version 9.4.7 found on system at: /usr/bin/runghc-9.4.7
> Using strip version 2.42 found on system at: /usr/bin/strip
> Using tar found on system at: /usr/bin/tar
> No uhc found
> touch configure-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'build_recipe'
> Running dh_listpackages
> libghc-gtk-strut-dev
> libghc-gtk-strut-prof
> libghc-gtk-strut-doc
> Preprocessing library for gtk-strut-0.1.3.2..
> Building library for gtk-strut-0.1.3.2..
> [1 of 2] Compiling Graphics.UI.EWMHStrut ( src/Graphics/UI/EWMHStrut.hs, dist-ghc/build/Graphics/UI/EWMHStrut.o, dist-ghc/build/Graphics/UI/EWMHStrut.dyn_o )
> [2 of 2] Compiling Graphics.UI.GIGtkStrut ( src/Graphics/UI/GIGtkStrut.hs, dist-ghc/build/Graphics/UI/GIGtkStrut.o, dist-ghc/build/Graphics/UI/GIGtkStrut.dyn_o )
> [1 of 2] Compiling Graphics.UI.EWMHStrut ( src/Graphics/UI/EWMHStrut.hs, dist-ghc/build/Graphics/UI/EWMHStrut.p_o )
> [2 of 2] Compiling Graphics.UI.GIGtkStrut ( src/Graphics/UI/GIGtkStrut.hs, dist-ghc/build/Graphics/UI/GIGtkStrut.p_o )
> touch build-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'check_recipe'
> DEB_ENABLE_TESTS not set to yes, not running any build-time tests.
> touch check-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'haddock_recipe'
> Running dh_listpackages
> libghc-gtk-strut-dev
> libghc-gtk-strut-prof
> libghc-gtk-strut-doc
> Running debian/hlibrary.setup haddock --builddir=dist-ghc --with-haddock=/usr/bin/haddock --with-ghc=ghc --verbose=2 --html --hoogle --haddock-options="--mathjax=file:///usr/share/javascript/mathjax/MathJax.js" --hyperlink-source
> Non-zero exit code 1.
> /usr/bin/haddock --version
> /usr/bin/ghc --numeric-version
> /usr/bin/haddock --ghc-version '--mathjax=file:///usr/share/javascript/mathjax/MathJax.js'
> /usr/bin/ghc --print-libdir
> /usr/bin/ghc-pkg-9.4.7 init dist-ghc/package.conf.inplace
> creating dist-ghc/build
> creating dist-ghc/build/autogen
> creating dist-ghc/build/autogen
> Preprocessing library for gtk-strut-0.1.3.2..
> Running Haddock on library for gtk-strut-0.1.3.2..
> creating dist-ghc/doc/html/gtk-strut
> creating dist-ghc/doc/html
> creating dist-ghc/doc
> creating dist-ghc/doc/html
> creating dist-ghc/doc/html/gtk-strut
> /usr/bin/haddock '@dist-ghc/doc/html/gtk-strut/haddock-response1799729-1.txt' '--mathjax=file:///usr/share/javascript/mathjax/MathJax.js'
>   25% (  2 /  8) in 'Graphics.UI.GIGtkStrut'
>   Missing documentation for:
>     Module header
>     defaultStrutConfig (src/Graphics/UI/GIGtkStrut.hs:52)
>     StrutPosition (src/Graphics/UI/GIGtkStrut.hs:29)
>     StrutSize (src/Graphics/UI/GIGtkStrut.hs:37)
>     StrutAlignment (src/Graphics/UI/GIGtkStrut.hs:33)
>     StrutConfig (src/Graphics/UI/GIGtkStrut.hs:41)
> panic! (the 'impossible' happened)
>   GHC version 9.4.7:
> 	tyThingTyCon
> 
> Coercion axiom `ManagedPtrNewtype'
> Call stack:
>     CallStack (from HasCallStack):
>       callStackDoc, called at compiler/GHC/Utils/Panic.hs:182:37 in ghc:GHC.Utils.Panic
>       pprPanic, called at compiler/GHC/Types/TyThing.hs:273:28 in ghc:GHC.Types.TyThing
> 
> Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
> 
> Warning: The documentation for the following packages are not installed. No
> links will be generated to these packages: ansi-terminal-0.11.5,
> ansi-terminal-types-0.11.5, async-2.2.4, attoparsec-0.14.4, bitvec-1.1.5.0,
> blaze-builder-0.4.2.3, blaze-html-0.9.1.2, blaze-markup-0.8.3.0, colour-2.3.6,
> conduit-1.3.5, conduit-extra-1.3.6, data-default-class-0.1.2.0,
> data-default-instances-containers-0.0.1, data-default-instances-dlist-0.0.1,
> data-default-instances-old-locale-0.0.1, dlist-1.0, gi-atk-2.0.27,
> gi-cairo-1.0.29, gi-freetype2-2.0.4, gi-gdkpixbuf-2.0.31, gi-gio-2.0.32,
> gi-glib-2.0.29, gi-gmodule-2.0.5, gi-gobject-2.0.30, gi-harfbuzz-0.0.9,
> gi-pango-1.0.29, hashable-1.4.3.0, haskell-gi-0.26.7, haskell-gi-base-0.26.4,
> haskell-lexer-1.1.1, integer-logarithms-1.0.3.1, mono-traversable-1.0.15.3,
> network-3.1.4.0, network-bsd-2.8.1.0, old-locale-1.0.0.7, pretty-show-1.10,
> primitive-0.8.0.0, random-1.2.1.1, regex-base-0.94.0.2, regex-tdfa-1.3.2.2,
> resourcet-1.2.6, safe-0.3.19, scientific-0.3.7.0, split-0.2.3.5,
> splitmix-0.1.0.5, streaming-commons-0.2.2.6, typed-process-0.2.11.1,
> unliftio-core-0.2.1.0, unordered-containers-0.2.19.1, vector-0.13.1.0,
> vector-algorithms-0.9.0.1, vector-stream-0.1.0.0, xdg-basedir-0.2.2,
> xml-conduit-1.9.1.3, xml-types-0.3.8, zlib-0.6.3.0
> Warning: --source-* options are ignored when --hyperlinked-source is enabled.
>  at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 109.
> 	Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup", "haddock", "--builddir=dist-ghc", "--with-haddock=/usr/bin/haddock", "--with-ghc=ghc", "--verbose=2", "--html", "--hoogle", ...) called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 133
> 	Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", "haddock", "--builddir=dist-ghc", "--with-haddock=/usr/bin/haddock", "--with-ghc=ghc", "--verbose=2", "--html", "--hoogle", ...) called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 723
> 	Debian::Debhelper::Buildsystem::Haskell::Recipes::haddock_recipe() called at -e line 1
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:170: build-haddock-stamp] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/04/20/haskell-gtk-strut_0.1.3.2-2_unstable-armhf.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240420;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240420&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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