|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#35863: closed (`guix import hackage random` fails due to mysterious CRLF-related trouble) |
Date: | Sun, 30 Jun 2019 21:13:02 +0000 |
Your message dated Sun, 30 Jun 2019 23:12:43 +0200 with message-id <address@hidden> and subject line fixed by patch has caused the debbugs.gnu.org bug report #35863, regarding `guix import hackage random` fails due to mysterious CRLF-related trouble to be marked as done. (If you believe you have received this mail in error, please contact address@hidden.) -- 35863: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35863 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: `guix import hackage random` fails due to mysterious CRLF-related trouble Date: Thu, 23 May 2019 11:44:01 +0200 $ curl http://hackage.haskell.org/package/random-1.1/random.cabal > random.cabal $ guix import hackage -s < random.cabal (at line 49, column 0)d token : Syntax error: unexpected end of input guix import: error: failed to import cabal file from standard input $ tr -d '\r' < random.cabal | guix import hackage -s (package …) There’s nothing obviously wrong in the cabal file around line 49. The file seems to have consistent CRLF line endings and doesn’t seem to have any non-ASCII characters. (I can see that `canonical-newline-port` might well be buggy around UTF8.)
--- End Message ---
--- Begin Message ---Subject: fixed by patch Date: Sun, 30 Jun 2019 23:12:43 +0200 This was fixed by commit 3149c002644b927e0245d237cdda3a6aeca00e4a Author: Robert Vollmert <address@hidden> Date: Sun Jun 16 16:18:29 2019 +0200 utils: canonical-newline-port: Fix handling of carriage return at buffer end.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |