What steps will reproduce the problem?
Building git-annex on the ghc7.0 branch on a Mac with the default case-insensitive file system
What is the expected output? What do you see instead?
Expected: build successfully; instead:
ld: duplicate symbol _UtilityziDiskFree_zdwa_info in dist/build/git-annex/git-annex-tmp/Utility/diskfree.o and dist/build/git-annex/git-annex-tmp/Utility/DiskFree.o for architecture x86_64
What version of git-annex are you using? On what operating system?
commit
0bd5c90ef0518f75d52f0c5889422d8233df847don a Mac OS 10.6 and 10.7, using the Haskell Platform 2012.04
Please provide any additional information below.
The problem is that since
DiskFree.hsgeneratesDiskFree.oanddiskfree.cgeneratesdiskfree.o, a case-insensitive file system overwrites one object file with the other. Renamingdiskfree.ctodiskfreec.cand changing the corresponding filenames ingit-annex.cabalfixes the problem.Man, not this again. The 80's called, they want their unix portability wars back. fixed. --Joey