Bug#1011866: haskell-base-prelude: FTBFS: make: *** [/usr/share/cdbs/1/class/hlibrary.mk:188: install/libghc-base-prelude-doc] Error 25

Lucas Nussbaum lucas at debian.org
Thu May 26 20:04:21 BST 2022


Source: haskell-base-prelude
Version: 1.3-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

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
> Adding cdbs dependencies to debian/libghc-base-prelude-doc.substvars
> dh_installdirs -plibghc-base-prelude-doc \
> 	
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E '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 ...
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'configure_recipe; haddock_recipe; build_recipe; check_recipe'
> Running find . ! -newer /tmp/SrX_MK4R55 -exec touch -d "1998-01-01 UTC" {} ;
> Running dh_listpackages
> libghc-base-prelude-dev
> libghc-base-prelude-prof
> libghc-base-prelude-doc
> Running dh_listpackages
> libghc-base-prelude-dev
> libghc-base-prelude-prof
> libghc-base-prelude-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/base-prelude-/ --datasubdir=base-prelude --htmldir=/usr/share/doc/libghc-base-prelude-doc/html/ --enable-library-profiling
> Using Parsec parser
> Configuring base-prelude-1.3...
> Dependency base >=4.6 && <5: using base-4.13.0.0
> Source component graph: component lib
> Configured component graph:
>     component base-prelude-1.3-GkjcM0d5Bef5VOhNpPY6Ft
>         include base-4.13.0.0
> Linked component graph:
>     unit base-prelude-1.3-GkjcM0d5Bef5VOhNpPY6Ft
>         include base-4.13.0.0
>         BasePrelude=base-prelude-1.3-GkjcM0d5Bef5VOhNpPY6Ft:BasePrelude
> Ready component graph:
>     definite base-prelude-1.3-GkjcM0d5Bef5VOhNpPY6Ft
>         depends base-4.13.0.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/base-prelude-1.3-GkjcM0d5Bef5VOhNpPY6Ft
> 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/base-prelude-1.3
> Data files installed in: /usr/share/base-prelude
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-8.8.4/base-prelude-1.3
> 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 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
> No hscolour found
> No jhc found
> Using ld found on system at: /usr/bin/x86_64-linux-gnu-ld.gold
> No pkg-config found
> 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
> Running dh_listpackages
> libghc-base-prelude-dev
> libghc-base-prelude-prof
> libghc-base-prelude-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
> /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 init dist-ghc/package.conf.inplace
> creating dist-ghc/build
> creating dist-ghc/build/autogen
> creating dist-ghc/build/autogen
> Preprocessing library for base-prelude-1.3..
> Running Haddock on library for base-prelude-1.3..
> creating dist-ghc/doc/html/base-prelude
> creating dist-ghc/doc/html
> creating dist-ghc/doc
> creating dist-ghc/doc/html
> creating dist-ghc/doc/html/base-prelude
> /usr/bin/haddock '@dist-ghc/doc/html/base-prelude/haddock-response850355-3.txt' '--mathjax=file:///usr/share/javascript/mathjax/MathJax.js'
> Haddock coverage:
>   90% (807 /893) in 'BasePrelude'
>   Missing documentation for:
>     assertError
>     Real
>     Bool
>     Ordering
>     TyCon
>     HasResolution
>     E0
>     E1
>     E2
>     E3
>     E6
>     E9
>     E12
>     Min
>     Max
>     ArgMin
>     ArgMax
>     mkRealConstr
>     mkIntegralConstr
>     WrappedMonad
>     WrappedArrow
>     ArrowZero
>     ioManagerCapabilitiesChanged
>     ensureIOManagerIsRunning
>     runHandlers
>     setHandler
>     Signal
>     HandlerFun
>     addMVarFinalizer
>     ioeSetFileName
>     ioeSetHandle
>     ioeSetLocation
>     ioeSetErrorString
>     ioeSetErrorType
>     ioeGetFileName
>     ioeGetHandle
>     ioeGetLocation
>     ioeGetErrorString
>     ioeGetErrorType
>     getUncaughtExceptionHandler
>     setUncaughtExceptionHandler
>     reportError
>     reportStackOverflow
>     threadStatus
>     par
>     pseq
>     childHandler
>     reportHeapOverflow
>     BlockReason
>     PrimMVar
>     dynTypeRep
>     dynApp
>     dynApply
>     untangle
>     ioException
>     heapOverflow
>     stackOverflow
>     cannotCompactMutable
>     cannotCompactPinned
>     cannotCompactFunction
>     allocationLimitExceeded
>     blockedIndefinitelyOnSTM
>     blockedIndefinitelyOnMVar
>     FinalizerEnvPtr
>     unsupportedOperation
>     typeOf7
>     typeOf6
>     typeOf5
>     typeOf4
>     typeOf3
>     typeOf2
>     typeOf1
>     rnfTyCon
>     tyConFingerprint
>     tyConName
>     tyConModule
>     tyConPackage
>     unsafeCoerce
>     readS_to_Prec
>     readPrec_to_S
>     readP_to_Prec
>     readPrec_to_P
>     ReadPrec
>     ReadP
>     odd
>     even
> Warning: BasePrelude: could not find link destinations for:
>     Timeout P typeRep# SingKind fromSing Sing DemoteRep SingI sing D:R:SingBoola0 STrue SFalse D:R:UReckCharp0 D:R:UReckDoublep0 D:R:UReckFloatp0 D:R:UReckIntp0 D:R:SingMaybeb0 SNothing SJust spr UPrintf hspr D:R:UReckWordp0 D:R:UReckPtrp0
> Documentation created: dist-ghc/doc/html/base-prelude/index.html,
> dist-ghc/doc/html/base-prelude/base-prelude.txt
> Running dh_listpackages
> libghc-base-prelude-dev
> libghc-base-prelude-prof
> libghc-base-prelude-doc
> Running debian/hlibrary.setup build --builddir=dist-ghc
> Preprocessing library for base-prelude-1.3..
> Building library for base-prelude-1.3..
> [1 of 1] Compiling BasePrelude      ( library/BasePrelude.hs, dist-ghc/build/BasePrelude.o )
> [1 of 1] Compiling BasePrelude      ( library/BasePrelude.hs, dist-ghc/build/BasePrelude.p_o )
> DEB_ENABLE_TESTS not set to yes, not running any build-time tests.
> touch build-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'install_recipe($ARGV[0])' "debian/tmp-inst-ghc"
> Running dh_listpackages
> libghc-base-prelude-dev
> libghc-base-prelude-prof
> libghc-base-prelude-doc
> Running debian/hlibrary.setup copy --builddir=dist-ghc --destdir=debian/tmp-inst-ghc
> Installing library in debian/tmp-inst-ghc/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.8.4/base-prelude-1.3-GkjcM0d5Bef5VOhNpPY6Ft
> ln --symbolic --force "debian/tmp-inst-ghc" debian/tmp
> dh_haskell_install_htmldocs --package=libghc-base-prelude-doc --source-dir="debian/tmp-inst-ghc"
> Running find ./usr/share/doc/libghc-base-prelude-doc/html/ ! -name *.haddock ! -type d -exec install -D --mode=644 {} /<<PKGBUILDDIR>>/debian/libghc-base-prelude-doc/{} ;
> Running mkdir --parents debian/libghc-base-prelude-doc/usr/lib/ghc-doc/hoogle
> Running ln --symbolic --relative --no-target-directory debian/libghc-base-prelude-doc/usr/share/doc/libghc-base-prelude-doc/html//base-prelude.txt debian/libghc-base-prelude-doc/usr/lib/ghc-doc/hoogle/libghc-base-prelude-doc.txt
> dh_haskell_install_haddock --package=libghc-base-prelude-doc --source-dir="debian/tmp-inst-ghc"
> Need CABAL_VERSION to install HTML documentation. at /usr/bin/dh_haskell_install_haddock line 46.
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:188: install/libghc-base-prelude-doc] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/haskell-base-prelude_1.3-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&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 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