Source: haskell-stm-delay
Version: 0.1.1.1-5
Severity: important
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20250428 ftbfs-trixie ftbfs-randomly

Hi,

Your package fails to build randomly on amd64: In the exact same
environment, sometimes it builds fine, and sometimes it fails.

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-stm-delay-doc.substvars
> dh_installdirs -plibghc-stm-delay-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/BBw_vKEQHg -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> libghc-stm-delay-dev
> libghc-stm-delay-prof
> libghc-stm-delay-doc
> Running dh_listpackages
> libghc-stm-delay-dev
> libghc-stm-delay-prof
> libghc-stm-delay-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/stm-delay-0.1.1.1/ 
> --datasubdir=stm-delay --htmldir=/usr/share/doc/libghc-stm-delay-doc/html/ 
> --enable-library-profiling --enable-tests
> Using Parsec parser
> Configuring stm-delay-0.1.1.1...
> Dependency base >=4.3 && <5: using base-4.18.2.1
> Dependency stm: using stm-2.5.1.0
> Dependency base >=4.3 && <5: using base-4.18.2.1
> Dependency stm: using stm-2.5.1.0
> Dependency stm-delay: using stm-delay-0.1.1.1
> Dependency base >=4.3 && <5: using base-4.18.2.1
> Dependency stm: using stm-2.5.1.0
> Dependency stm-delay: using stm-delay-0.1.1.1
> Source component graph:
>     component lib
>     component test:test dependency lib
>     component test:test-threaded dependency lib
> Configured component graph:
>     component stm-delay-0.1.1.1-Alf5Rb27t9K2GXRdNh0sB7
>         include base-4.18.2.1
>         include stm-2.5.1.0
>     component stm-delay-0.1.1.1-4wV1EYT2P9h7RDXA8fuUdr-test
>         include base-4.18.2.1
>         include stm-2.5.1.0
>         include stm-delay-0.1.1.1-Alf5Rb27t9K2GXRdNh0sB7
>     component stm-delay-0.1.1.1-5pRiNm8ahbAAqobmH2gvZZ-test-threaded
>         include base-4.18.2.1
>         include stm-2.5.1.0
>         include stm-delay-0.1.1.1-Alf5Rb27t9K2GXRdNh0sB7
> Linked component graph:
>     unit stm-delay-0.1.1.1-Alf5Rb27t9K2GXRdNh0sB7
>         include base-4.18.2.1
>         include stm-2.5.1.0
>         
> Control.Concurrent.STM.Delay=stm-delay-0.1.1.1-Alf5Rb27t9K2GXRdNh0sB7:Control.Concurrent.STM.Delay
>     unit stm-delay-0.1.1.1-4wV1EYT2P9h7RDXA8fuUdr-test
>         include base-4.18.2.1
>         include stm-2.5.1.0
>         include stm-delay-0.1.1.1-Alf5Rb27t9K2GXRdNh0sB7
>     unit stm-delay-0.1.1.1-5pRiNm8ahbAAqobmH2gvZZ-test-threaded
>         include base-4.18.2.1
>         include stm-2.5.1.0
>         include stm-delay-0.1.1.1-Alf5Rb27t9K2GXRdNh0sB7
> Ready component graph:
>     definite stm-delay-0.1.1.1-Alf5Rb27t9K2GXRdNh0sB7
>         depends base-4.18.2.1
>         depends stm-2.5.1.0
>     definite stm-delay-0.1.1.1-5pRiNm8ahbAAqobmH2gvZZ-test-threaded
>         depends base-4.18.2.1
>         depends stm-2.5.1.0
>         depends stm-delay-0.1.1.1-Alf5Rb27t9K2GXRdNh0sB7
>     definite stm-delay-0.1.1.1-4wV1EYT2P9h7RDXA8fuUdr-test
>         depends base-4.18.2.1
>         depends stm-2.5.1.0
>         depends stm-delay-0.1.1.1-Alf5Rb27t9K2GXRdNh0sB7
> Using Cabal-3.10.3.0 compiled by ghc-9.6
> Using compiler: ghc-9.6.6
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.6.6/stm-delay-0.1.1.1-Alf5Rb27t9K2GXRdNh0sB7
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.6.6
> Private executables installed in:
> /usr/lib/x86_64-linux-ghc-9.6.6/stm-delay-0.1.1.1
> Data files installed in: /usr/share/stm-delay
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-9.6.6/stm-delay-0.1.1.1
> 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 14 found on system at: /usr/bin/x86_64-linux-gnu-gcc
> Using ghc version 9.6.6 found on system at: /usr/bin/ghc
> Using ghc-pkg version 9.6.6 found on system at: /usr/bin/ghc-pkg-9.6.6
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using haddock version 2.29.2 found on system at: /usr/bin/haddock-ghc-9.6.6
> 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-ghc-9.6.6
> Using hsc2hs version 0.68.9 found on system at: /usr/bin/hsc2hs-ghc-9.6.6
> No hscolour found
> No jhc found
> Using ld found on system at: /usr/bin/x86_64-linux-gnu-ld
> No pkg-config found
> Using runghc version 9.6.6 found on system at: /usr/bin/runghc-9.6.6
> Using strip version 2.44 found on system at: /usr/bin/strip
> Using tar found on system at: /usr/bin/tar
> No uhc found
> touch configure-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
>       -E 'build_recipe'
> Running dh_listpackages
> libghc-stm-delay-dev
> libghc-stm-delay-prof
> libghc-stm-delay-doc
> Preprocessing library for stm-delay-0.1.1.1..
> Building library for stm-delay-0.1.1.1..
> [1 of 1] Compiling Control.Concurrent.STM.Delay ( 
> Control/Concurrent/STM/Delay.hs, 
> dist-ghc/build/Control/Concurrent/STM/Delay.o, 
> dist-ghc/build/Control/Concurrent/STM/Delay.dyn_o )
> 
> Control/Concurrent/STM/Delay.hs:124:1: warning: [GHC-38417] 
> [-Wmissing-signatures]
>     Top-level binding with no type signature:
>       implEvent :: Ev.TimerManager -> Int -> IO Delay
>     |
> 124 | implEvent mgr t0 = do
>     | ^^^^^^^^^
> [1 of 1] Compiling Control.Concurrent.STM.Delay ( 
> Control/Concurrent/STM/Delay.hs, 
> dist-ghc/build/Control/Concurrent/STM/Delay.p_o )
> 
> Control/Concurrent/STM/Delay.hs:124:1: warning: [GHC-38417] 
> [-Wmissing-signatures]
>     Top-level binding with no type signature:
>       implEvent :: Ev.TimerManager -> Int -> IO Delay
>     |
> 124 | implEvent mgr t0 = do
>     | ^^^^^^^^^
> Preprocessing test suite 'test-threaded' for stm-delay-0.1.1.1..
> Building test suite 'test-threaded' for stm-delay-0.1.1.1..
> [1 of 1] Compiling Main             ( test/Main.hs, 
> dist-ghc/build/test-threaded/test-threaded-tmp/Main.o )
> [2 of 2] Linking dist-ghc/build/test-threaded/test-threaded
> Preprocessing test suite 'test' for stm-delay-0.1.1.1..
> Building test suite 'test' for stm-delay-0.1.1.1..
> [1 of 1] Compiling Main             ( test/Main.hs, 
> dist-ghc/build/test/test-tmp/Main.o )
> [2 of 2] Linking dist-ghc/build/test/test
> touch build-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
>       -E 'check_recipe'
> Running dh_listpackages
> libghc-stm-delay-dev
> libghc-stm-delay-prof
> libghc-stm-delay-doc
> Running 2 test suites...
> Test suite test-threaded: RUNNING...
> Test suite test-threaded: PASS
> Test suite logged to: dist-ghc/test/stm-delay-0.1.1.1-test-threaded.log
> Test suite test: RUNNING...
> test: user error (Pattern match failure in 'do' block at test/Main.hs:74:5-8)
> Test suite test: FAIL
> Test suite logged to: dist-ghc/test/stm-delay-0.1.1.1-test.log
> 1 of 2 test suites (1 of 2 test cases) passed.
> -e: error: debian/hlibrary.setup test --builddir=dist-ghc 
> --show-details=direct returned exit code 1
>  at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 877.
>       Debian::Debhelper::Dh_Lib::error("debian/hlibrary.setup test 
> --builddir=dist-ghc --show-details"...) called at 
> /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 616
>       Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup test 
> --builddir=dist-ghc --show-details"...) called at 
> /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 479
>       Debian::Debhelper::Dh_Lib::doit("debian/hlibrary.setup", "test", 
> "--builddir=dist-ghc", "--show-details=direct") called at 
> /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 692
>       Debian::Debhelper::Buildsystem::Haskell::Recipes::check_recipe() called 
> at -e line 1
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:163: check-ghc-stamp] Error 25


The full build log is available from:
http://qa-logs.debian.net/2025/04/28/haskell-stm-delay_0.1.1.1-5_unstable.log

You can find other build logs (including successful ones) in:
http://qa-logs.debian.net/2025/04/28/

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

Reply via email to