Bug#1020163: hasktags: FTBFS: dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Lucas Nussbaum lucas at debian.org
Sun Sep 18 07:54:49 BST 2022


Source: hasktags
Version: 0.72.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220917 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
> 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'
> Running find . ! -newer /tmp/0qcA9TlV65 -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> hasktags
> Running dh_listpackages
> hasktags
> 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/hasktags-0.72.0/ --datasubdir=hasktags --htmldir=/usr/share/doc/libghc-hasktags-doc/html/
> Using Parsec parser
> Configuring hasktags-0.72.0...
> Flags chosen: debug=False
> Dependency base >=4 && <5: using base-4.15.1.0
> Dependency bytestring >=0.9 && <0.11: using bytestring-0.10.12.1
> Dependency directory >=1.2.6 && <1.4: using directory-1.3.6.2
> Dependency filepath: using filepath-1.4.2.1
> Dependency json >=0.5 && <0.11: using json-0.10
> Dependency microlens-platform >=0.3.8.0 && <0.5: using
> microlens-platform-0.4.2.1
> Dependency utf8-string: using utf8-string-1.0.2
> Dependency base: using base-4.15.1.0
> Dependency containers: using containers-0.6.4.1
> Dependency directory: using directory-1.3.6.2
> Dependency filepath: using filepath-1.4.2.1
> Dependency hasktags: using hasktags-0.72.0
> Dependency optparse-applicative: using optparse-applicative-0.16.1.0
> Source component graph:
>     component lib
>     component exe:hasktags dependency lib
> Configured component graph:
>     component hasktags-0.72.0-58NjjwjaZym4LTcms7atMY
>         include base-4.15.1.0
>         include bytestring-0.10.12.1
>         include directory-1.3.6.2
>         include filepath-1.4.2.1
>         include json-0.10-Kw8QfkhfOwlIXp36kgWee8
>         include microlens-platform-0.4.2.1-33FIpLlZZ755CZsIOclu2N
>         include utf8-string-1.0.2-Kajwus4hgwzGme7LMFJJhT
>     component hasktags-0.72.0-ICCJE8xZ8uwD7vmMXP8gGj-hasktags
>         include base-4.15.1.0
>         include containers-0.6.4.1
>         include directory-1.3.6.2
>         include filepath-1.4.2.1
>         include hasktags-0.72.0-58NjjwjaZym4LTcms7atMY
>         include optparse-applicative-0.16.1.0-AUEDBaJMTUWGguPny3Fvfh
> Linked component graph:
>     unit hasktags-0.72.0-58NjjwjaZym4LTcms7atMY
>         include base-4.15.1.0
>         include bytestring-0.10.12.1
>         include directory-1.3.6.2
>         include filepath-1.4.2.1
>         include json-0.10-Kw8QfkhfOwlIXp36kgWee8
>         include microlens-platform-0.4.2.1-33FIpLlZZ755CZsIOclu2N
>         include utf8-string-1.0.2-Kajwus4hgwzGme7LMFJJhT
>         Hasktags=hasktags-0.72.0-58NjjwjaZym4LTcms7atMY:Hasktags
>     unit hasktags-0.72.0-ICCJE8xZ8uwD7vmMXP8gGj-hasktags
>         include base-4.15.1.0
>         include containers-0.6.4.1
>         include directory-1.3.6.2
>         include filepath-1.4.2.1
>         include hasktags-0.72.0-58NjjwjaZym4LTcms7atMY
>         include optparse-applicative-0.16.1.0-AUEDBaJMTUWGguPny3Fvfh
> Ready component graph:
>     definite hasktags-0.72.0-58NjjwjaZym4LTcms7atMY
>         depends base-4.15.1.0
>         depends bytestring-0.10.12.1
>         depends directory-1.3.6.2
>         depends filepath-1.4.2.1
>         depends json-0.10-Kw8QfkhfOwlIXp36kgWee8
>         depends microlens-platform-0.4.2.1-33FIpLlZZ755CZsIOclu2N
>         depends utf8-string-1.0.2-Kajwus4hgwzGme7LMFJJhT
>     definite hasktags-0.72.0-ICCJE8xZ8uwD7vmMXP8gGj-hasktags
>         depends base-4.15.1.0
>         depends containers-0.6.4.1
>         depends directory-1.3.6.2
>         depends filepath-1.4.2.1
>         depends hasktags-0.72.0-58NjjwjaZym4LTcms7atMY
>         depends optparse-applicative-0.16.1.0-AUEDBaJMTUWGguPny3Fvfh
> Using Cabal-3.4.1.0 compiled by ghc-9.0
> Using compiler: ghc-9.0.2
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2/hasktags-0.72.0-58NjjwjaZym4LTcms7atMY
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2
> Private executables installed in:
> /usr/lib/x86_64-linux-ghc-9.0.2/hasktags-0.72.0
> Data files installed in: /usr/share/hasktags
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-9.0.2/hasktags-0.72.0
> 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 12 found on system at: /usr/bin/x86_64-linux-gnu-gcc
> Using ghc version 9.0.2 found on system at: /usr/bin/ghc
> Using ghc-pkg version 9.0.2 found on system at: /usr/bin/ghc-pkg
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using haddock version 2.25.1 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.68 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
> No pkg-config found
> Using runghc version 9.0.2 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
> touch configure-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'build_recipe'
> Running dh_listpackages
> hasktags
> Preprocessing library for hasktags-0.72.0..
> Building library for hasktags-0.72.0..
> [1 of 3] Compiling DebugShow        ( src/DebugShow.hs, dist-ghc/build/DebugShow.o, dist-ghc/build/DebugShow.dyn_o )
> [2 of 3] Compiling Tags             ( src/Tags.hs, dist-ghc/build/Tags.o, dist-ghc/build/Tags.dyn_o )
> [3 of 3] Compiling Hasktags         ( src/Hasktags.hs, dist-ghc/build/Hasktags.o, dist-ghc/build/Hasktags.dyn_o )
> Preprocessing executable 'hasktags' for hasktags-0.72.0..
> Building executable 'hasktags' for hasktags-0.72.0..
> [1 of 2] Compiling Paths_hasktags   ( dist-ghc/build/hasktags/autogen/Paths_hasktags.hs, dist-ghc/build/hasktags/hasktags-tmp/Paths_hasktags.o )
> [2 of 2] Compiling Main             ( src/Main.hs, dist-ghc/build/hasktags/hasktags-tmp/Main.o )
> 
> src/Main.hs:8:1: warning: [-Wunused-imports]
>     The import of ‘Data.Monoid’ is redundant
>       except perhaps to import instances from ‘Data.Monoid’
>     To import instances alone, use: import Data.Monoid()
>   |
> 8 | import Data.Monoid
>   | ^^^^^^^^^^^^^^^^^^
> Linking dist-ghc/build/hasktags/hasktags ...
> 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
> Adding cdbs dependencies to debian/hasktags.substvars
> dh_installdirs -phasktags \
> 	
> dh_haskell_description --package=hasktags
> 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
> dh_haskell_compiler --package=hasktags
> Running dpkg-query --showformat=${Version} --show ghc
> 9.0.2-3
> make: *** No rule to make target 'debian/tmp-inst-ghc', needed by 'install/hasktags'.  Stop.
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
> --------------------------------------------------------------------------------
> Build finished at 2022-09-17T20:01:24Z


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/hasktags_0.72.0-1_unstable.log

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