Bug#1020212: cabal-debian: FTBFS: dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Lucas Nussbaum
lucas at debian.org
Sun Sep 18 07:53:42 BST 2022
Source: cabal-debian
Version: 5.2-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/yZi7FAG8f3 -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> cabal-debian
> Running dh_listpackages
> cabal-debian
> 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/cabal-debian-5.2/ --datasubdir=cabal-debian --htmldir=/usr/share/doc/libghc-cabal-debian-doc/html/
> Using Parsec parser
> Configuring cabal-debian-5.2...
> Dependency Cabal >=3.0: using Cabal-3.4.1.0
> Dependency Diff >=0.3.1: using Diff-0.4.1
> Dependency HUnit: using HUnit-1.6.2.0
> Dependency ansi-wl-pprint >=0.6 && <0.7: using ansi-wl-pprint-0.6.9
> Dependency base >=4.11.1 && <5: using base-4.15.1.0
> Dependency bifunctors: using bifunctors-5.5.12
> Dependency containers: using containers-0.6.4.1
> Dependency data-default: using data-default-0.7.1.1
> Dependency debian >=3.95: using debian-4.0.3
> Dependency deepseq: using deepseq-1.4.5.0
> Dependency directory: using directory-1.3.6.2
> Dependency exceptions: using exceptions-0.10.4
> Dependency filepath: using filepath-1.4.2.1
> Dependency hsemail >=2: using hsemail-2.2.1
> Dependency lens: using lens-5.0.1
> Dependency mtl: using mtl-2.2.2
> Dependency network-uri: using network-uri-2.6.4.1
> Dependency newtype-generics >=0.4: using newtype-generics-0.6.2
> Dependency optparse-applicative >=0.11: using optparse-applicative-0.16.1.0
> Dependency parsec >=3: using parsec-3.1.14.0
> Dependency pretty >=1.1.2: using pretty-1.1.3.6
> Dependency process: using process-1.6.13.2
> Dependency pureMD5: using pureMD5-2.1.4
> Dependency regex-tdfa: using regex-tdfa-1.3.1.2
> Dependency syb: using syb-0.7.2.1
> Dependency text: using text-1.2.5.0
> Dependency unix: using unix-2.7.2.2
> Dependency unliftio >=0.2.8.0: using unliftio-0.2.22.0
> Dependency utf8-string: using utf8-string-1.0.2
> Dependency Cabal >=3.0: using Cabal-3.4.1.0
> Dependency base >=4.11.1 && <5: using base-4.15.1.0
> Dependency cabal-debian: using cabal-debian-5.2
> Dependency debian >=3.95: using debian-4.0.3
> Dependency lens: using lens-5.0.1
> Dependency mtl: using mtl-2.2.2
> Dependency pretty >=1.1.2: using pretty-1.1.3.6
> Source component graph:
> component lib
> component exe:cabal-debian dependency lib
> Configured component graph:
> component cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF
> include Cabal-3.4.1.0
> include Diff-0.4.1-1zL3fycaRHO4aduijwvx7f
> include HUnit-1.6.2.0-6A7GkX10OfW69odZH6xHBm
> include ansi-wl-pprint-0.6.9-835VH8EVuo3C92cDalOGII
> include base-4.15.1.0
> include bifunctors-5.5.12-EkHRFXmt5NvB4N6g2Q7ooc
> include containers-0.6.4.1
> include data-default-0.7.1.1-2oomw3KKtyj2e0GcZqJJjo
> include debian-4.0.3-ER4gPm2O7KK5PhbzoM7LbT
> include deepseq-1.4.5.0
> include directory-1.3.6.2
> include exceptions-0.10.4
> include filepath-1.4.2.1
> include hsemail-2.2.1-DzO26x1krWd2pCQlFc78b9
> include lens-5.0.1-HDGp0ETtBrVJmoIxpPbogg
> include mtl-2.2.2
> include network-uri-2.6.4.1-8cxPn6aNzNQ7bLBmNGZZdy
> include newtype-generics-0.6.2-DoiouZdmO2KCOinhL6xxbN
> include optparse-applicative-0.16.1.0-AUEDBaJMTUWGguPny3Fvfh
> include parsec-3.1.14.0
> include pretty-1.1.3.6
> include process-1.6.13.2
> include pureMD5-2.1.4-FJo5LNV3dt3IGI0Bap0rbK
> include regex-tdfa-1.3.1.2-8OlpWOsbEgB7TsyCd7YK08
> include syb-0.7.2.1-KYKaNnczqa08CQ4buLVjvA
> include text-1.2.5.0
> include unix-2.7.2.2
> include unliftio-0.2.22.0-AXqZzrD4qYaCsoJWYTVf99
> include utf8-string-1.0.2-Kajwus4hgwzGme7LMFJJhT
> component cabal-debian-5.2-Gx4Pb12cs209TLymwfa6bn-cabal-debian
> include Cabal-3.4.1.0
> include base-4.15.1.0
> include cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF
> include debian-4.0.3-ER4gPm2O7KK5PhbzoM7LbT
> include lens-5.0.1-HDGp0ETtBrVJmoIxpPbogg
> include mtl-2.2.2
> include pretty-1.1.3.6
> Linked component graph:
> unit cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF
> include Cabal-3.4.1.0
> include Diff-0.4.1-1zL3fycaRHO4aduijwvx7f
> include HUnit-1.6.2.0-6A7GkX10OfW69odZH6xHBm
> include ansi-wl-pprint-0.6.9-835VH8EVuo3C92cDalOGII
> include base-4.15.1.0
> include bifunctors-5.5.12-EkHRFXmt5NvB4N6g2Q7ooc
> include containers-0.6.4.1
> include data-default-0.7.1.1-2oomw3KKtyj2e0GcZqJJjo
> include debian-4.0.3-ER4gPm2O7KK5PhbzoM7LbT
> include deepseq-1.4.5.0
> include directory-1.3.6.2
> include exceptions-0.10.4
> include filepath-1.4.2.1
> include hsemail-2.2.1-DzO26x1krWd2pCQlFc78b9
> include lens-5.0.1-HDGp0ETtBrVJmoIxpPbogg
> include mtl-2.2.2
> include network-uri-2.6.4.1-8cxPn6aNzNQ7bLBmNGZZdy
> include newtype-generics-0.6.2-DoiouZdmO2KCOinhL6xxbN
> include optparse-applicative-0.16.1.0-AUEDBaJMTUWGguPny3Fvfh
> include parsec-3.1.14.0
> include pretty-1.1.3.6
> include process-1.6.13.2
> include pureMD5-2.1.4-FJo5LNV3dt3IGI0Bap0rbK
> include regex-tdfa-1.3.1.2-8OlpWOsbEgB7TsyCd7YK08
> include syb-0.7.2.1-KYKaNnczqa08CQ4buLVjvA
> include text-1.2.5.0
> include unix-2.7.2.2
> include unliftio-0.2.22.0-AXqZzrD4qYaCsoJWYTVf99
> include utf8-string-1.0.2-Kajwus4hgwzGme7LMFJJhT
> Data.Maybe.Extended=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Data.Maybe.Extended,Debian.Debianize=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize,Debian.Debianize.BasicInfo=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.BasicInfo,Debian.Debianize.BinaryDebDescription=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.BinaryDebDescription,Debian.Debianize.BuildDependencies=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.BuildDependencies,Debian.Debianize.Bundled=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.Bundled,Debian.Debianize.CabalInfo=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.CabalInfo,Debian.Debianize.Changelog=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.Changelog,Debian.Debianize.CopyrightDescription=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.CopyrightDescription,Debian.Debianize.DebInfo=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.DebInfo,Debian.Debianize.DebianName=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.DebianName,Debian.Debianize.Details=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.Details,Debian.Debianize.ExecAtoms=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.ExecAtoms,Debian.Debianize.Files=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.Files,Debian.Debianize.Finalize=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.Finalize,Debian.Debianize.Goodies=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.Goodies,Debian.Debianize.InputCabal=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.InputCabal,Debian.Debianize.InputDebian=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.InputDebian,Debian.Debianize.Interspersed=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.Interspersed,Debian.Debianize.Monad=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.Monad,Debian.Debianize.Optparse=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.Optparse,Debian.Debianize.Output=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.Output,Debian.Debianize.Prelude=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.Prelude,Debian.Debianize.SourceDebDescription=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.SourceDebDescription,Debian.Debianize.VersionSplits=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Debianize.VersionSplits,Debian.GHC=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.GHC,Debian.Policy=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Debian.Policy,Paths_cabal_debian=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:Paths_cabal_debian,System.Git=cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF:System.Git
> unit cabal-debian-5.2-Gx4Pb12cs209TLymwfa6bn-cabal-debian
> include Cabal-3.4.1.0
> include base-4.15.1.0
> include cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF
> include debian-4.0.3-ER4gPm2O7KK5PhbzoM7LbT
> include lens-5.0.1-HDGp0ETtBrVJmoIxpPbogg
> include mtl-2.2.2
> include pretty-1.1.3.6
> Ready component graph:
> definite cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF
> depends Cabal-3.4.1.0
> depends Diff-0.4.1-1zL3fycaRHO4aduijwvx7f
> depends HUnit-1.6.2.0-6A7GkX10OfW69odZH6xHBm
> depends ansi-wl-pprint-0.6.9-835VH8EVuo3C92cDalOGII
> depends base-4.15.1.0
> depends bifunctors-5.5.12-EkHRFXmt5NvB4N6g2Q7ooc
> depends containers-0.6.4.1
> depends data-default-0.7.1.1-2oomw3KKtyj2e0GcZqJJjo
> depends debian-4.0.3-ER4gPm2O7KK5PhbzoM7LbT
> depends deepseq-1.4.5.0
> depends directory-1.3.6.2
> depends exceptions-0.10.4
> depends filepath-1.4.2.1
> depends hsemail-2.2.1-DzO26x1krWd2pCQlFc78b9
> depends lens-5.0.1-HDGp0ETtBrVJmoIxpPbogg
> depends mtl-2.2.2
> depends network-uri-2.6.4.1-8cxPn6aNzNQ7bLBmNGZZdy
> depends newtype-generics-0.6.2-DoiouZdmO2KCOinhL6xxbN
> depends optparse-applicative-0.16.1.0-AUEDBaJMTUWGguPny3Fvfh
> depends parsec-3.1.14.0
> depends pretty-1.1.3.6
> depends process-1.6.13.2
> depends pureMD5-2.1.4-FJo5LNV3dt3IGI0Bap0rbK
> depends regex-tdfa-1.3.1.2-8OlpWOsbEgB7TsyCd7YK08
> depends syb-0.7.2.1-KYKaNnczqa08CQ4buLVjvA
> depends text-1.2.5.0
> depends unix-2.7.2.2
> depends unliftio-0.2.22.0-AXqZzrD4qYaCsoJWYTVf99
> depends utf8-string-1.0.2-Kajwus4hgwzGme7LMFJJhT
> definite cabal-debian-5.2-Gx4Pb12cs209TLymwfa6bn-cabal-debian
> depends Cabal-3.4.1.0
> depends base-4.15.1.0
> depends cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF
> depends debian-4.0.3-ER4gPm2O7KK5PhbzoM7LbT
> depends lens-5.0.1-HDGp0ETtBrVJmoIxpPbogg
> depends mtl-2.2.2
> depends pretty-1.1.3.6
> 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/cabal-debian-5.2-KQhG4lgRP1IHQtwjXZEOSF
> 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/cabal-debian-5.2
> Data files installed in: /usr/share/cabal-debian
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-9.0.2/cabal-debian-5.2
> 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
> cabal-debian
> Preprocessing library for cabal-debian-5.2..
> Building library for cabal-debian-5.2..
> [ 1 of 30] Compiling Data.Maybe.Extended ( src/Data/Maybe/Extended.hs, dist-ghc/build/Data/Maybe/Extended.o, dist-ghc/build/Data/Maybe/Extended.dyn_o )
> [ 2 of 30] Compiling Debian.Debianize.Changelog ( src/Debian/Debianize/Changelog.hs, dist-ghc/build/Debian/Debianize/Changelog.o, dist-ghc/build/Debian/Debianize/Changelog.dyn_o )
> [ 3 of 30] Compiling Debian.Debianize.Interspersed ( src/Debian/Debianize/Interspersed.hs, dist-ghc/build/Debian/Debianize/Interspersed.o, dist-ghc/build/Debian/Debianize/Interspersed.dyn_o )
> [ 4 of 30] Compiling Debian.Orphans ( src/Debian/Orphans.hs, dist-ghc/build/Debian/Orphans.o, dist-ghc/build/Debian/Orphans.dyn_o )
>
> src/Debian/Orphans.hs:18:1: warning: [-Wdodgy-imports]
> The import item ‘VersionRange(..)’ suggests that
> ‘VersionRange’ has (in-scope) constructors or class methods,
> but it has none
> |
> 18 | import Distribution.Version (cataVersionRange, normaliseVersionRange, VersionRange(..), VersionRangeF(..))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ 5 of 30] Compiling Debian.Debianize.VersionSplits ( src/Debian/Debianize/VersionSplits.hs, dist-ghc/build/Debian/Debianize/VersionSplits.o, dist-ghc/build/Debian/Debianize/VersionSplits.dyn_o )
> [ 6 of 30] Compiling Debian.Debianize.Prelude ( src/Debian/Debianize/Prelude.hs, dist-ghc/build/Debian/Debianize/Prelude.o, dist-ghc/build/Debian/Debianize/Prelude.dyn_o )
> [ 7 of 30] Compiling Debian.Debianize.BasicInfo ( src/Debian/Debianize/BasicInfo.hs, dist-ghc/build/Debian/Debianize/BasicInfo.o, dist-ghc/build/Debian/Debianize/BasicInfo.dyn_o )
> [ 8 of 30] Compiling Debian.Policy ( src/Debian/Policy.hs, dist-ghc/build/Debian/Policy.o, dist-ghc/build/Debian/Policy.dyn_o )
> [ 9 of 30] Compiling Debian.Debianize.CopyrightDescription ( src/Debian/Debianize/CopyrightDescription.hs, dist-ghc/build/Debian/Debianize/CopyrightDescription.o, dist-ghc/build/Debian/Debianize/CopyrightDescription.dyn_o )
> [10 of 30] Compiling Debian.Debianize.BinaryDebDescription ( src/Debian/Debianize/BinaryDebDescription.hs, dist-ghc/build/Debian/Debianize/BinaryDebDescription.o, dist-ghc/build/Debian/Debianize/BinaryDebDescription.dyn_o )
> [11 of 30] Compiling Debian.GHC ( src/Debian/GHC.hs, dist-ghc/build/Debian/GHC.o, dist-ghc/build/Debian/GHC.dyn_o )
> [12 of 30] Compiling Debian.Debianize.InputCabal ( src/Debian/Debianize/InputCabal.hs, dist-ghc/build/Debian/Debianize/InputCabal.o, dist-ghc/build/Debian/Debianize/InputCabal.dyn_o )
> [13 of 30] Compiling Debian.Debianize.Bundled ( src/Debian/Debianize/Bundled.hs, dist-ghc/build/Debian/Debianize/Bundled.o, dist-ghc/build/Debian/Debianize/Bundled.dyn_o )
> [14 of 30] Compiling Debian.Debianize.SourceDebDescription ( src/Debian/Debianize/SourceDebDescription.hs, dist-ghc/build/Debian/Debianize/SourceDebDescription.o, dist-ghc/build/Debian/Debianize/SourceDebDescription.dyn_o )
> [15 of 30] Compiling Debian.Debianize.DebInfo ( src/Debian/Debianize/DebInfo.hs, dist-ghc/build/Debian/Debianize/DebInfo.o, dist-ghc/build/Debian/Debianize/DebInfo.dyn_o )
> [16 of 30] Compiling Debian.Debianize.CabalInfo ( src/Debian/Debianize/CabalInfo.hs, dist-ghc/build/Debian/Debianize/CabalInfo.o, dist-ghc/build/Debian/Debianize/CabalInfo.dyn_o )
> [17 of 30] Compiling Debian.Debianize.Monad ( src/Debian/Debianize/Monad.hs, dist-ghc/build/Debian/Debianize/Monad.o, dist-ghc/build/Debian/Debianize/Monad.dyn_o )
> [18 of 30] Compiling Debian.Debianize.Optparse ( src/Debian/Debianize/Optparse.hs, dist-ghc/build/Debian/Debianize/Optparse.o, dist-ghc/build/Debian/Debianize/Optparse.dyn_o )
> [19 of 30] Compiling Debian.Debianize.Files ( src/Debian/Debianize/Files.hs, dist-ghc/build/Debian/Debianize/Files.o, dist-ghc/build/Debian/Debianize/Files.dyn_o )
> [20 of 30] Compiling Debian.Debianize.InputDebian ( src/Debian/Debianize/InputDebian.hs, dist-ghc/build/Debian/Debianize/InputDebian.o, dist-ghc/build/Debian/Debianize/InputDebian.dyn_o )
> [21 of 30] Compiling Debian.Debianize.ExecAtoms ( src/Debian/Debianize/ExecAtoms.hs, dist-ghc/build/Debian/Debianize/ExecAtoms.o, dist-ghc/build/Debian/Debianize/ExecAtoms.dyn_o )
> [22 of 30] Compiling Debian.Debianize.Goodies ( src/Debian/Debianize/Goodies.hs, dist-ghc/build/Debian/Debianize/Goodies.o, dist-ghc/build/Debian/Debianize/Goodies.dyn_o )
> [23 of 30] Compiling Debian.Debianize.DebianName ( src/Debian/Debianize/DebianName.hs, dist-ghc/build/Debian/Debianize/DebianName.o, dist-ghc/build/Debian/Debianize/DebianName.dyn_o )
> [24 of 30] Compiling Debian.Debianize.Details ( src/Debian/Debianize/Details.hs, dist-ghc/build/Debian/Debianize/Details.o, dist-ghc/build/Debian/Debianize/Details.dyn_o )
> [25 of 30] Compiling Debian.Debianize.BuildDependencies ( src/Debian/Debianize/BuildDependencies.hs, dist-ghc/build/Debian/Debianize/BuildDependencies.o, dist-ghc/build/Debian/Debianize/BuildDependencies.dyn_o )
>
> src/Debian/Debianize/BuildDependencies.hs:36:1: warning: [-Wunused-imports]
> The import of ‘PackageIdentifier, PackageName,
> PackageIdentifier(pkgName), PackageIdentifier(pkgVersion)’
> from module ‘Distribution.Package’ is redundant
> |
> 36 | import Distribution.Package (Dependency(..), PackageIdentifier(pkgName, pkgVersion), PackageName)
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> src/Debian/Debianize/BuildDependencies.hs:44:1: warning: [-Wunused-imports]
> The import of ‘Distribution.Version’ is redundant
> except perhaps to import instances from ‘Distribution.Version’
> To import instances alone, use: import Distribution.Version()
> |
> 44 | import Distribution.Version (anyVersion, asVersionIntervals, fromVersionIntervals, intersectVersionRanges, isNoVersion, toVersionIntervals, unionVersionRanges, VersionRange, withinVersion)
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [26 of 30] Compiling Debian.Debianize.Finalize ( src/Debian/Debianize/Finalize.hs, dist-ghc/build/Debian/Debianize/Finalize.o, dist-ghc/build/Debian/Debianize/Finalize.dyn_o )
> [27 of 30] Compiling Debian.Debianize.Output ( src/Debian/Debianize/Output.hs, dist-ghc/build/Debian/Debianize/Output.o, dist-ghc/build/Debian/Debianize/Output.dyn_o )
>
> src/Debian/Debianize/Output.hs:22:1: warning: [-Wunused-imports]
> The import of ‘Control.Monad.Fail’ is redundant
> except perhaps to import instances from ‘Control.Monad.Fail’
> To import instances alone, use: import Control.Monad.Fail()
> |
> 22 | import Control.Monad.Fail (MonadFail)
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [28 of 30] Compiling Debian.Debianize ( src/Debian/Debianize.hs, dist-ghc/build/Debian/Debianize.o, dist-ghc/build/Debian/Debianize.dyn_o )
>
> src/Debian/Debianize.hs:95:7: warning: [-Wdodgy-exports]
> The export item ‘module Debian.GHC’ exports nothing
> |
> 95 | , module Debian.GHC
> | ^^^^^^^^^^^^^^^^^
> [29 of 30] Compiling Paths_cabal_debian ( dist-ghc/build/autogen/Paths_cabal_debian.hs, dist-ghc/build/Paths_cabal_debian.o, dist-ghc/build/Paths_cabal_debian.dyn_o )
> [30 of 30] Compiling System.Git ( src/System/Git.hs, dist-ghc/build/System/Git.o, dist-ghc/build/System/Git.dyn_o )
> Preprocessing executable 'cabal-debian' for cabal-debian-5.2..
> Building executable 'cabal-debian' for cabal-debian-5.2..
> [1 of 1] Compiling Main ( CabalDebian.hs, dist-ghc/build/cabal-debian/cabal-debian-tmp/Main.o )
> Linking dist-ghc/build/cabal-debian/cabal-debian ...
> 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/cabal-debian.substvars
> dh_installdirs -pcabal-debian \
>
> dh_haskell_description --package=cabal-debian
> 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=cabal-debian
> Running dpkg-query --showformat=${Version} --show ghc
> 9.0.2-3
> make: *** No rule to make target 'debian/tmp-inst-ghc', needed by 'install/cabal-debian'. Stop.
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
> --------------------------------------------------------------------------------
> Build finished at 2022-09-17T19:42:58Z
The full build log is available from:
http://qa-logs.debian.net/2022/09/17/cabal-debian_5.2-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