Re: [Haskell-cafe] Dynamic loading of module

2011-08-29 Thread Arnaud Bailly
No offense :-) Thanks for taking the time to investigate this stuff. It gave
me the opportunity to get a closer look at ghc package management.

Regards,
Arnaud

On Mon, Aug 29, 2011 at 5:28 PM, Albert Y. C. Lai  wrote:

> On 11-08-29 02:41 AM, Arnaud Bailly wrote:
>
>> ghc-pkg unregister --force --user template-haskell
>>
> [...]
>
>> ghc-pkg unregister --force --user template-haskell
>>
>
> I am sorry. I apologize. It was not your fault. It was my fault.
> "unregister --user" drops the global instance when there is no user
> instance, which is when the 2nd time you issued the command. It is a ghc-pkg
> bug.
>
> (I already knew the dual bug: "unregister --global" drops the user instance
> when there is one. I make do with "unregister --global
> --no-user-package-conf".)
>
>
> __**_
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/**mailman/listinfo/haskell-cafe
>
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Dynamic loading of module

2011-08-29 Thread Albert Y. C. Lai

On 11-08-29 02:41 AM, Arnaud Bailly wrote:

ghc-pkg unregister --force --user template-haskell

[...]

ghc-pkg unregister --force --user template-haskell


I am sorry. I apologize. It was not your fault. It was my fault. 
"unregister --user" drops the global instance when there is no user 
instance, which is when the 2nd time you issued the command. It is a 
ghc-pkg bug.


(I already knew the dual bug: "unregister --global" drops the user 
instance when there is one. I make do with "unregister --global 
--no-user-package-conf".)


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Dynamic loading of module

2011-08-29 Thread Arnaud Bailly
After reinstalling HP 2011.2.0.1 and (re)wiping out user package directory,
things are in better shape and I can now compile the faulty module. I am
well aware I did something wrong at some point in time but I am not really
sure of what happened. I suspect things went wrong when I tried to install a
recent version of snap framework : I vaguely recall having to upgrade some
"core" modules to make cabal happy which obviously was not a good thing.

Maybe this already exists but it would good to have some "session-like"
feature in cabal that would allow fiddling with the configuration and give
the user the ability to rollback what she did. Not sure this would be to
easy to implement though...

Thanks again for your help.

Best regards,
Arnaud



On Mon, Aug 29, 2011 at 8:43 AM, Arnaud Bailly wrote:

> Anyway, I will reinstall Haskell platform and read carefully your post to
> be sure I do not screwed my setup again in the future.
>
> Best regards,
> Arnaud
>
>
> On Mon, Aug 29, 2011 at 8:41 AM, Arnaud Bailly wrote:
>
>> Thanks again for your patience and efforts. I am pretty sure I did not
>> remove anything from the global package scope, at least intentionally. But
>> of course I may have done things whcih you did not recommend. Here is the
>> command-line history:
>>
>> ghc-pgk unregister --user template-haskell
>>
>> ghc-pkg unregister --user template-haskell
>> ghc-pkg unregister --force --user template-haskell
>> ghc-pkg unregister --force --user quickcheck
>> ghc-pkg unregister --force --user QuickCheck
>> ghc-pkg unregister --force --user template-haskell
>> cd C:\Documents and Settings\abailly\Application
>> Data\ghc\i386-mingw32-7.0.3\
>> dir
>> c:
>> dir
>> cd package.conf.d
>> dir
>> cd ..
>> rm -fr package.conf.d
>> d:
>> ghc-pkg check
>> ghc-pkg update
>> ghc-pkg recache
>>
>> Regards,
>> Arnaud
>>
>>
>> On Mon, Aug 29, 2011 at 4:03 AM, Albert Y. C. Lai  wrote:
>>
>>> On 11-08-28 04:40 PM, Arnaud Bailly wrote:
>>>
 Hello Albert,
 Thanks for taking the time to help me fix this package stuff. So I wiped
 out my package.conf.d/ and tried to reinstall my stuff. Installing
 template-haskell 2.5.0.0 is ok (2.6 is not, fails to compile on ghc
 7.0.3) but then:

 D:\projets\>ghc --make -package ghc main
 : cannot satisfy -package ghc
 (use -v for more information)

 I suspect I really *do* have to reinstall haskell-platform. Here is the
 output of ghc-pkg list -v:

 using cache: C:\Documents and Settings\abailly\Application
 Data\ghc\i386-mingw32-7.0.3\**package.conf.d\package.cache
 using cache: D:/Program Files/Haskell
 Platform/2011.2.0.1\lib\**package.conf.d\package.cache
 D:/Program Files/Haskell Platform/2011.2.0.1\lib\**package.conf.d:
 Cabal-1.10.1.0 (Cabal-1.10.1.0-**55f781465ee9f32289755ad706c71f**
 0f)
 GLUT-2.1.2.1 (GLUT-2.1.2.1-**2d30997b9a19d27be388572e75af52**bf)
 HTTP-4000.1.1 (HTTP-4000.1.1-**267a332938fa742ba5a5d59de0b46d**60)
 HUnit-1.2.2.3 (HUnit-1.2.2.3-**102fbfbd594cd6d38461f5c68d8809**96)
 OpenGL-2.2.3.0 (OpenGL-2.2.3.0-**a58ce3ad6070e6b7932a3e779be57f**
 75)
 Win32-2.2.0.1 (Win32-2.2.0.1-**26cf39fdf591bdac61b11d5a443c62**ab)
 array-0.3.0.2 (array-0.3.0.2-**8e9cd0144e87fa9cc86cc9031631c4**f3)
 base-4.3.1.0 (base-4.3.1.0-**f520cd232cc386346843c4a12b63f4**4b)
 bin-package-db-0.0.0.0
 (bin-package-db-0.0.0.0-**97d865e5935b41538bcb29fc1040ae**7d)
 bytestring-0.9.1.10
 (bytestring-0.9.1.10-**cd85f14e02463c02ba4c77d7adcdb5**4f)
 cgi-3001.1.7.4 (cgi-3001.1.7.4-**659440ce11c2975fd9c9c471a1e8ff**
 3b)
 containers-0.4.0.0
 (containers-0.4.0.0-**18deac99a132f04751d862b77aab13**6e)
 deepseq-1.1.0.2 (deepseq-1.1.0.2-**09b3aed0c4982bbc6569c668100876**
 fa)
 directory-1.1.0.0 (directory-1.1.0.0-**
 3a2367d72569467a8af8a231656ff1**b8)
 extensible-exceptions-0.1.1.2
 (extensible-exceptions-0.1.1.**2-**d8c5b906654260efd7249f497d17a8**31)
 ffi-1.0 (builtin_ffi)
 fgl-5.4.2.3 (fgl-5.4.2.3-**595811d6eabb1e1768685703ea66e9**82)
 filepath-1.2.0.0 (filepath-1.2.0.0-**f132e9f7703da4e20a47ff2b9acf1e
 **a1)
 (ghc-binary-0.5.0.2
 (ghc-binary-0.5.0.2-**aba2b5dca5546ea1a972188de48f87**b5))
 ghc-prim-0.2.0.0 (ghc-prim-0.2.0.0-**e1f7c380581d61d42b0360d440cc35
 **ed)
 haskell-src-1.0.1.4
 (haskell-src-1.0.1.4-**7428a8c9049cd6bf5abdc0bbd2d417**c5)
 (haskell2010-1.0.0.0
 (haskell2010-1.0.0.0-**53d9cd65595c551eea0c0269f534b5**e0))
 haskell98-1.1.0.1 (haskell98-1.1.0.1-**
 35ec26bae828637c1638c8be441b3d**68)
 hpc-0.5.0.6 (hpc-0.5.0.6-**481dbb43fb624c21ad3bb9434675e3**ac)
 html-1.0.1.2 (html-1.0.1.2-**a494249f98a0f38b1a8db28bc70f8b**0b)
 integer-gmp-0.2.0.3
 (integer-gmp-0.2.0.3-**91607778cf3ae8f3948a50062b4f84**79)
 mtl-2.0.1.0 (mtl-2.0.1.0-**fb4d1695269b74308c1517c06b76

Re: [Haskell-cafe] Dynamic loading of module

2011-08-28 Thread Arnaud Bailly
Anyway, I will reinstall Haskell platform and read carefully your post to be
sure I do not screwed my setup again in the future.

Best regards,
Arnaud

On Mon, Aug 29, 2011 at 8:41 AM, Arnaud Bailly wrote:

> Thanks again for your patience and efforts. I am pretty sure I did not
> remove anything from the global package scope, at least intentionally. But
> of course I may have done things whcih you did not recommend. Here is the
> command-line history:
>
> ghc-pgk unregister --user template-haskell
>
> ghc-pkg unregister --user template-haskell
> ghc-pkg unregister --force --user template-haskell
> ghc-pkg unregister --force --user quickcheck
> ghc-pkg unregister --force --user QuickCheck
> ghc-pkg unregister --force --user template-haskell
> cd C:\Documents and Settings\abailly\Application
> Data\ghc\i386-mingw32-7.0.3\
> dir
> c:
> dir
> cd package.conf.d
> dir
> cd ..
> rm -fr package.conf.d
> d:
> ghc-pkg check
> ghc-pkg update
> ghc-pkg recache
>
> Regards,
> Arnaud
>
>
> On Mon, Aug 29, 2011 at 4:03 AM, Albert Y. C. Lai  wrote:
>
>> On 11-08-28 04:40 PM, Arnaud Bailly wrote:
>>
>>> Hello Albert,
>>> Thanks for taking the time to help me fix this package stuff. So I wiped
>>> out my package.conf.d/ and tried to reinstall my stuff. Installing
>>> template-haskell 2.5.0.0 is ok (2.6 is not, fails to compile on ghc
>>> 7.0.3) but then:
>>>
>>> D:\projets\>ghc --make -package ghc main
>>> : cannot satisfy -package ghc
>>> (use -v for more information)
>>>
>>> I suspect I really *do* have to reinstall haskell-platform. Here is the
>>> output of ghc-pkg list -v:
>>>
>>> using cache: C:\Documents and Settings\abailly\Application
>>> Data\ghc\i386-mingw32-7.0.3\**package.conf.d\package.cache
>>> using cache: D:/Program Files/Haskell
>>> Platform/2011.2.0.1\lib\**package.conf.d\package.cache
>>> D:/Program Files/Haskell Platform/2011.2.0.1\lib\**package.conf.d:
>>> Cabal-1.10.1.0 (Cabal-1.10.1.0-**55f781465ee9f32289755ad706c71f**0f)
>>> GLUT-2.1.2.1 (GLUT-2.1.2.1-**2d30997b9a19d27be388572e75af52**bf)
>>> HTTP-4000.1.1 (HTTP-4000.1.1-**267a332938fa742ba5a5d59de0b46d**60)
>>> HUnit-1.2.2.3 (HUnit-1.2.2.3-**102fbfbd594cd6d38461f5c68d8809**96)
>>> OpenGL-2.2.3.0 (OpenGL-2.2.3.0-**a58ce3ad6070e6b7932a3e779be57f**75)
>>> Win32-2.2.0.1 (Win32-2.2.0.1-**26cf39fdf591bdac61b11d5a443c62**ab)
>>> array-0.3.0.2 (array-0.3.0.2-**8e9cd0144e87fa9cc86cc9031631c4**f3)
>>> base-4.3.1.0 (base-4.3.1.0-**f520cd232cc386346843c4a12b63f4**4b)
>>> bin-package-db-0.0.0.0
>>> (bin-package-db-0.0.0.0-**97d865e5935b41538bcb29fc1040ae**7d)
>>> bytestring-0.9.1.10
>>> (bytestring-0.9.1.10-**cd85f14e02463c02ba4c77d7adcdb5**4f)
>>> cgi-3001.1.7.4 (cgi-3001.1.7.4-**659440ce11c2975fd9c9c471a1e8ff**3b)
>>> containers-0.4.0.0
>>> (containers-0.4.0.0-**18deac99a132f04751d862b77aab13**6e)
>>> deepseq-1.1.0.2 (deepseq-1.1.0.2-**09b3aed0c4982bbc6569c668100876**
>>> fa)
>>> directory-1.1.0.0 (directory-1.1.0.0-**
>>> 3a2367d72569467a8af8a231656ff1**b8)
>>> extensible-exceptions-0.1.1.2
>>> (extensible-exceptions-0.1.1.**2-**d8c5b906654260efd7249f497d17a8**31)
>>> ffi-1.0 (builtin_ffi)
>>> fgl-5.4.2.3 (fgl-5.4.2.3-**595811d6eabb1e1768685703ea66e9**82)
>>> filepath-1.2.0.0 (filepath-1.2.0.0-**f132e9f7703da4e20a47ff2b9acf1e*
>>> *a1)
>>> (ghc-binary-0.5.0.2
>>> (ghc-binary-0.5.0.2-**aba2b5dca5546ea1a972188de48f87**b5))
>>> ghc-prim-0.2.0.0 (ghc-prim-0.2.0.0-**e1f7c380581d61d42b0360d440cc35*
>>> *ed)
>>> haskell-src-1.0.1.4
>>> (haskell-src-1.0.1.4-**7428a8c9049cd6bf5abdc0bbd2d417**c5)
>>> (haskell2010-1.0.0.0
>>> (haskell2010-1.0.0.0-**53d9cd65595c551eea0c0269f534b5**e0))
>>> haskell98-1.1.0.1 (haskell98-1.1.0.1-**
>>> 35ec26bae828637c1638c8be441b3d**68)
>>> hpc-0.5.0.6 (hpc-0.5.0.6-**481dbb43fb624c21ad3bb9434675e3**ac)
>>> html-1.0.1.2 (html-1.0.1.2-**a494249f98a0f38b1a8db28bc70f8b**0b)
>>> integer-gmp-0.2.0.3
>>> (integer-gmp-0.2.0.3-**91607778cf3ae8f3948a50062b4f84**79)
>>> mtl-2.0.1.0 (mtl-2.0.1.0-**fb4d1695269b74308c1517c06b76e6**e8)
>>> network-2.3.0.2 (network-2.3.0.2-**47657e39a6118a978d9f443d72e85d**
>>> 4a)
>>> old-locale-1.0.0.2
>>> (old-locale-1.0.0.2-**6e2a3c0744e8cf4e0ac2d4e58659f7**b5)
>>> old-time-1.0.0.6 (old-time-1.0.0.6-**445ce39cbcebd38069c25c0f383b72*
>>> *8d)
>>> parallel-3.1.0.1 (parallel-3.1.0.1-**6eaa564e1ef1537bc88ad1fea6c90f*
>>> *e2)
>>> parsec-3.1.1 (parsec-3.1.1-**9da59b00c02e52f9f62f3c87c7e0e2**ec)
>>> pretty-1.0.1.2 (pretty-1.0.1.2-**abc7c632374e50e1c1927987c2651f**0f)
>>> process-1.0.1.5 (process-1.0.1.5-**b3dded8e54a2e13d22af410bdcfaff**
>>> f4)
>>> random-1.0.0.3 (random-1.0.0.3-**1abde37180be5476311abeefe300ab**c2)
>>> regex-base-0.93.2 (regex-base-0.93.2-**
>>> 9e1b027c41dbec856469a30982495b**b9)
>>> regex-compat-0.93.1
>>> (regex-compat-0.93.1-**31c61fe0aee45e8a9853edf7a844f7**4e)
>>> regex-posix-0.94.4
>>> (regex-posix-0.94.4-**f5eb628ea5dae5f91552d5ea0e2635**9d)

Re: [Haskell-cafe] Dynamic loading of module

2011-08-28 Thread Arnaud Bailly
Thanks again for your patience and efforts. I am pretty sure I did not
remove anything from the global package scope, at least intentionally. But
of course I may have done things whcih you did not recommend. Here is the
command-line history:

ghc-pgk unregister --user template-haskell
ghc-pkg unregister --user template-haskell
ghc-pkg unregister --force --user template-haskell
ghc-pkg unregister --force --user quickcheck
ghc-pkg unregister --force --user QuickCheck
ghc-pkg unregister --force --user template-haskell
cd C:\Documents and Settings\abailly\Application
Data\ghc\i386-mingw32-7.0.3\
dir
c:
dir
cd package.conf.d
dir
cd ..
rm -fr package.conf.d
d:
ghc-pkg check
ghc-pkg update
ghc-pkg recache

Regards,
Arnaud

On Mon, Aug 29, 2011 at 4:03 AM, Albert Y. C. Lai  wrote:

> On 11-08-28 04:40 PM, Arnaud Bailly wrote:
>
>> Hello Albert,
>> Thanks for taking the time to help me fix this package stuff. So I wiped
>> out my package.conf.d/ and tried to reinstall my stuff. Installing
>> template-haskell 2.5.0.0 is ok (2.6 is not, fails to compile on ghc
>> 7.0.3) but then:
>>
>> D:\projets\>ghc --make -package ghc main
>> : cannot satisfy -package ghc
>> (use -v for more information)
>>
>> I suspect I really *do* have to reinstall haskell-platform. Here is the
>> output of ghc-pkg list -v:
>>
>> using cache: C:\Documents and Settings\abailly\Application
>> Data\ghc\i386-mingw32-7.0.3\**package.conf.d\package.cache
>> using cache: D:/Program Files/Haskell
>> Platform/2011.2.0.1\lib\**package.conf.d\package.cache
>> D:/Program Files/Haskell Platform/2011.2.0.1\lib\**package.conf.d:
>> Cabal-1.10.1.0 (Cabal-1.10.1.0-**55f781465ee9f32289755ad706c71f**0f)
>> GLUT-2.1.2.1 (GLUT-2.1.2.1-**2d30997b9a19d27be388572e75af52**bf)
>> HTTP-4000.1.1 (HTTP-4000.1.1-**267a332938fa742ba5a5d59de0b46d**60)
>> HUnit-1.2.2.3 (HUnit-1.2.2.3-**102fbfbd594cd6d38461f5c68d8809**96)
>> OpenGL-2.2.3.0 (OpenGL-2.2.3.0-**a58ce3ad6070e6b7932a3e779be57f**75)
>> Win32-2.2.0.1 (Win32-2.2.0.1-**26cf39fdf591bdac61b11d5a443c62**ab)
>> array-0.3.0.2 (array-0.3.0.2-**8e9cd0144e87fa9cc86cc9031631c4**f3)
>> base-4.3.1.0 (base-4.3.1.0-**f520cd232cc386346843c4a12b63f4**4b)
>> bin-package-db-0.0.0.0
>> (bin-package-db-0.0.0.0-**97d865e5935b41538bcb29fc1040ae**7d)
>> bytestring-0.9.1.10
>> (bytestring-0.9.1.10-**cd85f14e02463c02ba4c77d7adcdb5**4f)
>> cgi-3001.1.7.4 (cgi-3001.1.7.4-**659440ce11c2975fd9c9c471a1e8ff**3b)
>> containers-0.4.0.0
>> (containers-0.4.0.0-**18deac99a132f04751d862b77aab13**6e)
>> deepseq-1.1.0.2 (deepseq-1.1.0.2-**09b3aed0c4982bbc6569c668100876**
>> fa)
>> directory-1.1.0.0 (directory-1.1.0.0-**3a2367d72569467a8af8a231656ff1
>> **b8)
>> extensible-exceptions-0.1.1.2
>> (extensible-exceptions-0.1.1.**2-**d8c5b906654260efd7249f497d17a8**31)
>> ffi-1.0 (builtin_ffi)
>> fgl-5.4.2.3 (fgl-5.4.2.3-**595811d6eabb1e1768685703ea66e9**82)
>> filepath-1.2.0.0 (filepath-1.2.0.0-**f132e9f7703da4e20a47ff2b9acf1e**
>> a1)
>> (ghc-binary-0.5.0.2
>> (ghc-binary-0.5.0.2-**aba2b5dca5546ea1a972188de48f87**b5))
>> ghc-prim-0.2.0.0 (ghc-prim-0.2.0.0-**e1f7c380581d61d42b0360d440cc35**
>> ed)
>> haskell-src-1.0.1.4
>> (haskell-src-1.0.1.4-**7428a8c9049cd6bf5abdc0bbd2d417**c5)
>> (haskell2010-1.0.0.0
>> (haskell2010-1.0.0.0-**53d9cd65595c551eea0c0269f534b5**e0))
>> haskell98-1.1.0.1 (haskell98-1.1.0.1-**35ec26bae828637c1638c8be441b3d
>> **68)
>> hpc-0.5.0.6 (hpc-0.5.0.6-**481dbb43fb624c21ad3bb9434675e3**ac)
>> html-1.0.1.2 (html-1.0.1.2-**a494249f98a0f38b1a8db28bc70f8b**0b)
>> integer-gmp-0.2.0.3
>> (integer-gmp-0.2.0.3-**91607778cf3ae8f3948a50062b4f84**79)
>> mtl-2.0.1.0 (mtl-2.0.1.0-**fb4d1695269b74308c1517c06b76e6**e8)
>> network-2.3.0.2 (network-2.3.0.2-**47657e39a6118a978d9f443d72e85d**
>> 4a)
>> old-locale-1.0.0.2
>> (old-locale-1.0.0.2-**6e2a3c0744e8cf4e0ac2d4e58659f7**b5)
>> old-time-1.0.0.6 (old-time-1.0.0.6-**445ce39cbcebd38069c25c0f383b72**
>> 8d)
>> parallel-3.1.0.1 (parallel-3.1.0.1-**6eaa564e1ef1537bc88ad1fea6c90f**
>> e2)
>> parsec-3.1.1 (parsec-3.1.1-**9da59b00c02e52f9f62f3c87c7e0e2**ec)
>> pretty-1.0.1.2 (pretty-1.0.1.2-**abc7c632374e50e1c1927987c2651f**0f)
>> process-1.0.1.5 (process-1.0.1.5-**b3dded8e54a2e13d22af410bdcfaff**
>> f4)
>> random-1.0.0.3 (random-1.0.0.3-**1abde37180be5476311abeefe300ab**c2)
>> regex-base-0.93.2 (regex-base-0.93.2-**9e1b027c41dbec856469a30982495b
>> **b9)
>> regex-compat-0.93.1
>> (regex-compat-0.93.1-**31c61fe0aee45e8a9853edf7a844f7**4e)
>> regex-posix-0.94.4
>> (regex-posix-0.94.4-**f5eb628ea5dae5f91552d5ea0e2635**9d)
>> rts-1.0 (builtin_rts)
>> stm-2.2.0.1 (stm-2.2.0.1-**57e291244ee02349552a4f79caeb4f**fe)
>> syb-0.3 (syb-0.3-**8db7bc4339a1cb8a6f2a46c40447ef**0b)
>> text-0.11.0.6 (text-0.11.0.6-**398a3f02891247aea46662fc7379c4**a5)
>> time-1.2.0.3 (time-1.2.0.3-**74ef6ac31cee9aec02b036978af002**d2)
>> transformers-0.2.2.0
>> (transfo

Re: [Haskell-cafe] Dynamic loading of module

2011-08-28 Thread Albert Y. C. Lai

On 11-08-28 10:38 PM, Brandon Allbery wrote:

On Sun, Aug 28, 2011 at 22:13, Albert Y. C. Lai mailto:tre...@vex.net>> wrote:

On 11-08-28 04:53 PM, Brandon Allbery wrote:

That'd be expected; you shouldn't simply obliterate
package.conf.d, you
need to keep ghc's boot libraries (which include itself as a
library).
  If the boot libraries are somehow hosed, you need to reinstall the
compiler to get them back.


Different package.conf.d


Except that, as you discovered later, the user was obviously talking
about having obliterated the system one.  :(


Explain to me why the following survives obliteration:

D:/Program Files/Haskell Platform/2011.2.0.1\lib\package.conf.d:
[...]
base-4.3.1.0 (base-4.3.1.0-f520cd232cc386346843c4a12b63f44b)
bin-package-db-0.0.0.0 
(bin-package-db-0.0.0.0-97d865e5935b41538bcb29fc1040ae7d)

[...]
ffi-1.0 (builtin_ffi)
(ghc-binary-0.5.0.2 
(ghc-binary-0.5.0.2-aba2b5dca5546ea1a972188de48f87b5))

ghc-prim-0.2.0.0 (ghc-prim-0.2.0.0-e1f7c380581d61d42b0360d440cc35ed)
[...]
integer-gmp-0.2.0.3 
(integer-gmp-0.2.0.3-91607778cf3ae8f3948a50062b4f8479)

rts-1.0 (builtin_rts)
[...]

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Dynamic loading of module

2011-08-28 Thread Brandon Allbery
On Sun, Aug 28, 2011 at 22:13, Albert Y. C. Lai  wrote:

> On 11-08-28 04:53 PM, Brandon Allbery wrote:
>
>> That'd be expected; you shouldn't simply obliterate package.conf.d, you
>> need to keep ghc's boot libraries (which include itself as a library).
>>  If the boot libraries are somehow hosed, you need to reinstall the
>> compiler to get them back.
>>
>
> Different package.conf.d
>

Except that, as you discovered later, the user was obviously talking about
having obliterated the system one.  :(

-- 
brandon s allbery  allber...@gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Dynamic loading of module

2011-08-28 Thread Albert Y. C. Lai

On 11-08-28 04:53 PM, Brandon Allbery wrote:

That'd be expected; you shouldn't simply obliterate package.conf.d, you
need to keep ghc's boot libraries (which include itself as a library).
  If the boot libraries are somehow hosed, you need to reinstall the
compiler to get them back.


Different package.conf.d

I suggested obliterating C:\Documents and Settings\abailly\Application 
Data\ghc\i386-mingw32-7.0.3\package.conf.d (on linux it would be called 
~/.ghc/i386-linux-7.0.3/package.conf.d). That would just drop user 
packages and not touch boot packages (global packages for that matter).


You can also see that under the listing of D:/Program Files/Haskell 
Platform/2011.2.0.1\lib\package.conf.d the majority of packages are 
still there, not obliterated. (For example base, bin-package-db are 
still there.)


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Dynamic loading of module

2011-08-28 Thread Albert Y. C. Lai

On 11-08-28 04:40 PM, Arnaud Bailly wrote:

Hello Albert,
Thanks for taking the time to help me fix this package stuff. So I wiped
out my package.conf.d/ and tried to reinstall my stuff. Installing
template-haskell 2.5.0.0 is ok (2.6 is not, fails to compile on ghc
7.0.3) but then:

D:\projets\>ghc --make -package ghc main
: cannot satisfy -package ghc
 (use -v for more information)

I suspect I really *do* have to reinstall haskell-platform. Here is the
output of ghc-pkg list -v:

using cache: C:\Documents and Settings\abailly\Application
Data\ghc\i386-mingw32-7.0.3\package.conf.d\package.cache
using cache: D:/Program Files/Haskell
Platform/2011.2.0.1\lib\package.conf.d\package.cache
D:/Program Files/Haskell Platform/2011.2.0.1\lib\package.conf.d:
 Cabal-1.10.1.0 (Cabal-1.10.1.0-55f781465ee9f32289755ad706c71f0f)
 GLUT-2.1.2.1 (GLUT-2.1.2.1-2d30997b9a19d27be388572e75af52bf)
 HTTP-4000.1.1 (HTTP-4000.1.1-267a332938fa742ba5a5d59de0b46d60)
 HUnit-1.2.2.3 (HUnit-1.2.2.3-102fbfbd594cd6d38461f5c68d880996)
 OpenGL-2.2.3.0 (OpenGL-2.2.3.0-a58ce3ad6070e6b7932a3e779be57f75)
 Win32-2.2.0.1 (Win32-2.2.0.1-26cf39fdf591bdac61b11d5a443c62ab)
 array-0.3.0.2 (array-0.3.0.2-8e9cd0144e87fa9cc86cc9031631c4f3)
 base-4.3.1.0 (base-4.3.1.0-f520cd232cc386346843c4a12b63f44b)
 bin-package-db-0.0.0.0
(bin-package-db-0.0.0.0-97d865e5935b41538bcb29fc1040ae7d)
 bytestring-0.9.1.10
(bytestring-0.9.1.10-cd85f14e02463c02ba4c77d7adcdb54f)
 cgi-3001.1.7.4 (cgi-3001.1.7.4-659440ce11c2975fd9c9c471a1e8ff3b)
 containers-0.4.0.0
(containers-0.4.0.0-18deac99a132f04751d862b77aab136e)
 deepseq-1.1.0.2 (deepseq-1.1.0.2-09b3aed0c4982bbc6569c668100876fa)
 directory-1.1.0.0 (directory-1.1.0.0-3a2367d72569467a8af8a231656ff1b8)
 extensible-exceptions-0.1.1.2
(extensible-exceptions-0.1.1.2-d8c5b906654260efd7249f497d17a831)
 ffi-1.0 (builtin_ffi)
 fgl-5.4.2.3 (fgl-5.4.2.3-595811d6eabb1e1768685703ea66e982)
 filepath-1.2.0.0 (filepath-1.2.0.0-f132e9f7703da4e20a47ff2b9acf1ea1)
 (ghc-binary-0.5.0.2
(ghc-binary-0.5.0.2-aba2b5dca5546ea1a972188de48f87b5))
 ghc-prim-0.2.0.0 (ghc-prim-0.2.0.0-e1f7c380581d61d42b0360d440cc35ed)
 haskell-src-1.0.1.4
(haskell-src-1.0.1.4-7428a8c9049cd6bf5abdc0bbd2d417c5)
 (haskell2010-1.0.0.0
(haskell2010-1.0.0.0-53d9cd65595c551eea0c0269f534b5e0))
 haskell98-1.1.0.1 (haskell98-1.1.0.1-35ec26bae828637c1638c8be441b3d68)
 hpc-0.5.0.6 (hpc-0.5.0.6-481dbb43fb624c21ad3bb9434675e3ac)
 html-1.0.1.2 (html-1.0.1.2-a494249f98a0f38b1a8db28bc70f8b0b)
 integer-gmp-0.2.0.3
(integer-gmp-0.2.0.3-91607778cf3ae8f3948a50062b4f8479)
 mtl-2.0.1.0 (mtl-2.0.1.0-fb4d1695269b74308c1517c06b76e6e8)
 network-2.3.0.2 (network-2.3.0.2-47657e39a6118a978d9f443d72e85d4a)
 old-locale-1.0.0.2
(old-locale-1.0.0.2-6e2a3c0744e8cf4e0ac2d4e58659f7b5)
 old-time-1.0.0.6 (old-time-1.0.0.6-445ce39cbcebd38069c25c0f383b728d)
 parallel-3.1.0.1 (parallel-3.1.0.1-6eaa564e1ef1537bc88ad1fea6c90fe2)
 parsec-3.1.1 (parsec-3.1.1-9da59b00c02e52f9f62f3c87c7e0e2ec)
 pretty-1.0.1.2 (pretty-1.0.1.2-abc7c632374e50e1c1927987c2651f0f)
 process-1.0.1.5 (process-1.0.1.5-b3dded8e54a2e13d22af410bdcfafff4)
 random-1.0.0.3 (random-1.0.0.3-1abde37180be5476311abeefe300abc2)
 regex-base-0.93.2 (regex-base-0.93.2-9e1b027c41dbec856469a30982495bb9)
 regex-compat-0.93.1
(regex-compat-0.93.1-31c61fe0aee45e8a9853edf7a844f74e)
 regex-posix-0.94.4
(regex-posix-0.94.4-f5eb628ea5dae5f91552d5ea0e26359d)
 rts-1.0 (builtin_rts)
 stm-2.2.0.1 (stm-2.2.0.1-57e291244ee02349552a4f79caeb4ffe)
 syb-0.3 (syb-0.3-8db7bc4339a1cb8a6f2a46c40447ef0b)
 text-0.11.0.6 (text-0.11.0.6-398a3f02891247aea46662fc7379c4a5)
 time-1.2.0.3 (time-1.2.0.3-74ef6ac31cee9aec02b036978af002d2)
 transformers-0.2.2.0
(transformers-0.2.2.0-2fe7b735c63a6cbe8724038d8e4d812a)
 xhtml-3000.2.0.1 (xhtml-3000.2.0.1-ace31b2e48c396e565655b0f34f5d2b7)
 zlib-0.5.3.1 (zlib-0.5.3.1-5fbdf714525b76e0e601c2ffb25f2044)

C:\Documents and Settings\abailly\Application
Data\ghc\i386-mingw32-7.0.3\package.conf.d:
 QuickCheck-2.4.1.1
(QuickCheck-2.4.1.1-04d68679694a517ba23022a4c6bc1cde)
 ghc-paths-0.1.0.8 (ghc-paths-0.1.0.8-be391faf057d651dbb92b73671fe9eee)
 template-haskell-2.5.0.0
(template-haskell-2.5.0.0-87f4f416a22a910e480ac9f269479a5f)
 utf8-string-0.3.7 (utf8-string-0.3.7-dcbcb8de655cdfe1c4c28c094f8c6799)

Thanks again,
Arnaud

On Sat, Aug 27, 2011 at 8:59 PM, Albert Y. C. Lai mailto:tre...@vex.net>> wrote:

You have too many instances of template-haskell. The important parts
are:


package ghc-7.0.3-__fc75cf67c86ba2c0d64b07024a18d3__b4 is unusable
due to missing or recursive dependencies:
  template-haskell-2.5.0.0-__7d9b1443ac5ab69e5ed705a487990d__eb

package
template-haskell-2.5.0.0-__7d9b1443ac5ab69e5ed705a487990d__eb is
shadowed by package
template-haskell-2.5.0.0-__87f4f416a22a910e480ac9f269479a__5f

and in "ghc-pkg list -v

Re: [Haskell-cafe] Dynamic loading of module

2011-08-28 Thread Brandon Allbery
On Sun, Aug 28, 2011 at 16:40, Arnaud Bailly  wrote:

> Thanks for taking the time to help me fix this package stuff. So I wiped
> out my package.conf.d/ and tried to reinstall my stuff. Installing
> template-haskell 2.5.0.0 is ok (2.6 is not, fails to compile on ghc 7.0.3)
> but then:
>
> D:\projets\>ghc --make -package ghc main
>
> : cannot satisfy -package ghc
> (use -v for more information)
>

That'd be expected; you shouldn't simply obliterate package.conf.d, you need
to keep ghc's boot libraries (which include itself as a library).  If the
boot libraries are somehow hosed, you need to reinstall the compiler to get
them back.

Although, I think you were headed there anyway:  template-haskell is a boot
library, since it's very tightly bound to the exact compiler version, so
it's almost always wrong to install it in any way other than as part of
installing GHC itself.

-- 
brandon s allbery  allber...@gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Dynamic loading of module

2011-08-28 Thread Arnaud Bailly
Hello Albert,
Thanks for taking the time to help me fix this package stuff. So I wiped out
my package.conf.d/ and tried to reinstall my stuff. Installing
template-haskell 2.5.0.0 is ok (2.6 is not, fails to compile on ghc 7.0.3)
but then:

D:\projets\>ghc --make -package ghc main
: cannot satisfy -package ghc
(use -v for more information)

I suspect I really *do* have to reinstall haskell-platform. Here is the
output of ghc-pkg list -v:

using cache: C:\Documents and Settings\abailly\Application
Data\ghc\i386-mingw32-7.0.3\package.conf.d\package.cache
using cache: D:/Program Files/Haskell
Platform/2011.2.0.1\lib\package.conf.d\package.cache
D:/Program Files/Haskell Platform/2011.2.0.1\lib\package.conf.d:
Cabal-1.10.1.0 (Cabal-1.10.1.0-55f781465ee9f32289755ad706c71f0f)
GLUT-2.1.2.1 (GLUT-2.1.2.1-2d30997b9a19d27be388572e75af52bf)
HTTP-4000.1.1 (HTTP-4000.1.1-267a332938fa742ba5a5d59de0b46d60)
HUnit-1.2.2.3 (HUnit-1.2.2.3-102fbfbd594cd6d38461f5c68d880996)
OpenGL-2.2.3.0 (OpenGL-2.2.3.0-a58ce3ad6070e6b7932a3e779be57f75)
Win32-2.2.0.1 (Win32-2.2.0.1-26cf39fdf591bdac61b11d5a443c62ab)
array-0.3.0.2 (array-0.3.0.2-8e9cd0144e87fa9cc86cc9031631c4f3)
base-4.3.1.0 (base-4.3.1.0-f520cd232cc386346843c4a12b63f44b)
bin-package-db-0.0.0.0
(bin-package-db-0.0.0.0-97d865e5935b41538bcb29fc1040ae7d)
bytestring-0.9.1.10
(bytestring-0.9.1.10-cd85f14e02463c02ba4c77d7adcdb54f)
cgi-3001.1.7.4 (cgi-3001.1.7.4-659440ce11c2975fd9c9c471a1e8ff3b)
containers-0.4.0.0 (containers-0.4.0.0-18deac99a132f04751d862b77aab136e)
deepseq-1.1.0.2 (deepseq-1.1.0.2-09b3aed0c4982bbc6569c668100876fa)
directory-1.1.0.0 (directory-1.1.0.0-3a2367d72569467a8af8a231656ff1b8)
extensible-exceptions-0.1.1.2
(extensible-exceptions-0.1.1.2-d8c5b906654260efd7249f497d17a831)
ffi-1.0 (builtin_ffi)
fgl-5.4.2.3 (fgl-5.4.2.3-595811d6eabb1e1768685703ea66e982)
filepath-1.2.0.0 (filepath-1.2.0.0-f132e9f7703da4e20a47ff2b9acf1ea1)
(ghc-binary-0.5.0.2
(ghc-binary-0.5.0.2-aba2b5dca5546ea1a972188de48f87b5))
ghc-prim-0.2.0.0 (ghc-prim-0.2.0.0-e1f7c380581d61d42b0360d440cc35ed)
haskell-src-1.0.1.4
(haskell-src-1.0.1.4-7428a8c9049cd6bf5abdc0bbd2d417c5)
(haskell2010-1.0.0.0
(haskell2010-1.0.0.0-53d9cd65595c551eea0c0269f534b5e0))
haskell98-1.1.0.1 (haskell98-1.1.0.1-35ec26bae828637c1638c8be441b3d68)
hpc-0.5.0.6 (hpc-0.5.0.6-481dbb43fb624c21ad3bb9434675e3ac)
html-1.0.1.2 (html-1.0.1.2-a494249f98a0f38b1a8db28bc70f8b0b)
integer-gmp-0.2.0.3
(integer-gmp-0.2.0.3-91607778cf3ae8f3948a50062b4f8479)
mtl-2.0.1.0 (mtl-2.0.1.0-fb4d1695269b74308c1517c06b76e6e8)
network-2.3.0.2 (network-2.3.0.2-47657e39a6118a978d9f443d72e85d4a)
old-locale-1.0.0.2 (old-locale-1.0.0.2-6e2a3c0744e8cf4e0ac2d4e58659f7b5)
old-time-1.0.0.6 (old-time-1.0.0.6-445ce39cbcebd38069c25c0f383b728d)
parallel-3.1.0.1 (parallel-3.1.0.1-6eaa564e1ef1537bc88ad1fea6c90fe2)
parsec-3.1.1 (parsec-3.1.1-9da59b00c02e52f9f62f3c87c7e0e2ec)
pretty-1.0.1.2 (pretty-1.0.1.2-abc7c632374e50e1c1927987c2651f0f)
process-1.0.1.5 (process-1.0.1.5-b3dded8e54a2e13d22af410bdcfafff4)
random-1.0.0.3 (random-1.0.0.3-1abde37180be5476311abeefe300abc2)
regex-base-0.93.2 (regex-base-0.93.2-9e1b027c41dbec856469a30982495bb9)
regex-compat-0.93.1
(regex-compat-0.93.1-31c61fe0aee45e8a9853edf7a844f74e)
regex-posix-0.94.4 (regex-posix-0.94.4-f5eb628ea5dae5f91552d5ea0e26359d)
rts-1.0 (builtin_rts)
stm-2.2.0.1 (stm-2.2.0.1-57e291244ee02349552a4f79caeb4ffe)
syb-0.3 (syb-0.3-8db7bc4339a1cb8a6f2a46c40447ef0b)
text-0.11.0.6 (text-0.11.0.6-398a3f02891247aea46662fc7379c4a5)
time-1.2.0.3 (time-1.2.0.3-74ef6ac31cee9aec02b036978af002d2)
transformers-0.2.2.0
(transformers-0.2.2.0-2fe7b735c63a6cbe8724038d8e4d812a)
xhtml-3000.2.0.1 (xhtml-3000.2.0.1-ace31b2e48c396e565655b0f34f5d2b7)
zlib-0.5.3.1 (zlib-0.5.3.1-5fbdf714525b76e0e601c2ffb25f2044)

C:\Documents and Settings\abailly\Application
Data\ghc\i386-mingw32-7.0.3\package.conf.d:
QuickCheck-2.4.1.1 (QuickCheck-2.4.1.1-04d68679694a517ba23022a4c6bc1cde)
ghc-paths-0.1.0.8 (ghc-paths-0.1.0.8-be391faf057d651dbb92b73671fe9eee)
template-haskell-2.5.0.0
(template-haskell-2.5.0.0-87f4f416a22a910e480ac9f269479a5f)
utf8-string-0.3.7 (utf8-string-0.3.7-dcbcb8de655cdfe1c4c28c094f8c6799)

Thanks again,
Arnaud

On Sat, Aug 27, 2011 at 8:59 PM, Albert Y. C. Lai  wrote:

> You have too many instances of template-haskell. The important parts are:
>
>
> package ghc-7.0.3-**fc75cf67c86ba2c0d64b07024a18d3**b4 is unusable due to
> missing or recursive dependencies:
>  template-haskell-2.5.0.0-**7d9b1443ac5ab69e5ed705a487990d**eb
>
> package template-haskell-2.5.0.0-**7d9b1443ac5ab69e5ed705a487990d**eb is
> shadowed by package template-haskell-2.5.0.0-**
> 87f4f416a22a910e480ac9f269479a**5f
>
> and in "ghc-pkg list -v":
>
> D:/Program Files/Haskell Platform/2011.2.0.1\lib\**package.conf.d:
>
>
>   template-haskell-2.5.0.0 (template-haskell-2.5.0.0-**
> 7

Re: [Haskell-cafe] Dynamic loading of module

2011-08-26 Thread Albert Y. C. Lai

On 11-08-26 04:51 AM, Arnaud Bailly wrote:

D:\projets\>ghc -package ghc main.hs --make
: cannot satisfy -package ghc:
 ghc-7.0.3-fc75cf67c86ba2c0d64b07024a18d3b4 is unusable due to
missing or recursive dependencies:
   template-haskell-2.5.0.0-7d9b1443ac5ab69e5ed705a487990deb
 (use -v for more information)

When I run ghc-pkg check, I got which obviously is bad.


[...]

There are problems in package QuickCheck-2.4.0.1:
   dependency
"template-haskell-2.5.0.0-e5fd973432385747440288b48f6a6a5a" doesn't exist


For a 100%-accurate answer, one would need the full history of what you 
did to your computer, which no one knows.


For a 99%-accurate answer, the outputs of "ghc -v" and "ghc-pkg list -v" 
are very good post-mortem information.


A 90%-accurate answer: Given the incomplete information (that's right, 
"ghc-pkg check" is incomplete), there is 90% probability that you lost 
template-haskell, and you must reinstall haskell platform. (No, building 
a new instance of template-haskell is not enough. Generally, replacing 
or overriding libs that come with GHC does not work. See my 
http://www.vex.net/~trebla/haskell/sicp.xhtml )


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Dynamic loading of module

2011-08-26 Thread Arnaud Bailly
Hello,
I stumbled upon this blog post describing a method from dynamically loading
modules using GHC api.

While trying to test the given method, I got the following error which
obviously tells me my packages are not correctly installed but I have no
idea how to fix this.

D:\projets\>ghc -package ghc main.hs --make
: cannot satisfy -package ghc:
ghc-7.0.3-fc75cf67c86ba2c0d64b07024a18d3b4 is unusable due to missing or
recursive dependencies:
  template-haskell-2.5.0.0-7d9b1443ac5ab69e5ed705a487990deb
(use -v for more information)

When I run ghc-pkg check, I got which obviously is bad.

There are problems in package test-framework-0.3.3:
  dependency "regex-posix-0.94.4-7963833a181f95ba404a78e3e76d835a" doesn't
exist
There are problems in package QuickCheck-2.4.0.1:
  dependency "template-haskell-2.5.0.0-e5fd973432385747440288b48f6a6a5a"
doesn't exist
There are problems in package snap-0.5.1:
  dependency "attoparsec-0.8.6.1-3d4c24cfa94f97cbeb7d6cf43ef70284" doesn't
exist
  dependency "blaze-builder-0.3.0.1-157e8a92bc5ef27895f938613ecfdcb1"
doesn't exist
  dependency "cereal-0.3.3.0-81dac2655ecff64c5fc69671490df093" doesn't exist
  dependency "enumerator-0.4.10-d65a90206db2a5203c1c906e6f58a6c9" doesn't
exist
There are problems in package snap-server-0.5.1:
  dependency "attoparsec-0.8.6.1-3d4c24cfa94f97cbeb7d6cf43ef70284" doesn't
exist
  dependency
"attoparsec-enumerator-0.2.0.3-d5a7e5b640b4b27be4c6d0c9a314dd0a" doesn't
exist
  dependency "binary-0.5.0.2-72c84eaab351d41e936261d8d5d416f5" doesn't exist
  dependency "blaze-builder-0.3.0.1-157e8a92bc5ef27895f938613ecfdcb1"
doesn't exist
  dependency "case-insensitive-0.2.0.1-6cb260512f91ae60284372c0208aa00e"
doesn't exist
  dependency "enumerator-0.4.10-d65a90206db2a5203c1c906e6f58a6c9" doesn't
exist
There are problems in package snap-core-0.5.1:
  dependency "attoparsec-0.8.6.1-3d4c24cfa94f97cbeb7d6cf43ef70284" doesn't
exist
  dependency
"attoparsec-enumerator-0.2.0.3-d5a7e5b640b4b27be4c6d0c9a314dd0a" doesn't
exist
  dependency "blaze-builder-0.3.0.1-157e8a92bc5ef27895f938613ecfdcb1"
doesn't exist
  dependency "case-insensitive-0.2.0.1-6cb260512f91ae60284372c0208aa00e"
doesn't exist
  dependency "enumerator-0.4.10-d65a90206db2a5203c1c906e6f58a6c9" doesn't
exist
There are problems in package heist-0.5.2:
  dependency "attoparsec-0.8.6.1-3d4c24cfa94f97cbeb7d6cf43ef70284" doesn't
exist
  dependency "blaze-builder-0.3.0.1-157e8a92bc5ef27895f938613ecfdcb1"
doesn't exist
There are problems in package xmlhtml-0.1.5:
  dependency "blaze-builder-0.3.0.1-157e8a92bc5ef27895f938613ecfdcb1"
doesn't exist
There are problems in package authenticate-0.9.0.1:
  dependency "attoparsec-0.8.6.1-3d4c24cfa94f97cbeb7d6cf43ef70284" doesn't
exist
  dependency "blaze-builder-0.3.0.1-157e8a92bc5ef27895f938613ecfdcb1"
doesn't exist
  dependency "case-insensitive-0.2.0.1-6cb260512f91ae60284372c0208aa00e"
doesn't exist
  dependency "enumerator-0.4.10-d65a90206db2a5203c1c906e6f58a6c9" doesn't
exist
There are problems in package http-enumerator-0.6.5.1:
  dependency "attoparsec-0.8.6.1-3d4c24cfa94f97cbeb7d6cf43ef70284" doesn't
exist
  dependency
"attoparsec-enumerator-0.2.0.3-d5a7e5b640b4b27be4c6d0c9a314dd0a" doesn't
exist
  dependency "blaze-builder-0.3.0.1-157e8a92bc5ef27895f938613ecfdcb1"
doesn't exist
  dependency "case-insensitive-0.2.0.1-6cb260512f91ae60284372c0208aa00e"
doesn't exist
  dependency "enumerator-0.4.10-d65a90206db2a5203c1c906e6f58a6c9" doesn't
exist
There are problems in package zlib-enum-0.2.1:
  dependency "enumerator-0.4.10-d65a90206db2a5203c1c906e6f58a6c9" doesn't
exist
There are problems in package yesod-static-0.1.0:
  dependency "cereal-0.3.3.0-81dac2655ecff64c5fc69671490df093" doesn't exist
  dependency "pureMD5-2.1.0.3-cb7a7a936930b56c62f9207838b99efb" doesn't
exist
There are problems in package yesod-form-0.1.0.1:
  dependency "blaze-builder-0.3.0.1-157e8a92bc5ef27895f938613ecfdcb1"
doesn't exist
  dependency "data-default-0.2.0.1-14197e607852c0357951d749c098bd34" doesn't
exist
There are problems in package yesod-core-0.8.2:
  dependency "blaze-builder-0.3.0.1-157e8a92bc5ef27895f938613ecfdcb1"
doesn't exist
  dependency "case-insensitive-0.2.0.1-6cb260512f91ae60284372c0208aa00e"
doesn't exist
  dependency "cereal-0.3.3.0-81dac2655ecff64c5fc69671490df093" doesn't exist
  dependency "enumerator-0.4.10-d65a90206db2a5203c1c906e6f58a6c9" doesn't
exist
There are problems in package warp-0.4.0.1:
  dependency "blaze-builder-0.3.0.1-157e8a92bc5ef27895f938613ecfdcb1"
doesn't exist
  dependency "case-insensitive-0.2.0.1-6cb260512f91ae60284372c0208aa00e"
doesn't exist
  dependency "enumerator-0.4.10-d65a90206db2a5203c1c906e6f58a6c9" doesn't
exist
There are problems in package wai-extra-0.4.0.1:
  dependency "blaze-builder-0.3.0.1-157e8a92bc5ef27895f938613ecfdcb1"
doesn't exist
  dependency "case-insensitive-0.2.0.1-6cb260512f91ae60284372c0208aa00e"
doesn't exist
  dependency "enumerator-0.4.10-d65a90206db2a5203c1c906e6f58a6c9" doesn't
exist
There are problems