[darcs-devel] [issue1020] Compiling darcs-2.0.2 with git support fails

Lenz Grimmer bugs at darcs.net
Tue Aug 19 03:34:05 UTC 2008


New submission from Lenz Grimmer <lenz at grimmer.com>:

Hi,

I am running openSUSE 11.0 (x86) and wanted to update the darcs RPMs that are
available via the openSUSE Build service (they currently provide darcs-1.0.9).

The package has been built with git support, by running "./configure
--enable-git".

However, when trying to enable this feature in darcs 2.0.2, I get a
compilation failure.

Here are the steps to reproduce the error:

$ tar zxvf darcs-2.0.2.tar.gz
$ cd darcs-2.0.2
$ tar jxvf ../git-1.5.6.5.tar.bz2
$ ln -s git-1.5.6.5 git
$ make -C git libgit.a
$ ./configure --enable-git
$ make

At this point, the compilation fails with the following error:

[ghc] src/c_compat.o
/tmp/ghc32206_0/ghc32206_0.s: Assembler messages:

/tmp/ghc32206_0/ghc32206_0.s:199:0:
     Error: file number 2 already allocated
make: *** [src/c_compat.o] Error 1

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.2
$ gcc --version
gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I attached the config.log file. Let me know if you need anything else. Thanks!

Bye,
	LenZ
-- 
------------------------------------------------------------------
 Lenz Grimmer <lenz at grimmer.com>                             -o)
 [ICQ: 160767607 | Jabber: LenZGr at jabber.org]                /\\
 http://www.lenzg.org/                                       V_V

----------
files: config.log
messages: 5589
nosy: beschmi, dagit, lenz
status: unread
title: Compiling darcs-2.0.2 with git support fails

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1020>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 36656 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20080819/d0e7fd48/attachment-0001.bin 


More information about the darcs-devel mailing list