Bug#1020206: haskell-hledger-interest: FTBFS: dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

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


Source: haskell-hledger-interest
Version: 1.6.3-2
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/2sgFXn_ZQQ -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> hledger-interest
> Running dh_listpackages
> hledger-interest
> 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/hledger-interest-1.6.3/ --datasubdir=hledger-interest --htmldir=/usr/share/doc/libghc-hledger-interest-doc/html/
> Using Parsec parser
> Configuring hledger-interest-1.6.3...
> Dependency Cabal: using Cabal-3.4.1.0
> Dependency Decimal: using Decimal-0.5.2
> Dependency base >=3 && <5: using base-4.15.1.0
> Dependency hledger-lib >=1.23 && <1.26: using hledger-lib-1.25
> Dependency mtl: using mtl-2.2.2
> Dependency text: using text-1.2.5.0
> Dependency time: using time-1.9.3
> Source component graph: component exe:hledger-interest
> Configured component graph:
>     component hledger-interest-1.6.3-5PDt4d3qsHQ7n19nzSrSXN-hledger-interest
>         include Cabal-3.4.1.0
>         include Decimal-0.5.2-AgIG9cVC0GA86k8N4OBFL4
>         include base-4.15.1.0
>         include hledger-lib-1.25-Be1nVu5khAb4Vxy8j8lmog
>         include mtl-2.2.2
>         include text-1.2.5.0
>         include time-1.9.3
> Linked component graph:
>     unit hledger-interest-1.6.3-5PDt4d3qsHQ7n19nzSrSXN-hledger-interest
>         include Cabal-3.4.1.0
>         include Decimal-0.5.2-AgIG9cVC0GA86k8N4OBFL4
>         include base-4.15.1.0
>         include hledger-lib-1.25-Be1nVu5khAb4Vxy8j8lmog
>         include mtl-2.2.2
>         include text-1.2.5.0
>         include time-1.9.3
> Ready component graph:
>     definite hledger-interest-1.6.3-5PDt4d3qsHQ7n19nzSrSXN-hledger-interest
>         depends Cabal-3.4.1.0
>         depends Decimal-0.5.2-AgIG9cVC0GA86k8N4OBFL4
>         depends base-4.15.1.0
>         depends hledger-lib-1.25-Be1nVu5khAb4Vxy8j8lmog
>         depends mtl-2.2.2
>         depends text-1.2.5.0
>         depends time-1.9.3
> 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/hledger-interest-1.6.3
> 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/hledger-interest-1.6.3
> Data files installed in: /usr/share/hledger-interest
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-9.0.2/hledger-interest-1.6.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 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
> hledger-interest
> Preprocessing executable 'hledger-interest' for hledger-interest-1.6.3..
> Building executable 'hledger-interest' for hledger-interest-1.6.3..
> [1 of 5] Compiling Hledger.Interest.DayCountConvention ( Hledger/Interest/DayCountConvention.hs, dist-ghc/build/hledger-interest/hledger-interest-tmp/Hledger/Interest/DayCountConvention.o )
> [2 of 5] Compiling Hledger.Interest.Rate ( Hledger/Interest/Rate.hs, dist-ghc/build/hledger-interest/hledger-interest-tmp/Hledger/Interest/Rate.o )
> [3 of 5] Compiling Hledger.Interest ( Hledger/Interest.hs, dist-ghc/build/hledger-interest/hledger-interest-tmp/Hledger/Interest.o )
> [4 of 5] Compiling Paths_hledger_interest ( dist-ghc/build/hledger-interest/autogen/Paths_hledger_interest.hs, dist-ghc/build/hledger-interest/hledger-interest-tmp/Paths_hledger_interest.o )
> [5 of 5] Compiling Main             ( Main.hs, dist-ghc/build/hledger-interest/hledger-interest-tmp/Main.o )
> Linking dist-ghc/build/hledger-interest/hledger-interest ...
> 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/hledger-interest.substvars
> dh_installdirs -phledger-interest \
> 	
> dh_haskell_description --package=hledger-interest
> 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=hledger-interest
> Running dpkg-query --showformat=${Version} --show ghc
> 9.0.2-3
> make: *** No rule to make target 'debian/tmp-inst-ghc', needed by 'install/hledger-interest'.  Stop.
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
> --------------------------------------------------------------------------------
> Build finished at 2022-09-17T20:00:43Z


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/haskell-hledger-interest_1.6.3-2_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