<div dir="ltr">One way to try debugging this further is by unpacking the package in question and building inside that directory, e.g.:<div><br></div><div>stack unpack HaXml-1.25.3</div><div>cd HaXml-1.25.3</div><div>stack init</div><div>stack build</div><div><br></div><div>That should fail with the same error message, but at least you'll have the files available to play with and try tweaking.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 20, 2016 at 12:44 PM, Olaf Klinke <span dir="ltr"><<a href="mailto:olf@aatal-apotheke.de" target="_blank">olf@aatal-apotheke.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Cafe,<br>
<br>
not sure who the culprit is, thus trying on this list:<br>
<br>
My project builds fine with stack on Linux. I installed the latest (1.3.0 x86_64) stack on a Windows box and ran 'stack.exe setup' inside my project's directory. The build fails at the depencency HaXml-1.25.3 with a lexer error on line 34 of this file:<br>
<br>
<a href="http://hackage.haskell.org/package/HaXml-1.25.3/docs/src/Text-XML-HaXml-Wrappers.html" rel="noreferrer" target="_blank">http://hackage.haskell.org/<wbr>package/HaXml-1.25.3/docs/src/<wbr>Text-XML-HaXml-Wrappers.html</a><br>
<br>
lexical error in string/character literal at character '\r'<br>
<br>
It seems the line (VERSION) is processed by the C preprocessor which somehow messes it up. Unfortunately, stack deletes its temporary files after running into the error, which deprives me of handles to further debug this. Does anyone have an idea how to continue from here?<br>
<br>
Thanks, Olaf<br>
______________________________<wbr>_________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div><br></div>