-
Notifications
You must be signed in to change notification settings - Fork 38.7k
build: Fix 'make deploy' for OSX #9412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: Fix 'make deploy' for OSX #9412
Conversation
Native OSX uses system tools rather than 3rd party dependencies. rsvg-convert is still required, though.
3d272fb to
b01667c
Compare
|
Quickly tested (10.11), finished .dmg seems to work ok. Good idea with a note in the build doc, otherwise the Only thing I noticed were these files left in the dir afterwards, however that might have always been the case: Build log: This will supersede #9405 |
|
Concept ACK |
|
ACK on make deploy, but apparently I need OS X 10.12 or later (I have 10.11.6) so I can't actually test it. (Is there some reason for that requirement at all?) |
|
@kallewoof: why would you need macOS 10.12? I think this should work also on OSX 10.8 and should also work on OSX 10.11. |
|
You shouldn't need 10.12, I'm testing on 10.11 .
…On Fri, 23 Dec 2016 at 20:58, kallewoof ***@***.***> wrote:
ACK on make deploy, but apparently I need OS X 10.12 or later (I have
10.11.6) so I can't actually test it. (Is there some reason for that
requirement at all?)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9412 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA0t8uGDU5yuCBRzHQWnXkZGJTDxqSgjks5rK8VqgaJpZM4LUqbc>
.
|
|
Weird. I didn't change anything I just fetched the 2016/12/fix_mac_deploy branch and did make, make deploy and grabbed the resulting Bitcoin-Qt.dmg file. Edited: For reference: Edited 2: Probably obvious, but |
|
There was a bugfix included in #9405, 77c4570, @jonasschnelli did you want to cherry pick/include that here? |
|
Added 77c4570 from #9405. |
|
Retested on OSX 10.12. The finished .dmg mounts correctly and the Bitcoin Core.app inside runs fine. ACK 2fb98f6. |
|
I am not sure why my specific machine (10.11.6) does this but the problem I am seeing appears to stem from a lack of the diff --git a/configure.ac b/configure.ac
index 74808cd33..9d7109314 100644
--- a/configure.ac
+++ b/configure.ac
@@ -308,6 +308,9 @@ case $host in
LEVELDB_TARGET_FLAGS="-DOS_MACOSX"
if test x$cross_compiling != xyes; then
BUILD_OS=darwin
+ CPPFLAGS="$CPPFLAGS -mmacosx-version-min=10.9"
+ CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.9"
+ LIBS="$LIBS -mmacosx-version-min=10.9"
AC_CHECK_PROG([PORT],port, port)
if test x$PORT = xport; then
dnl add default macports pathsAbove patch fixes the issue on my end. Note that a [1]: Univalue emits e.g. Edit: |
|
Hello. FYI, the mount looks a little weird on my system (10.12.2) when built with I don't have this problem with the official 0.13.2 RC1 DMG, which is correctly sized (while also showing .background, although that might just be my setup). Other than that, this works fine, and the actual code itself looks fine to me. |
If you need a dmg for testing from current master (with this pull included) you can download https://bitcoin.jonasschnelli.ch/nightlybuilds/2017-01-03/bitcoin-0.13.99-osx-unsigned.dmg in about 3 hours. |
|
@MarcoFalke - The nightly build looks fine to me. Not sure why mine came out a bit weird. Any idea on where I might be able to look and investigate? Thanks. |
|
@droark: the make deploy process on OSX is different to the linux based (gitian) make deploy. It uses different tools. The |

This is mostly work from @theuni.
This fix works on my macOS 10.12.
Native OSX uses system tools rather than 3rd party dependencies. rsvg-convert
is still required, though.
Should fix #8120