diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-12-20 15:15:22 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-12-20 15:15:22 -0400 |
commit | 15fe627d3da6bd54e5a288626c7e1b3676a9a092 (patch) | |
tree | f4ff8419f003d2e017f0d939c8c2e3e215cab9fe /doc/bugs/getFileSize_conflict_between_Utility.Directory_and_Utility.FileSize.mdwn | |
parent | d382fb8a02315c8905cafe305d742ca15e775440 (diff) | |
parent | f25d5210ce35a84d40d2a2b531ef24f032aa1d25 (diff) |
Merge branch 'master' of ssh://git-annex.branchable.com
Diffstat (limited to 'doc/bugs/getFileSize_conflict_between_Utility.Directory_and_Utility.FileSize.mdwn')
-rw-r--r-- | doc/bugs/getFileSize_conflict_between_Utility.Directory_and_Utility.FileSize.mdwn | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/bugs/getFileSize_conflict_between_Utility.Directory_and_Utility.FileSize.mdwn b/doc/bugs/getFileSize_conflict_between_Utility.Directory_and_Utility.FileSize.mdwn new file mode 100644 index 000000000..b744f0049 --- /dev/null +++ b/doc/bugs/getFileSize_conflict_between_Utility.Directory_and_Utility.FileSize.mdwn @@ -0,0 +1,33 @@ +### Please describe the problem. +directory 1.3.0.0 causes a conflict for "getFileSize" + +### What steps will reproduce the problem? +Build git-annex with directory 1.3.0.0 (first need to bump max directory version on concurrent-output (and aws if building with s3)) + +### What version of git-annex are you using? On what operating system? +6.20161210 on macOS 10.11 El Capitan + + +### Please provide any additional information below. + +[[!format sh """ +[23 of 34] Compiling Common ( Common.hs, dist/setup/Common.o ) + +Common.hs:3:16: error: + Conflicting exports for ‘getFileSize’: + ‘module X’ exports ‘X.getFileSize’ + imported from ‘Utility.Directory’ at Common.hs:28:1-29 + (and originally defined in ‘System.Directory’) + ‘module X’ exports ‘X.getFileSize’ + imported from ‘Utility.FileSize’ at Common.hs:34:1-28 + (and originally defined at Utility/FileSize.hs:26:1-11) +"""]] + +A fix, though possibly not best, is to make this change in Common.hs: +[[!format sh """ +import Utility.Directory as X hiding (getFileSize) +"""]] + +### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) +Yes :) + |