Bug#1015801: haskell-reactive-banana FTBFS: error: A pragma is not allowed in this position

Adrian Bunk bunk at debian.org
Thu Jul 21 15:29:36 BST 2022


Source: haskell-reactive-banana
Version: 1.2.1.0-2
Severity: serious
Tags: ftbfs bookworm sid

https://buildd.debian.org/status/fetch.php?pkg=haskell-reactive-banana&arch=amd64&ver=1.2.1.0-2%2Bb3&stamp=1658412950&raw=0

...
src/Reactive/Banana/Prim/Combinators.hs:29:29: error:
    A pragma is not allowed in this position: {-# SCC mapP #-}
   |
29 |     p2 <- newPulse "mapP" $ {-# SCC mapP #-} fmap f <$> readPulseP p1
   |                             ^^^^^^^^^^^^^^^^^^^^^^^

src/Reactive/Banana/Prim/Combinators.hs:46:36: error:
    A pragma is not allowed in this position: {-# SCC filterJustP #-}
   |
46 |     p2 <- newPulse "filterJustP" $ {-# SCC filterJustP #-} join <$> readPulseP p1
   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Reactive/Banana/Prim/Combinators.hs:53:13: error:
    A pragma is not allowed in this position: {-# SCC unsafeMapIOP #-}
   |
53 |             {-# SCC unsafeMapIOP #-} eval =<< readPulseP p1
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Reactive/Banana/Prim/Combinators.hs:64:13: error:
    A pragma is not allowed in this position: {-# SCC unionWithP #-}
   |
64 |             {-# SCC unionWithP #-} eval <$> readPulseP px <*> readPulseP py
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Reactive/Banana/Prim/Combinators.hs:79:9: error:
    A pragma is not allowed in this position: {-# SCC applyP #-}
   |
79 |         {-# SCC applyP #-} fmap <$> readLatchP f <*> readPulseP x
   |         ^^^^^^^^^^^^^^^^^^^^^^^

src/Reactive/Banana/Prim/Combinators.hs:88:27: error:
    A pragma is not allowed in this position: {-# SCC mapL #-}
   |
88 | mapL f lx = cachedLatch $ {-# SCC mapL #-} f <$> getValueL lx
   |                           ^^^^^^^^^^^^^^^^^^

src/Reactive/Banana/Prim/Combinators.hs:92:5: error:
    A pragma is not allowed in this position: {-# SCC applyL #-}
   |
92 |     {-# SCC applyL #-} getValueL lf <*> getValueL lx
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Reactive/Banana/Prim/Combinators.hs:118:37: error:
    A pragma is not allowed in this position: {-# SCC executeP #-}
    |
118 |         p2 <- newPulse "executeP" $ {-# SCC executeP #-} eval =<< readPulseP p1
    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^
 at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 107.
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 131
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 642
	Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe() called at -e line 1
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:160: build-ghc-stamp] Error 25



More information about the Pkg-haskell-maintainers mailing list