Pandoc build failure #667

Closed
ostronom opened this Issue Nov 18, 2012 · 4 comments

Comments

Projects
None yet
3 participants

I don't know if this is a pandoc issue, but i'm getting the following output after cabal instsall pandoc:

Linking dist/build/pandoc/pandoc ...
/home/ostronom/.cabal/lib/regex-pcre-builtin-0.94.4.1.8.31/ghc-7.4.2/libHSregex-pcre-builtin-0.94.4.1.8.31.a(pcre_compile.o): In function `pcre_compile2':
pcre_compile.c:(.text+0x72a0): undefined reference to `_pcre_default_tables'
pcre_compile.c:(.text+0x7856): undefined reference to `_pcre_default_tables'
/home/ostronom/.cabal/lib/regex-pcre-builtin-0.94.4.1.8.31/ghc-7.4.2/libHSregex-pcre-builtin-0.94.4.1.8.31.a(pcre_exec.o): In function `pcre_exec':
pcre_exec.c:(.text+0x5610): undefined reference to `_pcre_default_tables'
/home/ostronom/.cabal/lib/regex-pcre-builtin-0.94.4.1.8.31/ghc-7.4.2/libHSregex-pcre-builtin-0.94.4.1.8.31.a(pcre_fullinfo.o): In function `pcre_fullinfo':
pcre_fullinfo.c:(.text+0xef): undefined reference to `_pcre_default_tables'
collect2: error: ld returned 1 exit status
Failed to install pandoc-1.9.4.5
cabal: Error: some packages failed to install:
OstronomIO-0.0.0 depends on pandoc-1.9.4.5 which failed to install.
pandoc-1.9.4.5 failed during the building phase. The exception was:
ExitFailure 1

I'm using GHC 7.4.2. There were warnings about pcre_compile, pcre_fullinfo and pcre_exec during regex-builtin build. Is that a pandoc issue?

Owner

jgm commented Nov 19, 2012

Not a pandoc issue, but one that affects pandoc.
It's a bug in the regex-pcre-builtin package -- I've emailed
the maintainer with the fix, so hopefully a new version will
be available soon.

+++ ostronom [Nov 18 12 13:05 ]:

I don't know if this is a pandoc issue, but i'm getting the following
output after cabal instsall pandoc:
Linking dist/build/pandoc/pandoc ...
/home/ostronom/.cabal/lib/regex-pcre-builtin-0.94.4.1.8.31/ghc-7.4.2/libHSregex-
pcre-builtin-0.94.4.1.8.31.a(pcre_compile.o): In function pcre_compile2': pcre_compile.c:(.text+0x72a0): undefined reference to_pcre_default_tables'
pcre_compile.c:(.text+0x7856): undefined reference to _pcre_default_tables' /home/ostronom/.cabal/lib/regex-pcre-builtin-0.94.4.1.8.31/ghc-7.4.2/libHSregex- pcre-builtin-0.94.4.1.8.31.a(pcre_exec.o): In functionpcre_exec':
pcre_exec.c:(.text+0x5610): undefined reference to _pcre_default_tables' /home/ostronom/.cabal/lib/regex-pcre-builtin-0.94.4.1.8.31/ghc-7.4.2/libHSregex- pcre-builtin-0.94.4.1.8.31.a(pcre_fullinfo.o): In functionpcre_fullinfo':
pcre_fullinfo.c:(.text+0xef): undefined reference to `_pcre_default_tables'
collect2: error: ld returned 1 exit status
Failed to install pandoc-1.9.4.5
cabal: Error: some packages failed to install:
OstronomIO-0.0.0 depends on pandoc-1.9.4.5 which failed to install.
pandoc-1.9.4.5 failed during the building phase. The exception was:
ExitFailure 1

I'm using GHC 7.4.2. There were warnings about pcre_compile,
pcre_fullinfo and pcre_exec during regex-builtin build. Is that a
pandoc issue?


Reply to this email directly or [1]view it on GitHub.
[xJAuenYDiIoVt3LF3y6848DAslDCyjnQ6q-QyN4VMN90TLQAoOkcslgPRfkCSxat.gif]

References

  1. #667
Owner

jgm commented Nov 27, 2012

There is a new version of regex-pcre-builtin now that fixes the problem.

jgm closed this Nov 27, 2012

Semyazz commented Dec 24, 2012

I still get this error. GHC 7.4.1, Ubuntu 12.04 and regex-pcre-builtin-0.94.4.3.8.31.

I had this issue until i've done manual ghc-pkg unregister of old regex-pcre-builtin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment