Re: [git-annex] compile error on lucid (was: reflink=auto option not present)

2011-04-20 Thread Abhishek Dasgupta
(forgot to Cc the list last time)
Joey Hess wrote:
> Abhishek Dasgupta wrote:
> > Abhishek Dasgupta wrote:
> > > Hi,
> > > 
> > > I have been using git-annex for some time, and today while trying to
> > > issue `git annex get` it shows:
> > > get big_file (copying from host...) cp: unrecognized option 
> > > '--reflink=auto'
> > > Try `cp --help' for more information.
> > > 
> > OK, it seems that git-annex checks for the reflink=auto option while
> > building and disables that functionality if not present. However, now I
> > have a different problem -- while compiling on lucid (version
> > 0.20110401), I get this error:
> > 
> > [ 6 of 72] Compiling Key  ( Key.hs, Key.o )
> > 
> > Key.hs:77:7:
> > No instance for (Arbitrary Char)
> >   arising from a use of `arbitrary' at Key.hs:77:7-15
> > Possible fix: add an instance declaration for (Arbitrary Char)
> > In a stmt of a 'do' expression: n <- arbitrary
> > In the expression:
> > do { n <- arbitrary;
> >  b <- elements ['A' .. 'Z'];
> >return
> >  $ Key
> >  {keyName = n, keyBackendName = [b], keySize = Nothing,
> >   keyMtime = Nothing} }
> > In the definition of `arbitrary':
> > arbitrary = do { n <- arbitrary;
> >  b <- elements ['A' .. 'Z'];
> >return
> >  $ Key
> >  {keyName = n, keyBackendName = [...], keySize 
> > = Nothing,
> >   keyMtime = Nothing} }
> > 
> 
> This is either a too old, or possibly a too new version of the haskell
> quickcheck library. 
> 
> One easy workaround is to edit the file in question and remove all the
> "for quickcheck" stuff at the end of the file.
> (The test suite will then not be able to build, but the program will.)
> 
Thanks for the responses. Luckily coreutils 8.5-1 from Debian installs
without any fuss on lucid, so that solves the problem.

-- 
Abhishek


signature.asc
Description: Digital signature
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home

Re: [git-annex] compile error on lucid (was: reflink=auto option not present)

2011-04-20 Thread Joey Hess
Abhishek Dasgupta wrote:
> Abhishek Dasgupta wrote:
> > Hi,
> > 
> > I have been using git-annex for some time, and today while trying to
> > issue `git annex get` it shows:
> > get big_file (copying from host...) cp: unrecognized option '--reflink=auto'
> > Try `cp --help' for more information.
> > 
> OK, it seems that git-annex checks for the reflink=auto option while
> building and disables that functionality if not present. However, now I
> have a different problem -- while compiling on lucid (version
> 0.20110401), I get this error:
> 
> [ 6 of 72] Compiling Key  ( Key.hs, Key.o )
> 
> Key.hs:77:7:
> No instance for (Arbitrary Char)
>   arising from a use of `arbitrary' at Key.hs:77:7-15
> Possible fix: add an instance declaration for (Arbitrary Char)
> In a stmt of a 'do' expression: n <- arbitrary
> In the expression:
> do { n <- arbitrary;
>  b <- elements ['A' .. 'Z'];
>return
>  $ Key
>  {keyName = n, keyBackendName = [b], keySize = Nothing,
>   keyMtime = Nothing} }
> In the definition of `arbitrary':
> arbitrary = do { n <- arbitrary;
>  b <- elements ['A' .. 'Z'];
>return
>  $ Key
>  {keyName = n, keyBackendName = [...], keySize = 
> Nothing,
>   keyMtime = Nothing} }
> 

This is either a too old, or possibly a too new version of the haskell
quickcheck library. 

One easy workaround is to edit the file in question and remove all the
"for quickcheck" stuff at the end of the file.
(The test suite will then not be able to build, but the program will.)

-- 
see shy jo


signature.asc
Description: Digital signature
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home