Bug#1054835: haskell-bytestring-conversion: 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:50:35 BST 2023


Source: haskell-bytestring-conversion
Version: 0.3.2-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-bytestring-conversion-doc.substvars
> dh_installdirs -plibghc-bytestring-conversion-doc \
> 	
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'make_setup_recipe'
> 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/n2XdWYBVxx -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> libghc-bytestring-conversion-dev
> libghc-bytestring-conversion-prof
> libghc-bytestring-conversion-doc
> Running dh_listpackages
> libghc-bytestring-conversion-dev
> libghc-bytestring-conversion-prof
> libghc-bytestring-conversion-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/bytestring-conversion-0.3.2/ --datasubdir=bytestring-conversion --htmldir=/usr/share/doc/libghc-bytestring-conversion-doc/html/ --enable-library-profiling
> Non-zero exit code 1.
> Using Parsec parser
> Configuring bytestring-conversion-0.3.2...
> 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:
> text >=0.11 && <2.0
> 
>  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-bytestring-conversion_0.3.2-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