[git-annex] compile error on lucid (was: reflink=auto option not present)
Abhishek Dasgupta
abhidg at gmail.com
Wed Apr 20 21:01:21 CEST 2011
(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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.madduck.net/pipermail/vcs-home/attachments/20110421/4bc35c12/attachment.pgp>
More information about the vcs-home
mailing list