You are not logged in.

#1 2014-01-10 21:11:03

eazar001
Member
Registered: 2013-07-07
Posts: 12

[SOLVED] AUR package not building for haskell-platform

Unforunately I have a problem in which a package seems to not build for `haskell-json` on the AUR. The build terminates like so:

Configuring json-0.7...
Building json-0.7...
Preprocessing library json-0.7...
[1 of 7] Compiling Text.JSON.Types  ( Text/JSON/Types.hs, dist/build/Text/JSON/Types.o )
[2 of 7] Compiling Text.JSON.String ( Text/JSON/String.hs, dist/build/Text/JSON/String.o )
[3 of 7] Compiling Text.JSON.ReadP  ( Text/JSON/ReadP.hs, dist/build/Text/JSON/ReadP.o )
[4 of 7] Compiling Text.JSON.Parsec ( Text/JSON/Parsec.hs, dist/build/Text/JSON/Parsec.o )
[5 of 7] Compiling Text.JSON.Pretty ( Text/JSON/Pretty.hs, dist/build/Text/JSON/Pretty.o )
[6 of 7] Compiling Text.JSON        ( Text/JSON.hs, dist/build/Text/JSON.o )
[7 of 7] Compiling Text.JSON.Generic ( Text/JSON/Generic.hs, dist/build/Text/JSON/Generic.o )

Text/JSON.hs:73:18:
    Could not find module `Data.Text'
    Perhaps you haven't installed the "dyn" libraries for package `text-0.11.3.1'?
    Use -v to see a list of the files searched for.

However, I can actually confirm that this *does* build when I do it with cabal itself. For some reason issuing an indirect build via arch build system causes failure. Here is the output from `ghc-pkg list text`:

/usr/lib/ghc-7.6.3/package.conf.d
   text-0.11.3.1

Any ideas as to what is going wrong would be much appreciated.

Last edited by eazar001 (2014-01-10 22:41:23)

Offline

#2 2014-01-10 21:20:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] AUR package not building for haskell-platform

Have you tried installing from the haskell unofficial repo? haskell-core has haskell-json 0.7-9.
https://wiki.archlinux.org/index.php/Un … skell-core

Offline

#3 2014-01-10 21:26:56

eazar001
Member
Registered: 2013-07-07
Posts: 12

Re: [SOLVED] AUR package not building for haskell-platform

Hi Karol, thanks for responding. No I haven't tried the unofficial repo; I'll look into it and post my results.

Offline

#4 2014-01-10 22:03:39

eazar001
Member
Registered: 2013-07-07
Posts: 12

Re: [SOLVED] AUR package not building for haskell-platform

karol wrote:

Have you tried installing from the haskell unofficial repo? haskell-core has haskell-json 0.7-9.
https://wiki.archlinux.org/index.php/Un … skell-core

Unfortunately, once I try to get `haskell-json` up and running it fails to complete because:

xmonad: requires haskell-mtl=2.1.2-3

Version incompatibility \=

Offline

#5 2014-01-10 22:06:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] AUR package not building for haskell-platform

There's haskell-xmonad in the haskell-core repo. It's version 0.11-7, just like xmonad from the community.

Offline

#6 2014-01-10 22:10:23

eazar001
Member
Registered: 2013-07-07
Posts: 12

Re: [SOLVED] AUR package not building for haskell-platform

karol wrote:

There's haskell-xmonad in the haskell-core repo. It's version 0.11-7, just like xmonad from the community.

Ooops, I just found that out right now with pacman -Syu, trying again, will report back when I can [=

Offline

#7 2014-01-10 22:16:45

eazar001
Member
Registered: 2013-07-07
Posts: 12

Re: [SOLVED] AUR package not building for haskell-platform

You're an absolute godsend Karol, thanks for the suggestion. Haskell management for arch is much cleaner this way too.

Offline

#8 2014-01-10 22:19:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] AUR package not building for haskell-platform

You should thank people who maintain the repos :-)

Offline

#9 2014-01-10 22:42:34

eazar001
Member
Registered: 2013-07-07
Posts: 12

Re: [SOLVED] AUR package not building for haskell-platform

karol wrote:

You should thank people who maintain the repos :-)

Aye to that: Thank you ArchHaskell team for making life easier for haskellers/users of Arch.

Offline

Board footer

Powered by FluxBB