[Pkg-haskell-maintainers] Bug#658195: haskell-hledger-web: FTBFS: Exception when trying to run compile-time code:

Christoph Egger christoph at debian.org
Tue Jan 31 23:03:26 UTC 2012


Package: src:haskell-hledger-web
Version: 0.16.5-1
Severity: serious
Tags: sid wheezy
Justification: fails to build from source (but built successfully in the past)

Hi!

Your package failed to build on the buildds:

[5 of 8] Compiling Hledger.Web.Handlers ( Hledger/Web/Handlers.hs, dist/build/hledger-web/hledger-web-tmp/Hledger/Web/Handlers.o )

Hledger/Web/Handlers.hs:391:27:
    Exception when trying to run compile-time code:
      "
<script type=text/javascript>
  $(document).ready(function() {
    /* render chart */
    /* if ($('#register-chart')) */
      $.plot($('#register-chart'),
             [
              [
               $forall i <- items
                [#{dayToJsTimestamp $ triDate i}, #{triBalance i}],
              ]
             ],
             {
               xaxis: {
                mode: "time",
                timeformat: "%y/%m/%d"
               }
             }
             );
  });
<div#register-chart style="width:600px;height:100px; margin-bottom:1em;"
" (line 3, column 4):
Received a command I did not understand. If you wanted a literal $, start the line with a backslash.
      Code: Language.Haskell.TH.Quote.quoteExp
              hamlet
              "\n<script type=text/javascript>\n  $(document).ready(function() {\n    /* render chart */\n    /* if ($('#register-chart')) */\n      $.plot($('#register-chart'),\n             [\n              [\n               $forall i <- items\n                [#{dayToJsTimestamp $ triDate i}, #{triBalance i}],\n              ]\n             ],\n             {\n               xaxis: {\n                mode: \"time\",\n                timeformat: \"%y/%m/%d\"\n               }\n             }\n             );\n  });\n<div#register-chart style=\"width:600px;height:100px; margin-bottom:1em;\"\n"
make: *** [build-arch] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Full build log at
https://buildd.debian.org/status/fetch.php?pkg=haskell-hledger-web&arch=kfreebsd-i386&ver=0.16.5-1&stamp=1327505898

Regards

    Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer





More information about the Pkg-haskell-maintainers mailing list