Bug#1042242: haskell-gi-vte: FTBFS: make: *** [/usr/share/cdbs/1/class/hlibrary.mk:158: build-ghc-stamp] Error 25

Lucas Nussbaum lucas at debian.org
Wed Jul 26 21:16:59 BST 2023


Source: haskell-gi-vte
Version: 2.91.30-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 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-vte-doc.substvars
> dh_installdirs -plibghc-gi-vte-doc \
> 	
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'make_setup_recipe'
> Running ghc --make Setup.hs -o debian/hlibrary.setup
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking debian/hlibrary.setup ...
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'configure_recipe'
> Running find . ! -newer /tmp/Qr3NAWVKTO -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> libghc-gi-vte-dev
> libghc-gi-vte-prof
> libghc-gi-vte-doc
> Running dh_listpackages
> libghc-gi-vte-dev
> libghc-gi-vte-prof
> libghc-gi-vte-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-vte-2.91.30/ --datasubdir=gi-vte --htmldir=/usr/share/doc/libghc-gi-vte-doc/html/ --enable-library-profiling
> Using Parsec parser
> Configuring gi-vte-2.91.30...
> Dependency base >=4.7 && <5: using base-4.15.1.0
> Dependency bytestring >=0.10 && <1: using bytestring-0.10.12.1
> Dependency containers >=0.5 && <1: using containers-0.6.4.1
> Dependency gi-atk >=2.0 && <2.1: using gi-atk-2.0.25
> Dependency gi-gdk >=3.0 && <3.1: using gi-gdk-3.0.26
> Dependency gi-gio >=2.0 && <2.1: using gi-gio-2.0.30
> Dependency gi-glib >=2.0 && <2.1: using gi-glib-2.0.27
> Dependency gi-gobject >=2.0 && <2.1: using gi-gobject-2.0.28
> Dependency gi-gtk >=3.0 && <3.1: using gi-gtk-3.0.39
> Dependency gi-pango >=1.0 && <1.1: using gi-pango-1.0.27
> Dependency haskell-gi >=0.26 && <0.27: using haskell-gi-0.26.1
> Dependency haskell-gi-base >=0.26 && <0.27: using haskell-gi-base-0.26.2
> Dependency text >=1.0 && <3: using text-1.2.5.0
> Dependency transformers >=0.4 && <1: using transformers-0.5.6.2
> Dependency vte-2.91: using version 0.72.2
> Source component graph: component lib
> Configured component graph:
>     component gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N
>         include base-4.15.1.0
>         include bytestring-0.10.12.1
>         include containers-0.6.4.1
>         include gi-atk-2.0.25-CDaASSbJJIECZcqd5HHxMS
>         include gi-gdk-3.0.26-739nhnqaNuCB31cU3AsCWH
>         include gi-gio-2.0.30-Le3XVxnPcE5GGrE1cpn3Om
>         include gi-glib-2.0.27-KPNdhQB5q4lD3LJBp2P6eK
>         include gi-gobject-2.0.28-1w6AMPQ7GsiBOSk5nE2INb
>         include gi-gtk-3.0.39-DdnejyEWH1v6GfZxnbNKBx
>         include gi-pango-1.0.27-GuCK3XSnzHI1EaZNcfegsg
>         include haskell-gi-0.26.1-JSRupHRF34I93KyyU4gimG
>         include haskell-gi-base-0.26.2-BgiSD0snxm47Hg27HVVupt
>         include text-1.2.5.0
>         include transformers-0.5.6.2
> Linked component graph:
>     unit gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N
>         include base-4.15.1.0
>         include bytestring-0.10.12.1
>         include containers-0.6.4.1
>         include gi-atk-2.0.25-CDaASSbJJIECZcqd5HHxMS
>         include gi-gdk-3.0.26-739nhnqaNuCB31cU3AsCWH
>         include gi-gio-2.0.30-Le3XVxnPcE5GGrE1cpn3Om
>         include gi-glib-2.0.27-KPNdhQB5q4lD3LJBp2P6eK
>         include gi-gobject-2.0.28-1w6AMPQ7GsiBOSk5nE2INb
>         include gi-gtk-3.0.39-DdnejyEWH1v6GfZxnbNKBx
>         include gi-pango-1.0.27-GuCK3XSnzHI1EaZNcfegsg
>         include haskell-gi-0.26.1-JSRupHRF34I93KyyU4gimG
>         include haskell-gi-base-0.26.2-BgiSD0snxm47Hg27HVVupt
>         include text-1.2.5.0
>         include transformers-0.5.6.2
>         GI.Vte=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte,GI.Vte.Callbacks=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte.Callbacks,GI.Vte.Config=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte.Config,GI.Vte.Constants=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte.Constants,GI.Vte.Enums=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte.Enums,GI.Vte.Flags=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte.Flags,GI.Vte.Functions=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte.Functions,GI.Vte.Objects=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte.Objects,GI.Vte.Objects.Pty=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte.Objects.Pty,GI.Vte.Objects.Terminal=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte.Objects.Terminal,GI.Vte.Structs=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte.Structs,GI.Vte.Structs.CharAttributes=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte.Structs.CharAttributes,GI.Vte.Structs.Regex=gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N:GI.Vte.Structs.Regex
> Ready component graph:
>     definite gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N
>         depends base-4.15.1.0
>         depends bytestring-0.10.12.1
>         depends containers-0.6.4.1
>         depends gi-atk-2.0.25-CDaASSbJJIECZcqd5HHxMS
>         depends gi-gdk-3.0.26-739nhnqaNuCB31cU3AsCWH
>         depends gi-gio-2.0.30-Le3XVxnPcE5GGrE1cpn3Om
>         depends gi-glib-2.0.27-KPNdhQB5q4lD3LJBp2P6eK
>         depends gi-gobject-2.0.28-1w6AMPQ7GsiBOSk5nE2INb
>         depends gi-gtk-3.0.39-DdnejyEWH1v6GfZxnbNKBx
>         depends gi-pango-1.0.27-GuCK3XSnzHI1EaZNcfegsg
>         depends haskell-gi-0.26.1-JSRupHRF34I93KyyU4gimG
>         depends haskell-gi-base-0.26.2-BgiSD0snxm47Hg27HVVupt
>         depends text-1.2.5.0
>         depends transformers-0.5.6.2
> Using Cabal-3.4.1.0 compiled by ghc-9.0
> Using compiler: ghc-9.0.2
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2/gi-vte-2.91.30-JtRuFwfQ50cAAHlTYfzo9N
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2
> Private executables installed in:
> /usr/lib/x86_64-linux-ghc-9.0.2/gi-vte-2.91.30
> Data files installed in: /usr/share/gi-vte
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-9.0.2/gi-vte-2.91.30
> Configuration files installed in: /usr/etc
> No alex found
> Using ar found on system at: /usr/bin/x86_64-linux-gnu-ar
> No c2hs found
> No cpphs found
> No doctest found
> Using gcc version 13 found on system at: /usr/bin/x86_64-linux-gnu-gcc
> Using ghc version 9.0.2 found on system at: /usr/bin/ghc
> Using ghc-pkg version 9.0.2 found on system at: /usr/bin/ghc-pkg
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using haddock version 2.25.1 found on system at: /usr/bin/haddock
> No happy found
> Using haskell-suite found on system at: haskell-suite-dummy-location
> Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
> No hmake found
> Using hpc version 0.68 found on system at: /usr/bin/hpc
> Using hsc2hs version 0.68.7 found on system at: /usr/bin/hsc2hs
> No hscolour found
> No jhc found
> Using ld found on system at: /usr/bin/x86_64-linux-gnu-ld.gold
> Using pkg-config version 1.8.1 found on system at: /usr/bin/pkg-config
> Using runghc version 9.0.2 found on system at: /usr/bin/runghc
> Using strip version 2.40 found on system at: /usr/bin/strip
> Using tar found on system at: /bin/tar
> No uhc found
> touch configure-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'build_recipe'
> Running dh_listpackages
> libghc-gi-vte-dev
> libghc-gi-vte-prof
> libghc-gi-vte-doc
> Preprocessing library for gi-vte-2.91.30..
> Building library for gi-vte-2.91.30..
> [ 1 of 19] Compiling GI.Vte.Config    ( GI/Vte/Config.hs, dist-ghc/build/GI/Vte/Config.o, dist-ghc/build/GI/Vte/Config.dyn_o )
> [ 2 of 19] Compiling GI.Vte.Constants ( GI/Vte/Constants.hs, dist-ghc/build/GI/Vte/Constants.o, dist-ghc/build/GI/Vte/Constants.dyn_o )
> [ 3 of 19] Compiling GI.Vte.Enums[boot] ( GI/Vte/Enums.hs-boot, dist-ghc/build/GI/Vte/Enums.o-boot, dist-ghc/build/GI/Vte/Enums.dyn_o )
> [ 4 of 19] Compiling GI.Vte.Enums     ( GI/Vte/Enums.hs, dist-ghc/build/GI/Vte/Enums.o, dist-ghc/build/GI/Vte/Enums.dyn_o )
> [ 5 of 19] Compiling GI.Vte.Flags[boot] ( GI/Vte/Flags.hs-boot, dist-ghc/build/GI/Vte/Flags.o-boot, dist-ghc/build/GI/Vte/Flags.dyn_o )
> [ 6 of 19] Compiling GI.Vte.Flags     ( GI/Vte/Flags.hs, dist-ghc/build/GI/Vte/Flags.o, dist-ghc/build/GI/Vte/Flags.dyn_o )
> [ 7 of 19] Compiling GI.Vte.Functions ( GI/Vte/Functions.hs, dist-ghc/build/GI/Vte/Functions.o, dist-ghc/build/GI/Vte/Functions.dyn_o )
> [ 8 of 19] Compiling GI.Vte.Objects.Pty[boot] ( GI/Vte/Objects/Pty.hs-boot, dist-ghc/build/GI/Vte/Objects/Pty.o-boot, dist-ghc/build/GI/Vte/Objects/Pty.dyn_o )
> [ 9 of 19] Compiling GI.Vte.Objects.Pty ( GI/Vte/Objects/Pty.hs, dist-ghc/build/GI/Vte/Objects/Pty.o, dist-ghc/build/GI/Vte/Objects/Pty.dyn_o )
> 
> GI/Vte/Objects/Pty.hs:1289:129: error:
>     • Couldn't match type: IO ()
>                      with: Ptr () -> IO ()
>       Expected: GLib.Callbacks.SpawnChildSetupFunc_WithClosures
>         Actual: GLib.Callbacks.SpawnChildSetupFunc
>     • In the second argument of ‘GLib.Callbacks.wrap_SpawnChildSetupFunc’, namely
>         ‘jChildSetup’
>       In the first argument of ‘GLib.Callbacks.mk_SpawnChildSetupFunc’, namely
>         ‘(GLib.Callbacks.wrap_SpawnChildSetupFunc
>             (Just ptrchildSetup) jChildSetup)’
>       In a stmt of a 'do' block:
>         jChildSetup' <- GLib.Callbacks.mk_SpawnChildSetupFunc
>                           (GLib.Callbacks.wrap_SpawnChildSetupFunc
>                              (Just ptrchildSetup) jChildSetup)
>      |
> 1289 |             jChildSetup' <- GLib.Callbacks.mk_SpawnChildSetupFunc (GLib.Callbacks.wrap_SpawnChildSetupFunc (Just ptrchildSetup) jChildSetup)
>      |                                                                                                                                 ^^^^^^^^^^^
> 
> GI/Vte/Objects/Pty.hs:1301:121: error:
>     • Couldn't match type: IO ()
>                      with: Ptr () -> IO ()
>       Expected: Gio.Callbacks.AsyncReadyCallback_WithClosures
>         Actual: Gio.Callbacks.AsyncReadyCallback
>     • In the second argument of ‘Gio.Callbacks.wrap_AsyncReadyCallback’, namely
>         ‘jCallback’
>       In the first argument of ‘Gio.Callbacks.mk_AsyncReadyCallback’, namely
>         ‘(Gio.Callbacks.wrap_AsyncReadyCallback
>             (Just ptrcallback) jCallback)’
>       In a stmt of a 'do' block:
>         jCallback' <- Gio.Callbacks.mk_AsyncReadyCallback
>                         (Gio.Callbacks.wrap_AsyncReadyCallback
>                            (Just ptrcallback) jCallback)
>      |
> 1301 |             jCallback' <- Gio.Callbacks.mk_AsyncReadyCallback (Gio.Callbacks.wrap_AsyncReadyCallback (Just ptrcallback) jCallback)
>      |                                                                                                                         ^^^^^^^^^
> -e: error: debian/hlibrary.setup build --builddir=dist-ghc returned exit code 1
>  at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 880.
> 	Debian::Debhelper::Dh_Lib::error("debian/hlibrary.setup build --builddir=dist-ghc returned exit"...) called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 610
> 	Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup build --builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 473
> 	Debian::Debhelper::Dh_Lib::doit("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 650
> 	Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe() called at -e line 1
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:158: build-ghc-stamp] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/haskell-gi-vte_2.91.30-1_unstable.log

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