Bug#1011889: haskell-tldr: FTBFS: make: *** [/usr/share/cdbs/1/rules/debhelper.mk:252: binary-install/libghc-tldr-doc] Error 25
Lucas Nussbaum
lucas at debian.org
Thu May 26 20:04:52 BST 2022
Source: haskell-tldr
Version: 0.6.4-1
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-tldr-doc.substvars
> dh_installdirs -plibghc-tldr-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/uQrwkQAmnF -exec touch -d "1998-01-01 UTC" {} ;
> Running dh_listpackages
> libghc-tldr-dev
> libghc-tldr-prof
> libghc-tldr-doc
> tldr
> Running dh_listpackages
> libghc-tldr-dev
> libghc-tldr-prof
> libghc-tldr-doc
> tldr
> 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/tldr-0.6.4/ --datasubdir=tldr --htmldir=/usr/share/doc/libghc-tldr-doc/html/ --enable-library-profiling
> Using Parsec parser
> Configuring tldr-0.6.4...
> Dependency ansi-terminal -any: using ansi-terminal-0.10.3
> Dependency base >=4.7 && <5: using base-4.13.0.0
> Dependency bytestring -any: using bytestring-0.10.10.1
> Dependency cmark -any: using cmark-0.6
> Dependency text -any: using text-1.2.4.0
> Dependency base -any: using base-4.13.0.0
> Dependency containers -any: using containers-0.6.2.1
> Dependency directory -any: using directory-1.3.6.0
> Dependency filepath -any: using filepath-1.4.2.1
> Dependency optparse-applicative -any: using optparse-applicative-0.15.1.0
> Dependency semigroups -any: using semigroups-0.19.1
> Dependency tldr -any: using tldr-0.6.4
> Dependency typed-process -any: using typed-process-0.2.6.0
> Source component graph:
> component lib
> component exe:tldr dependency lib
> Configured component graph:
> component tldr-0.6.4-AhmmP7VxCZp2l0XNdrEGdB
> include ansi-terminal-0.10.3-DS0jBrus2yKFjX9eUfmc3L
> include base-4.13.0.0
> include bytestring-0.10.10.1
> include cmark-0.6-60GhJwFkGY8112Jhy6cfyI
> include text-1.2.4.0
> component tldr-0.6.4-9kDqHmPjSlr7K1WcZsFaKh-tldr
> include base-4.13.0.0
> include containers-0.6.2.1
> include directory-1.3.6.0
> include filepath-1.4.2.1
> include optparse-applicative-0.15.1.0-GiY4uo4FBQRKuBqOktTXko
> include semigroups-0.19.1-LKdktuRRdRZ1yx9gBXzSbK
> include tldr-0.6.4-AhmmP7VxCZp2l0XNdrEGdB
> include typed-process-0.2.6.0-5au5NKOH3pCCyHyzwWiAiD
> Linked component graph:
> unit tldr-0.6.4-AhmmP7VxCZp2l0XNdrEGdB
> include ansi-terminal-0.10.3-DS0jBrus2yKFjX9eUfmc3L
> include base-4.13.0.0
> include bytestring-0.10.10.1
> include cmark-0.6-60GhJwFkGY8112Jhy6cfyI
> include text-1.2.4.0
> Tldr=tldr-0.6.4-AhmmP7VxCZp2l0XNdrEGdB:Tldr
> unit tldr-0.6.4-9kDqHmPjSlr7K1WcZsFaKh-tldr
> include base-4.13.0.0
> include containers-0.6.2.1
> include directory-1.3.6.0
> include filepath-1.4.2.1
> include optparse-applicative-0.15.1.0-GiY4uo4FBQRKuBqOktTXko
> include semigroups-0.19.1-LKdktuRRdRZ1yx9gBXzSbK
> include tldr-0.6.4-AhmmP7VxCZp2l0XNdrEGdB
> include typed-process-0.2.6.0-5au5NKOH3pCCyHyzwWiAiD
> Ready component graph:
> definite tldr-0.6.4-AhmmP7VxCZp2l0XNdrEGdB
> depends ansi-terminal-0.10.3-DS0jBrus2yKFjX9eUfmc3L
> depends base-4.13.0.0
> depends bytestring-0.10.10.1
> depends cmark-0.6-60GhJwFkGY8112Jhy6cfyI
> depends text-1.2.4.0
> definite tldr-0.6.4-9kDqHmPjSlr7K1WcZsFaKh-tldr
> depends base-4.13.0.0
> depends containers-0.6.2.1
> depends directory-1.3.6.0
> depends filepath-1.4.2.1
> depends optparse-applicative-0.15.1.0-GiY4uo4FBQRKuBqOktTXko
> depends semigroups-0.19.1-LKdktuRRdRZ1yx9gBXzSbK
> depends tldr-0.6.4-AhmmP7VxCZp2l0XNdrEGdB
> depends typed-process-0.2.6.0-5au5NKOH3pCCyHyzwWiAiD
> 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/tldr-0.6.4-AhmmP7VxCZp2l0XNdrEGdB
> 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/tldr-0.6.4
> Data files installed in: /usr/share/tldr
> Documentation installed in: /usr/share/doc/x86_64-linux-ghc-8.8.4/tldr-0.6.4
> 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-tldr-dev
> libghc-tldr-prof
> libghc-tldr-doc
> tldr
> 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 tldr-0.6.4..
> Running Haddock on library for tldr-0.6.4..
> creating dist-ghc/doc/html/tldr
> creating dist-ghc/doc/html
> creating dist-ghc/doc
> creating dist-ghc/doc/html
> creating dist-ghc/doc/html/tldr
> /usr/bin/haddock '@dist-ghc/doc/html/tldr/haddock-response788050-3.txt' '--mathjax=file:///usr/share/javascript/mathjax/MathJax.js'
> Haddock coverage:
> 0% ( 0 / 9) in 'Tldr'
> Missing documentation for:
> Module header
> parsePage (src/Tldr.hs:104)
> renderPage (src/Tldr.hs:110)
> ConsoleSetting (src/Tldr.hs:22)
> defConsoleSetting (src/Tldr.hs:33)
> headingSetting (src/Tldr.hs:45)
> toSGR (src/Tldr.hs:48)
> renderNode (src/Tldr.hs:57)
> changeConsoleSetting (src/Tldr.hs:67)
> Documentation created: dist-ghc/doc/html/tldr/index.html,
> dist-ghc/doc/html/tldr/tldr.txt
> creating dist-ghc/build/tldr
> creating dist-ghc/build/tldr/autogen
> creating dist-ghc/build/tldr/autogen
> Preprocessing executable 'tldr' for tldr-0.6.4..
> Running dh_listpackages
> libghc-tldr-dev
> libghc-tldr-prof
> libghc-tldr-doc
> tldr
> Running debian/hlibrary.setup build --builddir=dist-ghc
> Preprocessing library for tldr-0.6.4..
> Building library for tldr-0.6.4..
> [1 of 2] Compiling Paths_tldr ( dist-ghc/build/autogen/Paths_tldr.hs, dist-ghc/build/Paths_tldr.o )
> [2 of 2] Compiling Tldr ( src/Tldr.hs, dist-ghc/build/Tldr.o )
> [1 of 2] Compiling Paths_tldr ( dist-ghc/build/autogen/Paths_tldr.hs, dist-ghc/build/Paths_tldr.p_o )
> [2 of 2] Compiling Tldr ( src/Tldr.hs, dist-ghc/build/Tldr.p_o )
> Preprocessing executable 'tldr' for tldr-0.6.4..
> Building executable 'tldr' for tldr-0.6.4..
> [1 of 2] Compiling Paths_tldr ( dist-ghc/build/tldr/autogen/Paths_tldr.hs, dist-ghc/build/tldr/tldr-tmp/Paths_tldr.o )
> [2 of 2] Compiling Main ( app/Main.hs, dist-ghc/build/tldr/tldr-tmp/Main.o )
> Linking dist-ghc/build/tldr/tldr ...
> 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-tldr-dev
> libghc-tldr-prof
> libghc-tldr-doc
> tldr
> 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/tldr-0.6.4-AhmmP7VxCZp2l0XNdrEGdB
> Installing executable tldr in debian/tmp-inst-ghc/usr/bin
> ln --symbolic --force "debian/tmp-inst-ghc" debian/tmp
> dh_haskell_install_htmldocs --package=libghc-tldr-doc --source-dir="debian/tmp-inst-ghc"
> Running find ./usr/share/doc/libghc-tldr-doc/html/ ! -name *.haddock ! -type d -exec install -D --mode=644 {} /<<PKGBUILDDIR>>/debian/libghc-tldr-doc/{} ;
> Running mkdir --parents debian/libghc-tldr-doc/usr/lib/ghc-doc/hoogle
> Running ln --symbolic --relative --no-target-directory debian/libghc-tldr-doc/usr/share/doc/libghc-tldr-doc/html//tldr.txt debian/libghc-tldr-doc/usr/lib/ghc-doc/hoogle/libghc-tldr-doc.txt
> dh_haskell_install_haddock --package=libghc-tldr-doc --source-dir="debian/tmp-inst-ghc"
> Running mkdir --parents debian/libghc-tldr-doc/usr/lib/ghc-doc/haddock/tldr-0.6.4/
> Running cp --recursive debian/tmp-inst-ghc/usr/lib/ghc-doc/haddock/tldr-0.6.4/tldr.haddock debian/libghc-tldr-doc/usr/lib/ghc-doc/haddock/tldr-0.6.4/
> dh_haskell_depends_haddock --package=libghc-tldr-doc
> Running haddock --interface-version
> 35
> dh_haskell_recommends_documentation_references --package=libghc-tldr-doc
> Finding all links in the documentation in installable libghc-tldr-doc.
> dh_haskell_suggests --package=libghc-tldr-doc
> dh_haskell_blurbs --package=libghc-tldr-doc --type=doc
> dh_haskell_description --package=libghc-tldr-doc
> Running grep-dctrl --no-field-names --show-field=Description --field=Source --regex .* debian/control
> Running grep-dctrl --no-field-names --show-field=X-Description --field=Source --regex .* debian/control
> Haskell tldr client
> Haskell tldr client with support for updating and viewing tldr pages.
> .
> The TLDR pages are a community effort to simplify the beloved man
> pages with practical examples. See https://tldr.sh/
> dh_haskell_compiler --package=libghc-tldr-doc
> Running dpkg-query --showformat=${Version} --show ghc
> 8.8.4-3
> dh_installdocs -plibghc-tldr-doc
> dh_installexamples -plibghc-tldr-doc
> dh_installman -plibghc-tldr-doc
> dh_installinfo -plibghc-tldr-doc
> dh_installmenu -plibghc-tldr-doc
> dh_installcron -plibghc-tldr-doc
> dh_systemd_enable -plibghc-tldr-doc
> dh_installinit -plibghc-tldr-doc
> dh_installdebconf -plibghc-tldr-doc
> dh_installemacsen -plibghc-tldr-doc
> dh_installcatalogs -plibghc-tldr-doc
> dh_installpam -plibghc-tldr-doc
> dh_installlogrotate -plibghc-tldr-doc
> dh_installlogcheck -plibghc-tldr-doc
> dh_installchangelogs -plibghc-tldr-doc
> dh_installudev -plibghc-tldr-doc
> dh_lintian -plibghc-tldr-doc
> dh_bugfiles -plibghc-tldr-doc
> dh_install -plibghc-tldr-doc
> mkdir debian/tmp: File exists at /usr/share/dh-exec/dh-exec-install-rename line 17.
> BEGIN failed--compilation aborted at /usr/share/dh-exec/dh-exec-install-rename line 25.
> dh_install: error: debian/tldr.install (executable config) returned exit code 127
> make: *** [/usr/share/cdbs/1/rules/debhelper.mk:252: binary-install/libghc-tldr-doc] Error 25
The full build log is available from:
http://qa-logs.debian.net/2022/05/25/haskell-tldr_0.6.4-1_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