summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar divergentdave@5c17d06f6d67c6f157b76a4cc95ca764b7d2f899 <divergentdave@web>2016-03-21 05:04:58 +0000
committerGravatar admin <admin@branchable.com>2016-03-21 05:04:58 +0000
commit524b2ee132795f1da5059c58b727aed8c3c9b929 (patch)
treef80d99793ce3bfbd065f68bcd0482def98008a64
parent31637db69539128ec8a0b53f088cd856c125d5d3 (diff)
-rw-r--r--doc/bugs/Android_chroot_stuck_in_Cabal_hell.mdwn20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/bugs/Android_chroot_stuck_in_Cabal_hell.mdwn b/doc/bugs/Android_chroot_stuck_in_Cabal_hell.mdwn
new file mode 100644
index 000000000..1587d4a66
--- /dev/null
+++ b/doc/bugs/Android_chroot_stuck_in_Cabal_hell.mdwn
@@ -0,0 +1,20 @@
+### Please describe the problem.
+I'm trying to get an Android development environment set up, but I am running into conflicting library versions inside of the chroot. The package installation script now finishes, but I run into a link-time error during `cabal configure` because it is pulling in two different versions of the unix package for some reason. Please let me know if there is any information I can get from my build environment that would help diagnosing the issue.
+
+### What steps will reproduce the problem?
+Run `buildchroot`, `install-haskell-packages`, `make android`
+
+### What version of git-annex are you using? On what operating system?
+Attempting to build from source, cross-compiling for Android on Debian Jessie.
+
+### Please provide any additional information below.
+
+[[!format sh """
+Linking ./dist/setup/setup ...
+/usr/lib/ghc/unix-2.6.0.1/libHSunix-2.6.0.1.a(execvpe.o): In function `pPrPr_disableITimers':
+(.text+0x300): multiple definition of `pPrPr_disableITimers'
+/home/builder/.cabal/lib/i386-linux-ghc-7.6.3/unix-2.7.1.0/libHSunix-2.7.1.0.a(ghcrts.o):ghcrts.c:(.text+0x0): first defined here
+collect2: error: ld returned 1 exit status
+Makefile:225: recipe for target 'android' failed
+make: *** [android] Error 1
+"""]]