Package: src:haskell-ghc-exactprint Version: 1.7.1.0-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202601/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:haskell-ghc-exactprint, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean test -x debian/rules /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ dh_clean /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \ -E 'clean_recipe' /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ Running rm -rf dist dist-ghc dist-ghcjs dist-hugs debian/tmp-setup-hs Running rm -f debian/hlibrary.setup Running rm -f Setup.hi Setup.ho Setup.o Running rm -f rm -f configure-ghc-stamp rm -f build-ghc-stamp build-hugs-stamp build-haddock-stamp rm -f check-ghc-stamp rm -f debian/tmp rm -rf debian/tmp-inst-ghc debian/tmp-inst-ghcjs rm -rf debian/tmp-db rm -f debian/hlibrary.Makefile debian/rules binary test -x debian/rules /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ dh_testroot /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ dh_prep /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ dh_installdirs -A mkdir -p "." /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ CDBS WARNING: DEB_DH_STRIP_ARGS is deprecated since 0.4.85 CDBS WARNING: DEB_COMPRESS_EXCLUDE is deprecated since 0.4.85 /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ Adding cdbs dependencies to debian/libghc-ghc-exactprint-doc.substvars dh_installdirs -plibghc-ghc-exactprint-doc \ /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \ -E 'make_setup_recipe' /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ Running ghc --make Setup.hs -o debian/hlibrary.setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking debian/hlibrary.setup perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \ -E 'configure_recipe' /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ /usr/share/haskell-devscripts/GetCabalVersion.hs:17:50: warning: [GHC-63394] [-Wx-partial] In the use of âheadâ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 17 | gpd <- readGenericPackageDescription silent (head args) | ^^^^ Running find . ! -newer /tmp/8VmWKI65yJ -exec touch -d 1998-01-01 UTC {} ; Running dh_listpackages libghc-ghc-exactprint-dev libghc-ghc-exactprint-prof libghc-ghc-exactprint-doc Running dh_listpackages libghc-ghc-exactprint-dev libghc-ghc-exactprint-prof libghc-ghc-exactprint-doc 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/ghc-exactprint-1.7.1.0/ --datasubdir=ghc-exactprint --htmldir=/usr/share/doc/libghc-ghc-exactprint-doc/html/ --enable-library-profiling --enable-tests Non-zero exit code 1. Using Parsec parser Configuring ghc-exactprint-1.7.1.0... Error: [Cabal-8010] Encountered missing or private dependencies: base >=4.18 && <4.19 CallStack (from HasCallStack): dieWithException, called at libraries/Cabal/Cabal/src/Distribution/Simple/Configure.hs:1457:11 in Cabal-3.12.1.0-7f1d:Distribution.Simple.Configure at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 112. Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("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", ...) called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 136 Debian::Debhelper::Buildsystem::Haskell::Recipes::run("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", ...) called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 770 Debian::Debhelper::Buildsystem::Haskell::Recipes::configure_recipe() called at -e line 1 make: *** [/usr/share/cdbs/1/class/hlibrary.mk:153: configure-ghc-stamp] Error 1 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

