Bug#1086264: elm-compiler: FTBFS: Error: hlibrary.setup: Encountered missing or private dependencies: ansi-wl-pprint <1

Santiago Vila sanvila at debian.org
Tue Oct 29 18:25:45 GMT 2024


Package: src:elm-compiler
Version: 0.19.1-3
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules build
test -x debian/rules
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
rm -f /<<PKGBUILDDIR>>/debian/elm-home/0.19.1/packages
mkdir -p /<<PKGBUILDDIR>>/debian/elm-home/0.19.1
ln -sf /<<PKGBUILDDIR>>/packages /<<PKGBUILDDIR>>/debian/elm-home/0.19.1/packages
perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
	-E 'make_setup_recipe'
Argument ">=1.9" isn't numeric in numeric lt (<) at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 546.
	Debian::Debhelper::Buildsystem::Haskell::Recipes::make_setup_recipe() called at -e line 1
Running ghc --make /usr/share/haskell-devscripts/Setup-Simple.hs -o debian/hlibrary.setup -outputdir debian/tmp-setup-hs
[1 of 2] Compiling Main             ( /usr/share/haskell-devscripts/Setup-Simple.hs, debian/tmp-setup-hs/Main.o )
[2 of 2] Linking debian/hlibrary.setup
perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
	-E 'configure_recipe'
Running find . ! -newer /tmp/ePI1HldRFE -exec touch -d 1998-01-01 UTC {} ;
Running dh_listpackages
elm-compiler
Running dh_listpackages
elm-compiler
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/elm-0.19.1/ --datasubdir=elm --htmldir=/usr/share/doc/libghc-elm-doc/html/
Non-zero exit code 1.
Using Parsec parser
Configuring elm-0.19.1...
CallStack (from HasCallStack):
   withMetadata, called at libraries/Cabal/Cabal/src/Distribution/Simple/Utils.hs:368:14 in Cabal-3.10.3.0:Distribution.Simple.Utils
Error: hlibrary.setup: Encountered missing or private dependencies:
ansi-wl-pprint <1

  at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 109.
	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 133
	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 637
	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 build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

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 could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the Pkg-haskell-maintainers mailing list