Summary: | dev-haskell/pandoc-citeproc-0.3.1: parse error (possibly incorrect indentation or mismatched brackets) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Beutin <tb> |
Component: | [OLD] Development | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/jgm/pandoc-citeproc/pull/215 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
compiles w/o bibutils USE flag compiles w/o bibutils USE flag |
Description
Thomas Beutin
2014-07-07 20:25:21 UTC
Created attachment 380404 [details]
build.log
Please try with the bibutils use flag: USE=bibutils emerge -av dev-haskell/pandoc-citeproc It would be neat if you would like to report it upstream. In which case, please ask about the ++ at the end of line 65 in the source file that the compile fails on: https://github.com/jgm/pandoc-citeproc/blob/master/src/Text/CSL/Input/Bibutils.hs It builds for me with the bibutils use flag. (In reply to Mark Wright from comment #2) > Please try with the bibutils use flag: > > USE=bibutils emerge -av dev-haskell/pandoc-citeproc compiles w/o problem > It would be neat if you would like to report it upstream. > In which case, please ask about the ++ at the end of line 65 > in the source file that the compile fails on: > > https://github.com/jgm/pandoc-citeproc/blob/master/src/Text/CSL/Input/ > Bibutils.hs just removing the trailing " ++" doesn't work: [20 of 22] Compiling Text.CSL.Input.Bibutils ( src/Text/CSL/Input/Bibutils.hs, dist/build/Text/CSL/Input/Bibutils.o ) [21 of 22] Compiling Text.CSL ( src/Text/CSL.hs, dist/build/Text/CSL.o ) [22 of 22] Compiling Text.CSL.Pandoc ( src/Text/CSL/Pandoc.hs, dist/build/Text/CSL/Pandoc.o ) In-place registering pandoc-citeproc-0.3.1... Preprocessing executable 'pandoc-citeproc' for pandoc-citeproc-0.3.1... [1 of 2] Compiling Paths_pandoc_citeproc ( dist/build/autogen/Paths_pandoc_citeproc.hs, dist/build/pandoc-citeproc/pandoc-citeproc-tmp/Paths_pandoc_citeproc.o ) [2 of 2] Compiling Main ( pandoc-citeproc.hs, dist/build/pandoc-citeproc/pandoc-citeproc-tmp/Main.o ) pandoc-citeproc.hs:77:30: Not in scope: data constructor `Ris' pandoc-citeproc.hs:78:30: Not in scope: data constructor `Endnote' pandoc-citeproc.hs:79:30: Not in scope: data constructor `Endnote' pandoc-citeproc.hs:80:32: Not in scope: data constructor `EndnotXml' pandoc-citeproc.hs:81:30: Not in scope: data constructor `EndnotXml' pandoc-citeproc.hs:82:30: Not in scope: data constructor `Isi' pandoc-citeproc.hs:83:30: Not in scope: data constructor `Isi' pandoc-citeproc.hs:84:30: Not in scope: data constructor `Medline' pandoc-citeproc.hs:85:30: Not in scope: data constructor `Copac' * ERROR: dev-haskell/pandoc-citeproc-0.3.1-r1::x-portage failed (compile phase): * setup build failed Created attachment 380660 [details, diff]
compiles w/o bibutils USE flag
(In reply to Thomas Beutin from comment #4) > Created attachment 380660 [details, diff] [details, diff] > compiles w/o bibutils USE flag and here is the ebuild patch: --- /usr/portage/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild 2014-07-02 17:45:40.000000000 +0200 +++ /usr/local/portage/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1-r1.ebuild 2014-07-13 01:19:17.894181779 +0200 @@ -51,6 +51,9 @@ dev-haskell/text >=dev-haskell/yaml-0.8.8.2 ) " +src_prepare() { + epatch "${FILESDIR}"/${P}-Bibutils.patch +} src_configure() { # workaround bug on ghc-7.6.3: Created attachment 380662 [details, diff]
compiles w/o bibutils USE flag
the same happens to dev-haskell/pandoc-citeproc-0.7.2 Pushed 0.7.2 and upper fix as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b0ef9a0800b86559169cab3e236dbb0c32d1db0 Sent upstream as: https://github.com/jgm/pandoc-citeproc/pull/215 Apologoes, took me a while to get to it. Thank you! |