Bug#1020154: haskell-hspec-discover: FTBFS: dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Lucas Nussbaum lucas at debian.org
Sun Sep 18 07:51:58 BST 2022


Source: haskell-hspec-discover
Version: 2.8.5-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.lhs -o debian/hlibrary.setup
> [1 of 1] Compiling Main             ( Setup.lhs, Setup.o )
> Linking debian/hlibrary.setup ...
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'configure_recipe'
> Running find . ! -newer /tmp/YG_4CqD4Q4 -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> hspec-discover
> Running dh_listpackages
> hspec-discover
> 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/hspec-discover-2.8.5/ --datasubdir=hspec-discover --htmldir=/usr/share/doc/libghc-hspec-discover-doc/html/
> Using Parsec parser
> Configuring hspec-discover-2.8.5...
> Dependency base >=4.5.0.0 && <5: using base-4.15.1.0
> Dependency directory: using directory-1.3.6.2
> Dependency filepath: using filepath-1.4.2.1
> Dependency base >=4.5.0.0 && <5: using base-4.15.1.0
> Dependency directory: using directory-1.3.6.2
> Dependency filepath: using filepath-1.4.2.1
> Dependency hspec-discover: using hspec-discover-2.8.5
> Source component graph:
>     component lib
>     component exe:hspec-discover dependency lib
> Configured component graph:
>     component hspec-discover-2.8.5-ChZRQm3SRlEEodudWIsFA2
>         include base-4.15.1.0
>         include directory-1.3.6.2
>         include filepath-1.4.2.1
>     component hspec-discover-2.8.5-AfEmaPhrUYX4VfV0RMeYAo-hspec-discover
>         include base-4.15.1.0
>         include directory-1.3.6.2
>         include filepath-1.4.2.1
>         include hspec-discover-2.8.5-ChZRQm3SRlEEodudWIsFA2
> Linked component graph:
>     unit hspec-discover-2.8.5-ChZRQm3SRlEEodudWIsFA2
>         include base-4.15.1.0
>         include directory-1.3.6.2
>         include filepath-1.4.2.1
>         Test.Hspec.Discover.Config=hspec-discover-2.8.5-ChZRQm3SRlEEodudWIsFA2:Test.Hspec.Discover.Config,Test.Hspec.Discover.Run=hspec-discover-2.8.5-ChZRQm3SRlEEodudWIsFA2:Test.Hspec.Discover.Run,Test.Hspec.Discover.Sort=hspec-discover-2.8.5-ChZRQm3SRlEEodudWIsFA2:Test.Hspec.Discover.Sort
>     unit hspec-discover-2.8.5-AfEmaPhrUYX4VfV0RMeYAo-hspec-discover
>         include base-4.15.1.0
>         include directory-1.3.6.2
>         include filepath-1.4.2.1
>         include hspec-discover-2.8.5-ChZRQm3SRlEEodudWIsFA2
> Ready component graph:
>     definite hspec-discover-2.8.5-ChZRQm3SRlEEodudWIsFA2
>         depends base-4.15.1.0
>         depends directory-1.3.6.2
>         depends filepath-1.4.2.1
>     definite hspec-discover-2.8.5-AfEmaPhrUYX4VfV0RMeYAo-hspec-discover
>         depends base-4.15.1.0
>         depends directory-1.3.6.2
>         depends filepath-1.4.2.1
>         depends hspec-discover-2.8.5-ChZRQm3SRlEEodudWIsFA2
> 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/hspec-discover-2.8.5-ChZRQm3SRlEEodudWIsFA2
> 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/hspec-discover-2.8.5
> Data files installed in: /usr/share/hspec-discover
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-9.0.2/hspec-discover-2.8.5
> 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
> hspec-discover
> Preprocessing library for hspec-discover-2.8.5..
> Building library for hspec-discover-2.8.5..
> [1 of 4] Compiling Paths_hspec_discover ( dist-ghc/build/autogen/Paths_hspec_discover.hs, dist-ghc/build/Paths_hspec_discover.o, dist-ghc/build/Paths_hspec_discover.dyn_o )
> [2 of 4] Compiling Test.Hspec.Discover.Config ( src/Test/Hspec/Discover/Config.hs, dist-ghc/build/Test/Hspec/Discover/Config.o, dist-ghc/build/Test/Hspec/Discover/Config.dyn_o )
> [3 of 4] Compiling Test.Hspec.Discover.Sort ( src/Test/Hspec/Discover/Sort.hs, dist-ghc/build/Test/Hspec/Discover/Sort.o, dist-ghc/build/Test/Hspec/Discover/Sort.dyn_o )
> [4 of 4] Compiling Test.Hspec.Discover.Run ( src/Test/Hspec/Discover/Run.hs, dist-ghc/build/Test/Hspec/Discover/Run.o, dist-ghc/build/Test/Hspec/Discover/Run.dyn_o )
> Preprocessing executable 'hspec-discover' for hspec-discover-2.8.5..
> Building executable 'hspec-discover' for hspec-discover-2.8.5..
> [1 of 2] Compiling Main             ( driver/hspec-discover.hs, dist-ghc/build/hspec-discover/hspec-discover-tmp/Main.o )
> [2 of 2] Compiling Paths_hspec_discover ( dist-ghc/build/hspec-discover/autogen/Paths_hspec_discover.hs, dist-ghc/build/hspec-discover/hspec-discover-tmp/Paths_hspec_discover.o )
> Linking dist-ghc/build/hspec-discover/hspec-discover ...
> 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/hspec-discover.substvars
> dh_installdirs -phspec-discover \
> 	
> dh_haskell_description --package=hspec-discover
> 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=hspec-discover
> Running dpkg-query --showformat=${Version} --show ghc
> 9.0.2-3
> make: *** No rule to make target 'debian/tmp-inst-ghc', needed by 'install/hspec-discover'.  Stop.
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
> --------------------------------------------------------------------------------
> Build finished at 2022-09-17T20:04:02Z


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/haskell-hspec-discover_2.8.5-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