Your message dated Sat, 4 Feb 2006 20:52:16 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#300699: It's just a notice.
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)
--- Begin Message ---
>From [EMAIL PROTECTED] Mon Mar 21 00:30:23 2005
Received: (at submit) by bugs.debian.org; 21 Mar 2005 08:30:25 +0000
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 1DDIIo-0000aP-00; Mon, 21 Mar 2005 00:30:22 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
id 1DDIIn-0004wY-8c; Mon, 21 Mar 2005 09:30:21 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: alex: FTBFS (amd64/gcc-4.0): lexical error in string/character literal
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 21 Mar 2005 09:30:21 +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: alex
Severity: normal
Tags: patch
When building 'alex' on amd64 with gcc-4.0,
I get the following error:
Main.hs:168: warning: backslash and newline separated by space
Main.hs:171: warning: backslash and newline separated by space
Main.hs:172: warning: backslash and newline separated by space
Main.hs:173: warning: backslash and newline separated by space
Main.hs:174: warning: backslash and newline separated by space
Main.hs:177: warning: backslash and newline separated by space
Main.hs:178: warning: backslash and newline separated by space
Main.hs:179: warning: backslash and newline separated by space
Main.hs:180: warning: backslash and newline separated by space
Main.hs:181: warning: backslash and newline separated by space
Main.hs:182: warning: backslash and newline separated by space
Main.hs:183: warning: backslash and newline separated by space
Main.hs:36: lexical error in string/character literal
make[4]: *** [Main.o] Error 1
With the attached patch 'alex' can be compiled
on amd64 using gcc-4.0.
This patch was taken from gentoo.
Regards
Andreas Jochens
diff -urN ../tmp-orig/alex-2.0/alex/src/Main.hs ./alex/src/Main.hs
--- ../tmp-orig/alex-2.0/alex/src/Main.hs 2005-03-21 09:17:50.043422346
+0100
+++ ./alex/src/Main.hs 2005-03-21 09:17:38.939575291 +0100
@@ -32,9 +32,9 @@
import Prelude hiding ( catch )
--- hackery to convice cpp to splice ALEX_VERSION into a string
-version = tail "\
- \ ALEX_VERSION"
+-- hackery to convice cpp to splice into a string
+version = tail $ "" ++
+ " "
-- `main' decodes the command line arguments and calls `alex'.
@@ -159,29 +159,29 @@
-- CPP is turned on for -fglasogw-exts, so we can use conditional compilation:
-always_imports = "#if __GLASGOW_HASKELL__ >= 503\n\
- \import Data.Array\n\
- \import Data.Char (ord)\n\
- \import Data.Array.Base (unsafeAt)\n\
- \#else\n\
- \import Array\n\
- \import Char (ord)\n\
- \#endif\n"
-
-import_glaexts = "#if __GLASGOW_HASKELL__ >= 503\n\
- \import GHC.Exts\n\
- \#else\n\
- \import GlaExts\n\
- \#endif\n"
-
-import_debug = "#if __GLASGOW_HASKELL__ >= 503\n\
- \import System.IO\n\
- \import System.IO.Unsafe\n\
- \import Debug.Trace\n\
- \#else\n\
- \import IO\n\
- \import IOExts\n\
- \#endif\n"
+always_imports = "#if __GLASGOW_HASKELL__ >= 503\n" ++
+ "import Data.Array\n" ++
+ "import Data.Char (ord)\n" ++
+ "import Data.Array.Base (unsafeAt)\n" ++
+ "#else\n" ++
+ "import Array\n" ++
+ "import Char (ord)\n" ++
+ "#endif\n"
+
+import_glaexts = "#if __GLASGOW_HASKELL__ >= 503\n" ++
+ "import GHC.Exts\n" ++
+ "#else\n" ++
+ "import GlaExts\n" ++
+ "#endif\n"
+
+import_debug = "#if __GLASGOW_HASKELL__ >= 503\n" ++
+ "import System.IO\n" ++
+ "import System.IO.Unsafe\n" ++
+ "import Debug.Trace\n" ++
+ "#else\n" ++
+ "import IO\n" ++
+ "import IOExts\n" ++
+ "#endif\n"
templateDir cli
= case [ d | OptTemplateDir d <- cli ] of
--- End Message ---
--- Begin Message ---
>From [EMAIL PROTECTED] Sat Feb 04 20:52:20 2006
Received: (at 300699-done) by bugs.debian.org; 5 Feb 2006 04:52:20 +0000
Return-path: <[EMAIL PROTECTED]>
Received: from dsl093-039-086.pdx1.dsl.speakeasy.net ([66.93.39.86]
helo=tennyson.dodds.net)
by spohr.debian.org with esmtp (Exim 4.50)
id 1F5bsq-00042H-NI; Sat, 04 Feb 2006 20:52:20 -0800
Received: by tennyson.dodds.net (Postfix, from userid 1000)
id 1F6852C002; Sat, 4 Feb 2006 20:52:17 -0800 (PST)
Date: Sat, 4 Feb 2006 20:52:16 -0800
From: Steve Langasek <[EMAIL PROTECTED]>
To: Emfox Zhou <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: Re: Bug#300699: It's just a notice.
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="EgVrEAR5UttbsTXg"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
--EgVrEAR5UttbsTXg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Version: 2.0.1-1
On Sun, Feb 05, 2006 at 12:10:21PM +0800, Emfox Zhou wrote:
> 2006/2/5, Steve Langasek <[EMAIL PROTECTED]>:
> > On Sun, Feb 05, 2006 at 12:23:44AM +0800, Emfox Zhou wrote:
> > > I have gone through the bts and found this bug, and I think it should=
be
> > > closed.
> > Why?
> A new version of the package which fix this problem has been installed
> into debian archive, or the package has been removed.
Your mail would have been a lot more helpful if you had been able to specify
which.
Anyway, I can confirm that the bugs on alex should be closed; the current
version of alex in unstable has been built with gcc-4.0 subsequent to the
filing of 300699 and 315072, and it was built with the new libgmp which
fixes 327490.
--=20
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
[EMAIL PROTECTED] http://www.debian.org/
--EgVrEAR5UttbsTXg
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFD5YR/KN6ufymYLloRAv8tAKDUlT5+9N5f3nlGYOej1MuYOrMsKwCbBwpi
fxuRIqbN1q215m6TXjdZd8A=
=076A
-----END PGP SIGNATURE-----
--EgVrEAR5UttbsTXg--
--- End Message ---