Bug#1097133: haskell-language-python: FTBFS on i386: make: *** [/usr/share/cdbs/1/class/hlibrary.mk:170: build-haddock-stamp] Error 251

Ilias Tsitsimpis iliastsi at debian.org
Fri Feb 28 21:11:08 GMT 2025


Control: tag -1 wontfix

On Mon, Feb 17, 2025 at 06:20PM, Lucas Nussbaum wrote:
> > Running Haddock on library for language-python-0.5.8..
> > creating dist-ghc/doc/html/language-python
> > creating dist-ghc/doc/html
> > creating dist-ghc/doc
> > creating dist-ghc/doc/html
> > creating dist-ghc/doc/html/language-python
> > Running: /usr/bin/haddock '@dist-ghc/doc/html/language-python/haddock-response2476-1.txt' '--mathjax=file:///usr/share/javascript/mathjax/MathJax.js'
> > Warning: --source-* options are ignored when --hyperlinked-source is enabled.
> > 
> > src/Language/Python/Common/ParserMonad.hs:52:1: warning: [-Wunused-imports]
> >     The import of ‘Control.Applicative’ is redundant
> >       except perhaps to import instances from ‘Control.Applicative’
> >     To import instances alone, use: import Control.Applicative()
> >    |
> > 52 | import Control.Applicative ((<$>))
> >    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > haddock-ghc-9.6.6: out of memory (requested 1048576 bytes)
> >  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 251

This fails with OOM while trying to build the libghc-language-python-doc
package, which is an "Architecture: all".

> This package currently has binary packages on i386, so this is a
> regression.

This is not a regression, buildds don't build "Architecture: all"
packages on i386. Hence, I am going to close this bug as won't fix.

Thanks,

-- 
Ilias



More information about the Pkg-haskell-maintainers mailing list