Your message dated Wed, 28 Dec 2005 08:10:05 +0100 with message-id <[EMAIL PROTECTED]> and subject line haddock: FTBFS has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 19 Mar 2005 12:38:50 +0000 >From [EMAIL PROTECTED] Sat Mar 19 04:38:50 2005 Return-path: <[EMAIL PROTECTED]> Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DCdE9-0003mp-00; Sat, 19 Mar 2005 04:38:49 -0800 Received: from aj by localhost.localdomain with local (Exim 4.44) id 1DCdE8-0000YN-1d; Sat, 19 Mar 2005 13:38:48 +0100 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: haddock: FTBFS (amd64/gcc-4.0): lexical error in string/character literal Message-Id: <[EMAIL PROTECTED]> Date: Sat, 19 Mar 2005 13:38:48 +0100 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Package: haddock Severity: normal Tags: patch When building 'haddock' on amd64 with gcc-4.0, I get the following error: /usr/bin/make INSTALLING=0 BIN_DIST=0 - --no-print-directory -r all /usr/bin/ghc -H16m -O -package network -fglasgow-exts -cpp -c FastMutInt.hs -o FastMutInt.o -ohi FastMutInt.hi /usr/bin/ghc -H16m -O -package network -fglasgow-exts -cpp -c Binary.hs -o Binary.o -ohi Binary.hi /usr/bin/ghc -H16m -O -package network -fglasgow-exts -cpp -c BlockTable.hs -o BlockTable.o -ohi BlockTable.hi /usr/bin/ghc -H16m -O -package network -fglasgow-exts -cpp -c Digraph.lhs -o Digraph.o -ohi Digraph.hi /usr/bin/ghc -H16m -O -package network -fglasgow-exts -cpp -c HsSyn.lhs -o HsSyn.o -ohi HsSyn.hi /usr/bin/ghc -H16m -O -package network -fglasgow-exts -cpp -c HaddockUtil.hs -o HaddockUtil.o -ohi HaddockUtil.hi HaddockUtil.hs:191: warning: backslash and newline separated by space HaddockUtil.hs:192: warning: backslash and newline separated by space HaddockUtil.hs:193: warning: backslash and newline separated by space HaddockUtil.hs:194: warning: backslash and newline separated by space HaddockUtil.hs:195: warning: backslash and newline separated by space HaddockUtil.hs:191: lexical error in string/character literal With the attached patch 'haddock' can be compiled on amd64 using gcc-4.0. The patch was taken from gentoo. Regards Andreas Jochens diff -urN ../tmp-orig/haddock-0.6/haddock/src/HaddockUtil.hs ./haddock/src/HaddockUtil.hs --- ../tmp-orig/haddock-0.6/haddock/src/HaddockUtil.hs 2003-11-10 17:14:42.000000000 +0100 +++ ./haddock/src/HaddockUtil.hs 2005-03-19 12:37:41.422854453 +0100 @@ -188,12 +188,12 @@ moduleHeaderRE :: Regex moduleHeaderRE = mkRegexWithOpts - "^([ \t\n]*Module[ \t]*:.*\n)?\ - \([ \t\n]*Copyright[ \t]*:.*\n)?\ - \([ \t\n]*License[ \t]*:.*\n)?\ - \[ \t\n]*Maintainer[ \t]*:(.*)\n\ - \[ \t\n]*Stability[ \t]*:(.*)\n\ - \[ \t\n]*Portability[ \t]*:([^\n]*)\n" + ( "^([ \t\n]*Module[ \t]*:.*\n)?" ++ + "([ \t\n]*Copyright[ \t]*:.*\n)?" ++ + "([ \t\n]*License[ \t]*:.*\n)?" ++ + "[ \t\n]*Maintainer[ \t]*:(.*)\n" ++ + "[ \t\n]*Stability[ \t]*:(.*)\n" ++ + "[ \t\n]*Portability[ \t]*:([^\n]*)\n" ) True -- match "\n" with "." False -- not case sensitive -- All fields except the last (Portability) may be multi-line. diff -urN ../tmp-orig/haddock-0.6/haddock/src/HaddockVersion.hs ./haddock/src/HaddockVersion.hs --- ../tmp-orig/haddock-0.6/haddock/src/HaddockVersion.hs 2003-11-10 17:14:42.000000000 +0100 +++ ./haddock/src/HaddockVersion.hs 2005-03-19 12:37:41.423854252 +0100 @@ -14,5 +14,4 @@ -- The version comes in via CPP from mk/version.mk projectVersion :: String -projectVersion = tail "\ - \ HADDOCK_VERSION" +projectVersion = "0.6" diff -urN ../tmp-orig/haddock-0.6/haddock/src/Main.hs ./haddock/src/Main.hs --- ../tmp-orig/haddock-0.6/haddock/src/Main.hs 2003-11-10 17:13:39.000000000 +0100 +++ ./haddock/src/Main.hs 2005-03-19 12:37:41.423854252 +0100 @@ -460,8 +460,8 @@ when (not (null name_strings)) $ tell ["Warning: " ++ show mdl ++ - ": the following names could not be resolved:\n\ - \ " ++ concat (map (' ':) name_strings) + ": the following names could not be resolved:\n" ++ + " " ++ concat (map (' ':) name_strings) ] return (mdl, Interface { --------------------------------------- Received: (at 300385-done) by bugs.debian.org; 28 Dec 2005 07:10:33 +0000 >From [EMAIL PROTECTED] Tue Dec 27 23:10:33 2005 Return-path: <[EMAIL PROTECTED]> Received: from e176043018.adsl.alicedsl.de ([85.176.43.18] helo=kat.ainf.net) by spohr.debian.org with esmtp (Exim 4.50) id 1ErVRx-0001BS-L5 for [EMAIL PROTECTED]; Tue, 27 Dec 2005 23:10:20 -0800 Received: from aj by kat.ainf.net with local (Exim 4.54) id 1ErVRl-0000CW-5g; Wed, 28 Dec 2005 08:10:07 +0100 To: [EMAIL PROTECTED] From: Andreas Jochens <[EMAIL PROTECTED]> Subject: haddock: FTBFS Message-Id: <[EMAIL PROTECTED]> Date: Wed, 28 Dec 2005 08:10:05 +0100 X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no version=2.60-bugs.debian.org_2005_01_02 Version: 0.7-1 The latest version of the package builds without problems. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]