Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure using GHC 7.6.3 on Mavericks #1124

Closed
marcpaterno opened this issue Jan 23, 2014 · 4 comments
Closed

Build failure using GHC 7.6.3 on Mavericks #1124

marcpaterno opened this issue Jan 23, 2014 · 4 comments

Comments

@marcpaterno
Copy link

I have encountered a failure to build pandoc-1.12.3.1, using GHC 7.6.3 on OS X Mavericks. The output is long, but most of the bulk is warnings. The error that stops the build for me is the following:

[17 of 55] Compiling Text.Pandoc.ImageSize ( src/Text/Pandoc/ImageSize.hs, dist/build/Text/Pandoc/ImageSize.o )

src/Text/Pandoc/ImageSize.hs:201:17: Not in scope: `lookAhead'
Failed to install pandoc-1.12.3.1
cabal: Error: some packages failed to install:
pandoc-1.12.3.1 failed during the building phase. The exception was:
ExitFailure 1

This failure does not seem similar to earlier bug reports I found, which report on difficulties in the ghc on Mavericks, because the complaint is about the Haskell code itself.

I'd be happy to provide the full log file, if that is useful.

@jgm
Copy link
Owner

jgm commented Jan 23, 2014

What version of binary are you building against?

+++ Marc Paterno [Jan 23 14 10:26 ]:

I have encountered a failure to build pandoc-1.12.3.1, using GHC 7.6.3 on OS X Mavericks. The output is long, but most of the bulk is warnings. The error that stops the build for me is the following:

[17 of 55] Compiling Text.Pandoc.ImageSize ( src/Text/Pandoc/ImageSize.hs, dist/build/Text/Pandoc/ImageSize.o )
src/Text/Pandoc/ImageSize.hs:201:17: Not in scope: `lookAhead'
Failed to install pandoc-1.12.3.1
cabal: Error: some packages failed to install:
pandoc-1.12.3.1 failed during the building phase. The exception was:
ExitFailure 1

This failure does not seem similar to earlier bug reports I found, which report on difficulties in the ghc on Mavericks, because the complaint is about the Haskell code itself.

I'd be happy to provide the full log file, if that is useful.


Reply to this email directly or view it on GitHub:
#1124

@marcpaterno
Copy link
Author

Hello John,

According to what I find in my ~/.cabal/lib directory, I am building against binary-0.6.4.0. If I should be looking elsewhere for this information, please let me know where to look.

best regards,
Marc

On Jan 23, 2014, at 12:38 PM, John MacFarlane notifications@github.com wrote:

What version of binary are you building against?

+++ Marc Paterno [Jan 23 14 10:26 ]:

I have encountered a failure to build pandoc-1.12.3.1, using GHC 7.6.3 on OS X Mavericks. The output is long, but most of the bulk is warnings. The error that stops the build for me is the following:

[17 of 55] Compiling Text.Pandoc.ImageSize ( src/Text/Pandoc/ImageSize.hs, dist/build/Text/Pandoc/ImageSize.o )
src/Text/Pandoc/ImageSize.hs:201:17: Not in scope: `lookAhead'
Failed to install pandoc-1.12.3.1
cabal: Error: some packages failed to install:
pandoc-1.12.3.1 failed during the building phase. The exception was:
ExitFailure 1

This failure does not seem similar to earlier bug reports I found, which report on difficulties in the ghc on Mavericks, because the complaint is about the Haskell code itself.

I'd be happy to provide the full log file, if that is useful.


Reply to this email directly or view it on GitHub:
#1124

Reply to this email directly or view it on GitHub.

@jgm
Copy link
Owner

jgm commented Jan 23, 2014

Ah yes, this bit me with zip-archive too. lookAhead was removed between
binary 0.5 and binary 0.6. It should be possible to work around this,
though. I'll look into it when I have a chance.

+++ Marc Paterno [Jan 23 14 11:41 ]:

Hello John,

According to what I find in my ~/.cabal/lib directory, I am building against binary-0.6.4.0. If I should be looking elsewhere for this information, please let me know where to look.

best regards,
Marc

On Jan 23, 2014, at 12:38 PM, John MacFarlane notifications@github.com wrote:

What version of binary are you building against?

+++ Marc Paterno [Jan 23 14 10:26 ]:

I have encountered a failure to build pandoc-1.12.3.1, using GHC 7.6.3 on OS X Mavericks. The output is long, but most of the bulk is warnings. The error that stops the build for me is the following:

[17 of 55] Compiling Text.Pandoc.ImageSize ( src/Text/Pandoc/ImageSize.hs, dist/build/Text/Pandoc/ImageSize.o )
src/Text/Pandoc/ImageSize.hs:201:17: Not in scope: `lookAhead'
Failed to install pandoc-1.12.3.1
cabal: Error: some packages failed to install:
pandoc-1.12.3.1 failed during the building phase. The exception was:
ExitFailure 1

This failure does not seem similar to earlier bug reports I found, which report on difficulties in the ghc on Mavericks, because the complaint is about the Haskell code itself.

I'd be happy to provide the full log file, if that is useful.


Reply to this email directly or view it on GitHub:
#1124

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub:
#1124 (comment)

@jgm jgm closed this as completed in a333d97 Jan 25, 2014
@robstewart57
Copy link

This just bit me too. The version on hackage is 1.12.3.1. Many users will be using ghc 7.6 with binary >= 0.6, so will experience this problem if they cabal update && cabal install pandoc today. Perhaps commit a333d97 is worthy of a minor version bump and upload to hackage?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants