Bug#1054868: haskell-syb-with-class: FTBFS: make: *** [/usr/share/cdbs/1/class/hlibrary.mk:153: configure-ghc-stamp] Error 25

Lucas Nussbaum lucas at debian.org
Fri Oct 27 20:51:02 BST 2023


Source: haskell-syb-with-class
Version: 0.6.1.14-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 ftbfs-trixie

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
> Adding cdbs dependencies to debian/libghc-syb-with-class-doc.substvars
> dh_installdirs -plibghc-syb-with-class-doc \
> 	
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'make_setup_recipe'
> 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'
> Running find . ! -newer /tmp/lA8PYOveoB -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> libghc-syb-with-class-dev
> libghc-syb-with-class-prof
> libghc-syb-with-class-doc
> Running dh_listpackages
> libghc-syb-with-class-dev
> libghc-syb-with-class-prof
> libghc-syb-with-class-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/syb-with-class-0.6.1.14/ --datasubdir=syb-with-class --htmldir=/usr/share/doc/libghc-syb-with-class-doc/html/ --enable-library-profiling
> Non-zero exit code 1.
> Using Parsec parser
> Configuring syb-with-class-0.6.1.14...
> CallStack (from HasCallStack):
>   withMetadata, called at libraries/Cabal/Cabal/src/Distribution/Simple/Utils.hs:370:14 in Cabal-3.8.1.0:Distribution.Simple.Utils
> Error: hlibrary.setup: Encountered missing or private dependencies:
> template-haskell >=2.4 && <2.19
> 
>  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 25


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/haskell-syb-with-class_0.6.1.14-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&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 mark 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