- Package:
- src:haskell-knob
- Source:
- haskell-knob
- Submitter:
- Adrian Bunk
- Date:
- 2022-07-03 09:51:05 UTC
- Severity:
- serious
- Tags:
https://buildd.debian.org/status/package.php?p=haskell-knob&suite=sid ... lib/Data/Knob.hs:71:17: error: • Couldn't match type ‘()’ with ‘Integer’ Expected: IO Integer Actual: IO () • In a stmt of a 'do' block: MVar.modifyMVar_ var (\ _ -> return (fromInteger off)) In the expression: do checkOffset off MVar.modifyMVar_ var (\ _ -> return (fromInteger off)) In an equation for ‘IO.seek’: IO.seek (Device _ _ var) IO.AbsoluteSeek off = do checkOffset off MVar.modifyMVar_ var (\ _ -> return (fromInteger off)) | 71 | MVar.modifyMVar_ var (\_ -> return (fromInteger off)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib/Data/Knob.hs:74:17: error: • Couldn't match type ‘()’ with ‘Integer’ Expected: IO Integer Actual: IO () • In a stmt of a 'do' block: MVar.modifyMVar_ var (\ old_off -> do let new_off = ... checkOffset new_off return (fromInteger new_off)) In the expression: do MVar.modifyMVar_ var (\ old_off -> do let ... ....) In an equation for ‘IO.seek’: IO.seek (Device _ _ var) IO.RelativeSeek off = do MVar.modifyMVar_ var (\ old_off -> do ...) | 74 | MVar.modifyMVar_ var (\old_off -> do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... lib/Data/Knob.hs:80:17: error: • Couldn't match type ‘()’ with ‘Integer’ Expected: IO Integer Actual: IO () • In a stmt of a 'do' block: MVar.modifyMVar_ off_var (\ _ -> do size <- IO.getSize dev let new_off = ... checkOffset new_off ....) In the expression: do MVar.modifyMVar_ off_var (\ _ -> do size <- IO.getSize dev ....) In an equation for ‘IO.seek’: IO.seek dev@(Device _ _ off_var) IO.SeekFromEnd off = do MVar.modifyMVar_ off_var (\ _ -> do ...) | 80 | MVar.modifyMVar_ off_var (\_ -> do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 107. Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup", "haddock", "--builddir=dist-ghc", "--with-haddock=/usr/bin/haddock", "--with-ghc=ghc", "--verbose=2", "--html", "--hoogle", ...) called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 131 Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", "haddock", "--builddir=dist-ghc", "--with-haddock=/usr/bin/haddock", "--with-ghc=ghc", "--verbose=2", "--html", "--hoogle", ...) called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 707 Debian::Debhelper::Buildsystem::Haskell::Recipes::haddock_recipe() called at -e line 1 make: *** [/usr/share/cdbs/1/class/hlibrary.mk:153: build-ghc-stamp] Error 25
We believe that the bug you reported is fixed in the latest version of haskell-knob, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1013786@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ilias Tsitsimpis <iliastsi@debian.org> (supplier of updated haskell-knob package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Sun, 03 Jul 2022 12:38:05 +0300 Source: haskell-knob Architecture: source Version: 0.2-1 Distribution: unstable Urgency: medium Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org> Changed-By: Ilias Tsitsimpis <iliastsi@debian.org> Closes: 1013786 Changes: haskell-knob (0.2-1) unstable; urgency=medium . * Declare compliance with Debian policy 4.6.1 * New upstream release (Closes: #1013786) Checksums-Sha1: cf793493f697ffff9b3f7455836200ac2ea5c4e1 2241 haskell-knob_0.2-1.dsc 5a97a95457d0aa0cfd155329e948e0c65c404466 5954 haskell-knob_0.2.orig.tar.gz 8e36fde4ed62fff84b41a364a5caef73dd552d1e 2660 haskell-knob_0.2-1.debian.tar.xz 0b1309c2f5c4f7c125c92c13fbdaed248b01fdeb 8218 haskell-knob_0.2-1_amd64.buildinfo Checksums-Sha256: 850573338898f64fbe1cd172695acd9e896951decd5791211cebbd26ee41fbc6 2241 haskell-knob_0.2-1.dsc 701bd0f745460cb5303250fe28ea76820681202d0587d3f3132ff059fc9b88dc 5954 haskell-knob_0.2.orig.tar.gz c890fd294d54862ef596b57cdfff2ead99d5b31c0dda44ef6758a2cf0297c9a9 2660 haskell-knob_0.2-1.debian.tar.xz 5b8f2588a6aa7e22d9e9355551cb0e7cfb091b022b23c2bce23212725f3c49dd 8218 haskell-knob_0.2-1_amd64.buildinfo Files: 46d35a3bc273fd2a4974cb8828610d89 2241 haskell optional haskell-knob_0.2-1.dsc 0170d61817da4d97d3f4b768e9ec5c27 5954 haskell optional haskell-knob_0.2.orig.tar.gz aa9f1738f28e55366a2defd7c6c04b43 2660 haskell optional haskell-knob_0.2-1.debian.tar.xz cce3a7b9da8323bb1713f5c778be785f 8218 haskell optional haskell-knob_0.2-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEJ9c8pfW11+AaUTb116hngMxkQDwFAmLBY/IUHGlsaWFzdHNp QGRlYmlhbi5vcmcACgkQ16hngMxkQDzGtBAAyQXP5/MqkJI12yqg7w9At05OQErm 7PL51sYhXseYoJmTfbf1C34bz5FDVBo0EsxbN5dHuhIbT5pVDTJrjZ2wdSSfHbje 71aFwQvJfoN8mULTDdM6vwie0zAw8I7dRBTZy1FdxBcOGyn4snHObVyxGnB6eFaB C5os/F9Chm73hbD7aoxIcsLk0M+MmW53KW7qVyuac3P1oW/vZqFBCv509uO7SlLN 4mH1pbTz2P2Q0KGreYj+cyzG6wS52L1JmJziCCmdYnxJovPemn2kFU3AbGCNmjQ6 Yz+J3KtqHS37hYWNDHTTm9yDUHhzOTAJ8bRwFbpeDEz6XcWrCwnu7ym5fFYhVeYi Sj7+NpEeQ2tr/Kw2Oy0Y+/gA3W0cAA2L8uPbv8kKQSxiKSpCZj9oPRTEMbAH54nf YUr1ujWLlzYIFBWTZISEiiGHApecI6GNgzWZoa5XmqkEUHUqZhBexQ1AkNDsUqgt Uo+u1naqWgY6ieXUqOctR6V1IINftGijQp8nXJziz14KfKZtz8+yHqVe7f96pDu9 9HyRj27Ng7QnOO+XZoWi4Q6AlPuqb327QWISYhl7J80n9JhouiNh9CQpnh/UrA/6 wRJ5Kks9X5uhkDAzdHKUlZoDCbXe/MeZ7XLd/CvDDhSxrwix400Igx+0ELykJycp cr6Ywt0bUVgu9UM= =2OTo -----END PGP SIGNATURE-----