Your message dated Mon, 27 May 2013 10:18:33 +0000 with message-id <[email protected]> and subject line Bug#706080: fixed in ftphs 1.0.8-2 has caused the Debian Bug report #706080, regarding FTBFS with GHC 7.6.2 (experimental) to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 706080: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706080 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: ftphs Version: 1.0.8-1 Severity: normal Tags: upstream Hi, I tested this on Ubuntu Raring, but it will apply to Debian too. ,---- | Preprocessing library ftphs-1.0.8... | [1 of 4] Compiling Network.FTP.Client.Parser ( src/Network/FTP/Client/Parser.hs, dist-ghc/build/Network/FTP/Client/Parser.o ) | | src/Network/FTP/Client/Parser.hs:251:9: Warning: | Pattern match(es) are overlapped | In an equation for `procq': procq ('"' : '"' : xs) = ... | [2 of 4] Compiling Network.FTP.Server.Parser ( src/Network/FTP/Server/Parser.hs, dist-ghc/build/Network/FTP/Server/Parser.o ) | [3 of 4] Compiling Network.FTP.Server ( src/Network/FTP/Server.hs, dist-ghc/build/Network/FTP/Server.o ) | | src/Network/FTP/Server.hs:169:18: Not in scope: `try' | | src/Network/FTP/Server.hs:217:33: Not in scope: `catch' | make: *** [build-ghc-stamp] Error 1 `---- Fix attached but I'm not sure about uploading as IIRC we were considering removing ftphs. Are we? Cheers, Iain Lane [ [email protected] ] Debian Developer [ [email protected] ] Ubuntu Developer [ [email protected] ] -- System Information: Debian Release: wheezy/sid APT prefers raring-updates APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 'raring-proposed'), (500, 'raring') Architecture: amd64 (x86_64) Kernel: Linux 3.8.0-19-generic (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8) Shell: /bin/sh linked to /bin/dashdiff -Nru ftphs-1.0.8/debian/changelog ftphs-1.0.8/debian/changelog diff -Nru ftphs-1.0.8/debian/patches/ghc-7.6-compatibility ftphs-1.0.8/debian/patches/ghc-7.6-compatibility --- ftphs-1.0.8/debian/patches/ghc-7.6-compatibility 1970-01-01 01:00:00.000000000 +0100 +++ ftphs-1.0.8/debian/patches/ghc-7.6-compatibility 2013-04-24 15:05:49.000000000 +0100 @@ -0,0 +1,40 @@ +Description: Port to work with catch from Control.Exception as found in GHC 7.6 +Author: Iain Lane <[email protected]> +Forwarded: yes + +--- ftphs-1.0.8.orig/src/Network/FTP/Server.hs ++++ ftphs-1.0.8/src/Network/FTP/Server.hs +@@ -1,3 +1,4 @@ ++{-# LANGUAGE ScopedTypeVariables #-} + {- arch-tag: FTP server support + Copyright (C) 2004 John Goerzen <[email protected]> + +@@ -98,7 +99,7 @@ import Text.Printf + import Data.Char + import Data.IORef + import Data.List +-import Control.Exception(finally) ++import Control.Exception(finally, try, catch, IOException) + import System.IO + + data DataType = ASCII | Binary +@@ -168,8 +169,8 @@ trapIOError :: FTPServer -> IO a -> (a - + trapIOError h testAction remainingAction = + do result <- try testAction + case result of +- Left err -> do sendReply h 550 (show err) +- return True ++ Left (err :: IOException) -> do sendReply h 550 (show err) ++ return True + Right result -> remainingAction result + + forceLogin :: CommandHandler -> CommandHandler +@@ -214,7 +215,7 @@ commandLoop h@(FTPServer fh _ _) = + ("Closing due to error: " ++ (show e)) + hClose fh + return False +- in do continue <- (flip catch) errorhandler ++ in do continue <- (flip catch) (\(e :: IOException) -> errorhandler e) + (do x <- parseCommand fh + case x of + Left err -> do sendReply h 500 $ diff -Nru ftphs-1.0.8/debian/patches/series ftphs-1.0.8/debian/patches/series --- ftphs-1.0.8/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ ftphs-1.0.8/debian/patches/series 2013-04-24 15:02:58.000000000 +0100 @@ -0,0 +1 @@ +ghc-7.6-compatibility
--- End Message ---
--- Begin Message ---Source: ftphs Source-Version: 1.0.8-2 We believe that the bug you reported is fixed in the latest version of ftphs, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Colin Watson <[email protected]> (supplier of updated ftphs 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Mon, 27 May 2013 10:30:34 +0100 Source: ftphs Binary: libghc-ftphs-dev libghc-ftphs-prof libghc-ftphs-doc Architecture: source all amd64 Version: 1.0.8-2 Distribution: unstable Urgency: low Maintainer: Debian Haskell Group <[email protected]> Changed-By: Colin Watson <[email protected]> Description: libghc-ftphs-dev - FTP Client and Server Library for Haskell, GHC package libghc-ftphs-doc - FTP Client and Server Library for Haskell, documentation libghc-ftphs-prof - FTP Client and Server Library for Haskell, profiling data Closes: 706080 Changes: ftphs (1.0.8-2) unstable; urgency=low . [ Joachim Breitner ] * Depend on haskell-devscripts 0.8.13 to ensure this package is built against experimental * Add watchfile * Enable compat level 9 * Bump standards version to 3.9.4 . [ Iain Lane ] * debian/patches/ghc-7.6-compatibility: Update to work with Control.Exception.{try,catch} in GHC 7.6 (closes: #706080). Checksums-Sha1: 8cc432ae170f74672ec5abad2fc1b7816575a2f4 2486 ftphs_1.0.8-2.dsc d15e9716cb5d972995b35c44b457b1d5d936d718 8891 ftphs_1.0.8-2.debian.tar.gz aece02e7077eeb15c42951554424c17b9804f7cf 81584 libghc-ftphs-doc_1.0.8-2_all.deb a96b4f4d2d2135ea5b9daa693341b8b7ccf8f2d1 195906 libghc-ftphs-dev_1.0.8-2_amd64.deb 9e618bf88ccf87c8038b49b4db552b2e95969ed2 181864 libghc-ftphs-prof_1.0.8-2_amd64.deb Checksums-Sha256: 8dd5b5ab8e3e6ea99d05c8b3d14de5f2284dbf28bb8bda74000ceae18e934012 2486 ftphs_1.0.8-2.dsc c974853bfe98d9ab858d0e6364d638478ad2403c67d65b597f67e97092fdd362 8891 ftphs_1.0.8-2.debian.tar.gz 24fef24d9e71ee95ba69141dd640f2b9fa14fc5d8edd45b23cb51b605c11cdfe 81584 libghc-ftphs-doc_1.0.8-2_all.deb 634e7d1af5af3bd98f38afe1f1273f0afce06c8356f6dab8af8f09330f19485c 195906 libghc-ftphs-dev_1.0.8-2_amd64.deb a4030ff0f82900108a8e57c14f07d1cfc6a2161f2bd29ee17991fcd326046ef9 181864 libghc-ftphs-prof_1.0.8-2_amd64.deb Files: 35209a92b61c8ef704f2e93d1f2eb9ae 2486 haskell extra ftphs_1.0.8-2.dsc d638e238c7fe82809e5ca162a413b6ce 8891 haskell extra ftphs_1.0.8-2.debian.tar.gz c875a3aa084e206b7d0b75f326b7e498 81584 doc extra libghc-ftphs-doc_1.0.8-2_all.deb 0530cd4fd9e9892f4abcc5ff873bb568 195906 haskell extra libghc-ftphs-dev_1.0.8-2_amd64.deb fd002a1d4136f7da0c8a201ae1eb0e0e 181864 haskell extra libghc-ftphs-prof_1.0.8-2_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Colin Watson <[email protected]> -- Debian developer iQIVAwUBUaMrkDk1h9l9hlALAQj8UQ//Tm0FiTu4MhV8E/8RlVTKFSB8in/Vnz/r CFab9bVhZsfywT156O+46DK4AxGuHjz8e0sDcIXrFU8GrE9E/oBYPhLsjWANMy/M Z/5cR0pbZqF/ieSlbbNSIvAJu2QRO2WQaf4UG99aRFZG8yD9FhBTAnTUhNr3ELTs chZhnmvhenjRutU/X+GfAlZpjs+GtZpyXjvIj4cGlL/TCbammhaSVJRhph2ABBIw HkKaFzx0QFvPG99x7osTL0cx7d/OQAGlHrwYjyh7Kp3U6DIXytkj98Ku3KRce6O7 XysldN7UHijXzupm6J9zRN5JanWjgpG8bNaKx5uVLbzbz5eIJtK8Q9ZL8N4BG38b AeRi09ZzG6ye0N+Zi2bWJGtF+2VKWx8QHBjxjuC3JYOxavMotfcmRL6pw7m1MYQK QgXeZNpQMrCrBXSUVTnEzBe9MxDAwT4TWiS2n4WjAHhCGO1uGhVRlTvL3/FV6cWW Fk2PTAUjNYfadhZQcbPS9dpYw8v/z9ir+Z0aj4uqjIjIBJpTO26CToNj7yvH5xX/ dVi1kL/L6XVFe6kXAR+ZzOE6zOO8ENoUTkDXrF2RZc3WTN10Ch2y7M2nJ/bjQNKA XxMVUgfSjSp4tVwlBo/MsSB8NMYA9is5X5AXD58m7ynBvF8SVfMabk8NC7Z7zwIq GyJdKlY7bxw= =9+8N -----END PGP SIGNATURE-----
--- End Message ---

