You are not logged in.

#1 2014-04-25 23:37:07

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Installing Haskell

While installing haskell I get lots of this error:

haddock: internal error: Data.Binary.getWord8: end of file

I also get

pandoc-1.12.3.3: dependency "yaml-0.8.8.2-db152c7faf03cdd259e89bd80c6efb5c" doesn't exist (use --force to override) 

once
Yet if I run: pandoc -t html sample.txt
It produces the expected result.

Nevertheless ... it seems obvious that there  is a problem here.
I've un-installed and re-installed all the haskell packages but to no avail.

Perhaps someone with more experience with haskell knows what's going on and can point me in the right  direction? smile

Thanks.

R.

Edit: Just for reference I used this and this in the wiki to guide me in the process.

Last edited by ralvez (2014-04-25 23:42:14)

Offline

#2 2014-04-26 02:29:37

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Installing Haskell

I've seen errors like the second before and it was because I had a mixture of packages from the primary repos and [haskell-core]. I ended up uninstalling everything from the Arch repos, made sure that [haskell-core] was above [extra], and reinstalling everything.

Offline

#3 2014-04-26 02:46:37

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: Installing Haskell

@skottish,

Thanks for your reply.
I do have [haskell-core] above [extra] as per the wiki instructions. I do not know, however, if I had some haskell items pulled by another app I installed before I added the haskell repo.

The error that bothers me the most is the haddoc one. Googling about the error I do not get much to go with to understand what the problem is sad

R.

Offline

#4 2014-04-26 02:54:38

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Installing Haskell

Are you using haddock from [community]? [haskell-core] is using ghc's built in one and doesn't have haddock in its repos. I'm wondering if somehow there's a mismatch there. I'm not sure how though.

Last edited by skottish (2014-04-26 02:57:16)

Offline

#5 2014-04-26 12:35:00

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: Installing Haskell

Well ... that last post gave me something to think smile
So, I query my pacman db for haddock and  to my surprise it was not installed.
The *only* version available was : community/haddock 2.13.2.1-1 so I installed it.
Of course I got the same error during installation:

haddock: internal error: Data.Binary.getWord8: end of file

However, after installing it, and just to "force" an error I did a re-install with the following results.

pacman -S haddock
warning: haddock-2.13.2.1-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Packages (1): haddock-2.13.2.1-1

Total Installed Size:   60.20 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                     [##################################] 100%
(1/1) checking package integrity                                                                 [##################################] 100%
(1/1) loading package files                                                                          [##################################] 100%
(1/1) checking for file conflicts                                                                     [##################################] 100%
(1/1) checking available disk space                                                             [##################################] 100%
error: command failed to execute correctly
(1/1) reinstalling haddock                                                                            [##################################] 100%
error: command failed to execute correctly

Notice the error: command failed to execute correctly ?
That's odd because everything seems to work OK. I wonder what "command" fails.
The haddock error is gone though. wink

R.

Offline

#6 2014-04-27 01:00:27

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Installing Haskell

I've seen those a bunch of times surrounding haskell packages, but everything always works and I forget to look into it. It's happening at the haskell level and not the pacman level, that much I'm sure.

I was thinking of your error earlier and decided to not post in case someone that actually knew what they were talking about would jump in. That didn't happen, so...

I've never seen your haddock error before this thread and my best guess right now is that there's something wrong with your ghc install. If I were in your position, I'd remove ghc from pacman's cache and reinstall it. Actually, when I was trying to clean up the haskell situation on my machine in regards to the other error, I removed every haskell package from my pacman cache before I upgraded.

Offline

#7 2014-04-27 01:32:58

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: Installing Haskell

skottish wrote:

...  It's happening at the haskell level and not the pacman level, that much I'm sure.

Yes, I concur. Pacman does its job just fine.

skottish wrote:

I've never seen your haddock error before this thread and my best guess right now is that there's something wrong with your ghc install. If I were in your position, I'd remove ghc from pacman's cache and reinstall it. Actually, when I was trying to clean up the haskell situation on my machine in regards to the other error, I removed every haskell package from my pacman cache before I upgraded.

At some point in time while troubleshooting the issue I did remove all haskell related files from my /var/chache/pacman/pkg
But I'll take your advice and remove and re-install ghc (including removing it from the chache).
I'll report back if that fixes the problem.

BTW, I appreciate the time  you've put into helping me. smile

R.

Offline

#8 2014-04-27 15:03:38

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: Installing Haskell

... and so I did. tongue
I removed all Haskell and Haskell related files and their dependencies. Then, I removed form /var/cache/pacman/pkg all the backup files so they would be downloaded once again upon install.
Finally I issued a pacman -Syy to refresh all repositories and then I re-installed everything.
/*suspense music in the background yikes */

Same result as before !! sad

I think it would be unfair to take anymore of your time on this one. Things work OK (at least I do not see any weird things as I work) so I'll let it go for that money...

I have a feeling it is related to the files currently in the repositories and not the process to get the files.

I appreciate your help very much!!

Thanks.

R.

Offline

Board footer

Powered by FluxBB