diff options
author | https://www.google.com/accounts/o8/id?id=AItOawm2AOTJmbCbGvmW5fxACaREraMnEVrCofo <Seth@web> | 2012-04-13 13:26:09 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-04-13 13:26:09 +0000 |
commit | d712f5b0c4d96fc63a2a42c6e7af6139f4357733 (patch) | |
tree | 8e360cb582a49bb229fcbee8cecf8bf7c46a6f62 | |
parent | 4837ad6dd3ed877513446cb948a696a90ccfdf16 (diff) |
-rw-r--r-- | doc/bugs/sensitive.mdwn | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/bugs/sensitive.mdwn b/doc/bugs/sensitive.mdwn new file mode 100644 index 000000000..21c2c4ec4 --- /dev/null +++ b/doc/bugs/sensitive.mdwn @@ -0,0 +1,17 @@ +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 `0bd5c90ef0518f75d52f0c5889422d8233df847d` on 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.hs` generates `DiskFree.o` and `diskfree.c` generates `diskfree.o`, a case-insensitive file system overwrites one object file with the other. Renaming `diskfree.c` to `diskfreec.c` and changing the corresponding filenames in `git-annex.cabal` fixes the problem. |