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

Unable to Install old-time-1.1.0.3 on Windows under Haskell Platform #7

Closed
iamrecursion opened this issue May 28, 2017 · 4 comments
Closed

Comments

@iamrecursion
Copy link

I've been trying to install some modules that depend (indirectly, in most cases) on old-time on windows today, and the install fails. It can be reproduced by attempting a cabal install old-time in by itself, but does not occur in a cabal sandbox. The crux of the issue seems to arise form missing interfaces in old-locale as follows:

Preprocessing library old-time-1.1.0.3...
[1 of 1] Compiling System.Time      ( dist\build\System\Time.hs, dist\build\System\Time.o )

System\Time.hsc:117:1: error:
    Failed to load interface for `System.Locale'
    There are files missing in the `old-locale-1.0.0.7' package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.

This is occurring on a fresh install of Haskell Platform. It looks like the version of old-locale bundled with the platform is the same version number (1.0.0.7) as is downloaded into a sandbox, but not the same contents. Indeed, forcing a ghc-pkg unregister old-locale --force, cabal install old-locale before trying cabal install old-time again fixes the issue.

Let me know if there is any additional information I can provide that will be helpful. I'm not really sure what you can do yourself to fix this, but I figured I'd report it anyway.

@iamrecursion iamrecursion changed the title Unable to Install old-time-1.1.0.3 on Windows Unable to Install old-time-1.1.0.3 on Windows under Haskell Platform May 28, 2017
@gbaz
Copy link

gbaz commented Jun 13, 2017

The platform hasn't shipped old-locale since 7.10.3? Is this a prior version of the platform then?

@iamrecursion
Copy link
Author

Much more recent... perhaps I ended up with a corrupt install somehow.

@gbaz
Copy link

gbaz commented Jun 13, 2017

which version precisely -- 32 or 64 bit, which ghc, minimal or core?

it may be an issue with one installer in particular...

@iamrecursion
Copy link
Author

It was the 64-bit re-release of 8.0.2 due to the Windows 10 Creators update issue. Full installer.

I've since moved away from it to use slack for managing my GHC installs.

@gbaz gbaz closed this as completed Jul 24, 2017
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

2 participants