Bug#1067272: haskell-gi-glib: FTBFS: make: *** [/usr/share/cdbs/1/class/hlibrary.mk:153: configure-ghc-stamp] Error 1

Lucas Nussbaum lucas at debian.org
Wed Mar 20 21:03:23 GMT 2024


Source: haskell-gi-glib
Version: 2.0.29-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240319 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-gi-glib-doc.substvars
> dh_installdirs -plibghc-gi-glib-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/CDluqVSv3P -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> libghc-gi-glib-dev
> libghc-gi-glib-prof
> libghc-gi-glib-doc
> Running dh_listpackages
> libghc-gi-glib-dev
> libghc-gi-glib-prof
> libghc-gi-glib-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/gi-glib-2.0.29/ --datasubdir=gi-glib --htmldir=/usr/share/doc/libghc-gi-glib-doc/html/ --enable-library-profiling
> Non-zero exit code 1.
> Using Parsec parser
> ERROR: couldn't find API description for GLib.time_t
> Please report this at https://github.com/haskell-gi/haskell-gi/issues
> CallStack (from HasCallStack):
>   error, called at lib/Data/GI/CodeGen/Util.hs:126:6 in haskell-gi-0.26.7-C46MepbmwZA1H8dt48knUn:Data.GI.CodeGen.Util
>   terror, called at lib/Data/GI/CodeGen/Code.hs:556:13 in haskell-gi-0.26.7-C46MepbmwZA1H8dt48knUn:Data.GI.CodeGen.Code
>   findAPIByName, called at lib/Data/GI/CodeGen/GObject.hs:17:44 in haskell-gi-0.26.7-C46MepbmwZA1H8dt48knUn:Data.GI.CodeGen.GObject
>  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


The full build log is available from:
http://qa-logs.debian.net/2024/03/19/haskell-gi-glib_2.0.29-1_unstable.log

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