Source: haskell-random-source Version: 0.3.0.11-3 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@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-random-source-doc.substvars > dh_installdirs -plibghc-random-source-doc \ > > perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \ > -E 'make_setup_recipe' > Running ghc --make Setup.lhs -o debian/hlibrary.setup > [1 of 2] Compiling Main ( Setup.lhs, Setup.o ) > [2 of 2] Linking debian/hlibrary.setup > perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \ > -E 'configure_recipe' > Running find . ! -newer /tmp/VqnBFXN1pm -exec touch -d 1998-01-01 UTC {} ; > Running dh_listpackages > libghc-random-source-dev > libghc-random-source-prof > libghc-random-source-doc > Running dh_listpackages > libghc-random-source-dev > libghc-random-source-prof > libghc-random-source-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/random-source-0.3.0.11/ > --datasubdir=random-source > --htmldir=/usr/share/doc/libghc-random-source-doc/html/ > --enable-library-profiling > Using Parsec parser > Configuring random-source-0.3.0.11... > Flags chosen: base4=True, mtl2=True > Dependency base >=4 && <5: using base-4.17.2.0 > Dependency flexible-defaults >=0.0.0.2: using flexible-defaults-0.0.3 > Dependency mersenne-random-pure64: using mersenne-random-pure64-0.2.2.0 > Dependency mtl >=2 && <3: using mtl-2.2.2 > Dependency mwc-random: using mwc-random-0.15.0.2 > Dependency primitive: using primitive-0.8.0.0 > Dependency random >=1.2.0 && <1.3: using random-1.2.1.1 > Dependency stateref >=0.3 && <0.4: using stateref-0.3 > Dependency syb: using syb-0.7.2.4 > Dependency template-haskell: using template-haskell-2.19.0.0 > Dependency th-extras: using th-extras-0.0.0.6 > Source component graph: component lib > Configured component graph: > component random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J > include base-4.17.2.0 > include flexible-defaults-0.0.3-KFvhARZBLCOBba1iTrgx1d > include mersenne-random-pure64-0.2.2.0-3bJvbdZXsQkBjIh9GURJ3k > include mtl-2.2.2 > include mwc-random-0.15.0.2-5v49xpOEU6WFI3BQ1ublFP > include primitive-0.8.0.0-LlEyZnmQ2mlGS0nNflVSqQ > include random-1.2.1.1-Aatha6E6c0aE6gEWaLlLCn > include stateref-0.3-21fwDCeEkQ5IAXqad2E21C > include syb-0.7.2.4-URkW17Cd7D7rpu7G0BDIE > include template-haskell-2.19.0.0 > include th-extras-0.0.0.6-9JCEX3123VjFpaB83xMotc > Linked component graph: > unit random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J > include base-4.17.2.0 > include flexible-defaults-0.0.3-KFvhARZBLCOBba1iTrgx1d > include mersenne-random-pure64-0.2.2.0-3bJvbdZXsQkBjIh9GURJ3k > include mtl-2.2.2 > include mwc-random-0.15.0.2-5v49xpOEU6WFI3BQ1ublFP > include primitive-0.8.0.0-LlEyZnmQ2mlGS0nNflVSqQ > include random-1.2.1.1-Aatha6E6c0aE6gEWaLlLCn > include stateref-0.3-21fwDCeEkQ5IAXqad2E21C > include syb-0.7.2.4-URkW17Cd7D7rpu7G0BDIE > include template-haskell-2.19.0.0 > include th-extras-0.0.0.6-9JCEX3123VjFpaB83xMotc > > Data.Random.Internal.Source=random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J:Data.Random.Internal.Source,Data.Random.Internal.Words=random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J:Data.Random.Internal.Words,Data.Random.Source=random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J:Data.Random.Source,Data.Random.Source.DevRandom=random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J:Data.Random.Source.DevRandom,Data.Random.Source.IO=random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J:Data.Random.Source.IO,Data.Random.Source.MWC=random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J:Data.Random.Source.MWC,Data.Random.Source.PureMT=random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J:Data.Random.Source.PureMT,Data.Random.Source.Std=random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J:Data.Random.Source.Std,Data.Random.Source.StdGen=random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J:Data.Random.Source.StdGen > Ready component graph: > definite random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J > depends base-4.17.2.0 > depends flexible-defaults-0.0.3-KFvhARZBLCOBba1iTrgx1d > depends mersenne-random-pure64-0.2.2.0-3bJvbdZXsQkBjIh9GURJ3k > depends mtl-2.2.2 > depends mwc-random-0.15.0.2-5v49xpOEU6WFI3BQ1ublFP > depends primitive-0.8.0.0-LlEyZnmQ2mlGS0nNflVSqQ > depends random-1.2.1.1-Aatha6E6c0aE6gEWaLlLCn > depends stateref-0.3-21fwDCeEkQ5IAXqad2E21C > depends syb-0.7.2.4-URkW17Cd7D7rpu7G0BDIE > depends template-haskell-2.19.0.0 > depends th-extras-0.0.0.6-9JCEX3123VjFpaB83xMotc > Using Cabal-3.8.1.0 compiled by ghc-9.4 > Using compiler: ghc-9.4.7 > Using install prefix: /usr > Executables installed in: /usr/bin > Libraries installed in: > /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.4.7/random-source-0.3.0.11-CPnrTi8UKmI2LUX1LaGb3J > Dynamic Libraries installed in: > /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.4.7 > Private executables installed in: > /usr/lib/x86_64-linux-ghc-9.4.7/random-source-0.3.0.11 > Data files installed in: /usr/share/random-source > Documentation installed in: > /usr/share/doc/x86_64-linux-ghc-9.4.7/random-source-0.3.0.11 > 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.4.7 found on system at: /usr/bin/ghc > Using ghc-pkg version 9.4.7 found on system at: /usr/bin/ghc-pkg-9.4.7 > No ghcjs found > No ghcjs-pkg found > No greencard found > Using haddock version 2.27.0 found on system at: /usr/bin/haddock-ghc-9.4.7 > 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.4.7 > Using hsc2hs version 0.68.8 found on system at: /usr/bin/hsc2hs-ghc-9.4.7 > Using hscolour version 1.24 found on system at: /usr/bin/HsColour > No jhc found > Using ld found on system at: /usr/bin/x86_64-linux-gnu-ld.gold > No pkg-config found > Using runghc version 9.4.7 found on system at: /usr/bin/runghc-9.4.7 > Using strip version 2.41 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-random-source-dev > libghc-random-source-prof > libghc-random-source-doc > Preprocessing library for random-source-0.3.0.11.. > Building library for random-source-0.3.0.11.. > [ 1 of 11] Compiling Data.Random.Internal.Words ( > src/Data/Random/Internal/Words.hs, > dist-ghc/build/Data/Random/Internal/Words.o, > dist-ghc/build/Data/Random/Internal/Words.dyn_o ) > [ 2 of 11] Compiling Data.Random.Source.Internal.Prim ( > src/Data/Random/Source/Internal/Prim.hs, > dist-ghc/build/Data/Random/Source/Internal/Prim.o, > dist-ghc/build/Data/Random/Source/Internal/Prim.dyn_o ) > [ 3 of 11] Compiling Data.Random.Internal.Source ( > src/Data/Random/Internal/Source.hs, > dist-ghc/build/Data/Random/Internal/Source.o, > dist-ghc/build/Data/Random/Internal/Source.dyn_o ) > [ 4 of 11] Compiling Data.Random.Source.Internal.TH ( > src/Data/Random/Source/Internal/TH.hs, > dist-ghc/build/Data/Random/Source/Internal/TH.o, > dist-ghc/build/Data/Random/Source/Internal/TH.dyn_o ) > [ 5 of 11] Compiling Data.Random.Source ( src/Data/Random/Source.hs, > dist-ghc/build/Data/Random/Source.o, dist-ghc/build/Data/Random/Source.dyn_o ) > [ 6 of 11] Compiling Data.Random.Source.DevRandom ( > src/Data/Random/Source/DevRandom.hs, > dist-ghc/build/Data/Random/Source/DevRandom.o, > dist-ghc/build/Data/Random/Source/DevRandom.dyn_o ) > [ 7 of 11] Compiling Data.Random.Source.IO ( src/Data/Random/Source/IO.hs, > dist-ghc/build/Data/Random/Source/IO.o, > dist-ghc/build/Data/Random/Source/IO.dyn_o ) > [ 8 of 11] Compiling Data.Random.Source.MWC ( src/Data/Random/Source/MWC.hs, > dist-ghc/build/Data/Random/Source/MWC.o, > dist-ghc/build/Data/Random/Source/MWC.dyn_o ) > > src/Data/Random/Source/MWC.hs:43:2: warning: > [-Wtype-equality-requires-operators] > The use of ‘~’ without TypeOperators > will become an error in a future GHC release. > Suggested fix: Perhaps you intended to use TypeOperators > | > 43 | $(monadRandom [d| > | ^^^^^^^^^^^^^^^^... > > src/Data/Random/Source/MWC.hs:44:28: warning: > [-Wtype-equality-requires-operators] > The use of ‘~’ without TypeOperators > will become an error in a future GHC release. > Suggested fix: Perhaps you intended to use TypeOperators > | > 44 | instance (PrimMonad m, s ~ PrimState m) => MonadRandom (ReaderT (Gen > s) m) where > | ^ > [ 9 of 11] Compiling Data.Random.Source.PureMT ( > src/Data/Random/Source/PureMT.hs, dist-ghc/build/Data/Random/Source/PureMT.o, > dist-ghc/build/Data/Random/Source/PureMT.dyn_o ) > [10 of 11] Compiling Data.Random.Source.Std ( src/Data/Random/Source/Std.hs, > dist-ghc/build/Data/Random/Source/Std.o, > dist-ghc/build/Data/Random/Source/Std.dyn_o ) > [11 of 11] Compiling Data.Random.Source.StdGen ( > src/Data/Random/Source/StdGen.hs, dist-ghc/build/Data/Random/Source/StdGen.o, > dist-ghc/build/Data/Random/Source/StdGen.dyn_o ) > > src/Data/Random/Source/StdGen.hs:35:10: error: > • Non type-variable argument > in the constraint: ModifyRef (Ref m2 StdGen) m1 StdGen > • In the instance declaration for ‘RandomSource m1 (Ref m2 StdGen)’ > Suggested fix: Perhaps you intended to use FlexibleContexts > | > 35 | instance (Monad m1, ModifyRef (Ref m2 StdGen) m1 StdGen) => RandomSource > m1 (Ref m2 StdGen) where > | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > src/Data/Random/Source/StdGen.hs:38:10: error: > • Non type-variable argument > in the constraint: ModifyRef (IORef StdGen) m StdGen > • In the instance declaration for ‘RandomSource m (IORef StdGen)’ > Suggested fix: Perhaps you intended to use FlexibleContexts > | > 38 | instance (Monad m, ModifyRef (IORef StdGen) m StdGen) => RandomSource > m (IORef StdGen) where > | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > src/Data/Random/Source/StdGen.hs:52:10: error: > • Non type-variable argument > in the constraint: ModifyRef (STRef s StdGen) m StdGen > • In the instance declaration for ‘RandomSource m (STRef s StdGen)’ > Suggested fix: Perhaps you intended to use FlexibleContexts > | > 52 | instance (Monad m, ModifyRef (STRef s StdGen) m StdGen) => RandomSource > m (STRef s StdGen) where > | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > -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 656 > 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/10/27/haskell-random-source_0.3.0.11-3_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&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.