all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Vollmert <rob@vllmrt.net>
To: 35863@debbugs.gnu.org
Subject: bug#35863: `guix import hackage random` fails due to mysterious CRLF-related trouble
Date: Thu, 23 May 2019 11:44:01 +0200	[thread overview]
Message-ID: <6988D67A-412E-439F-91F3-9382C2AA0926@vllmrt.net> (raw)

$ 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.)

             reply	other threads:[~2019-05-23  9:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-23  9:44 Robert Vollmert [this message]
2019-06-30 21:12 ` bug#35863: fixed by patch Robert Vollmert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6988D67A-412E-439F-91F3-9382C2AA0926@vllmrt.net \
    --to=rob@vllmrt.net \
    --cc=35863@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.