aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-11-07 14:21:30 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-11-07 14:22:14 -0400
commit4de51768d9633fcef3c46e6c439892fd752d83b6 (patch)
treee34b5dc6bc440f2d13110ee3ddb0a633fec98873 /doc
parent885611d95b428c09f7605a4629274f58d714172a (diff)
OSX: Remove RPATHs from git-annex binary, which are not needed, slow down startup, and break the OSX Sierra linker.
ghc 8.0.2 may make this unncessary, but it's not in a stackage version yet, so put in a workaround. Note that the linux builds already delete the RPATHs for similar reasons. This commit was sponsored by Josh Taylor on Patreon.
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/binary_package_not_working_on_macOS_Sierra/comment_1_d6142fd505af8e0522ef5667761b3f80._comment23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/bugs/binary_package_not_working_on_macOS_Sierra/comment_1_d6142fd505af8e0522ef5667761b3f80._comment b/doc/bugs/binary_package_not_working_on_macOS_Sierra/comment_1_d6142fd505af8e0522ef5667761b3f80._comment
new file mode 100644
index 000000000..51a354059
--- /dev/null
+++ b/doc/bugs/binary_package_not_working_on_macOS_Sierra/comment_1_d6142fd505af8e0522ef5667761b3f80._comment
@@ -0,0 +1,23 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2016-11-07T17:59:14Z"
+ content="""
+`otool -l git-annex` shows hundreds of unnecessary RPATHs, removing
+them should fix this.
+
+One way would be to use `install_name_tool -delete_rpath` for each
+of them.
+
+It would be better to upgrade to a fixed ghc,
+if it has fixed this RPATH mess. ghc 8.0.2 may fix it.
+But the OSX autobuilder is using stack, and no stackage LTS or nightly
+includes ghc 8.0.2 yet.
+
+Ok, I've put in the `install_name_tool -delete_rpath` workaround
+for the dmg build.
+
+Bug reporter: Please see if
+<https://downloads.kitenet.net/git-annex/autobuild/x86_64-apple-yosemite/git-annex.dmg>
+has fixed the problem for you.
+"""]]