This seems to fix the macOS 10.12+ DMG issue in conjunction with Gitian on Bionic
Fix OSX dmg issue (10.12 to 10.14) #14416
pull jonasschnelli wants to merge 1 commits into bitcoin:master from jonasschnelli:2018/10/osx_dmg changing 1 files +1 −1-
jonasschnelli commented at 12:29 PM on October 6, 2018: contributor
- jonasschnelli added the label macOS on Oct 6, 2018
- fanquake added the label Build system on Oct 6, 2018
- MarcoFalke added the label Needs gitian build on Oct 8, 2018
- jonasschnelli force-pushed on Oct 8, 2018
- jonasschnelli force-pushed on Oct 8, 2018
- jonasschnelli force-pushed on Oct 8, 2018
- DrahtBot removed the label Needs gitian build on Oct 8, 2018
- jonasschnelli force-pushed on Oct 11, 2018
- jonasschnelli force-pushed on Oct 18, 2018
- jonasschnelli force-pushed on Oct 18, 2018
- laanwj added this to the "Blockers" column in a project
- jonasschnelli force-pushed on Oct 18, 2018
- jonasschnelli force-pushed on Oct 18, 2018
- jonasschnelli force-pushed on Oct 18, 2018
- jonasschnelli force-pushed on Oct 18, 2018
- jonasschnelli force-pushed on Oct 18, 2018
- jonasschnelli force-pushed on Oct 18, 2018
- jonasschnelli force-pushed on Oct 18, 2018
- jonasschnelli force-pushed on Oct 19, 2018
- jonasschnelli force-pushed on Oct 19, 2018
- jonasschnelli force-pushed on Oct 19, 2018
- jonasschnelli force-pushed on Oct 19, 2018
- jonasschnelli renamed this:
[WIP] fix OSX dmg issue (10.12 to 10.14)
Fix OSX dmg issue (10.12 to 10.14)
on Oct 19, 2018 -
jonasschnelli commented at 8:11 AM on October 19, 2018: contributor
Figured out the issue. It seems to be the python binary string option for the WindowBounds.
Gitian Build: https://bitcoin.jonasschnelli.ch/build/852
Please test via you own Gitian Build (@fanquake, @Sjors, @ken2812221).
Removed WIP tag.
-
promag commented at 8:35 AM on October 19, 2018: member
Tested ACK 898b7c3 on macOS 10.14 with @jonasschnelli build.
- MarcoFalke deleted a comment on Oct 20, 2018
- MarcoFalke added the label Needs gitian build on Oct 20, 2018
- MarcoFalke removed the label Needs gitian build on Oct 20, 2018
-
MarcoFalke commented at 9:17 AM on October 20, 2018: member
Could change the subject of the commit to something more meaningful?
-
[macOS] Remove DS_Store WindowBounds bytes object 43719e0a34
- jonasschnelli force-pushed on Oct 20, 2018
-
jonasschnelli commented at 1:13 PM on October 20, 2018: contributor
@MarcoFalke: fixed.
- MarcoFalke added the label Needs gitian build on Oct 20, 2018
-
DrahtBot commented at 2:06 PM on October 21, 2018: member
<!--a722867cd34abeea1fadc8d60700f111-->
Gitian builds for commit 5c25409d6851182c5e351720cee36812c229b77a (master):
691603aafa3a36553c5eb710fc2d2ad8...bitcoin-0.17.99-osx-unsigned.dmg2d699bf8dad8c758f89ed38abb366d8a...bitcoin-0.17.99-osx64.tar.gz93ab9d701f52949971878b5962d22526...bitcoin-linux-build.log3b31602567a2d55ce6f1fb0f09e26405...bitcoin-osx-0.18-res.ymle8ba2b22c8c7ba884fa0925b005f2788...bitcoin-osx-build.log0abf757873257b9491e6b46da0217913...bitcoin-win-build.log
Gitian builds for commit 73cb922ec63e6a751edfa89b42afd4fa00d2ea5f (master and this pull):
16e4d796bf6bc4b03fa2d4ad5fa74868...bitcoin-0.17.99-osx-unsigned.dmgd4f87ab0459c7223ef0ad02a52d99688...bitcoin-0.17.99-osx64.tar.gz0b50911ae129038cca00fd93438cc96c...bitcoin-0.17.99-win32-debug.zipf1e80d4a107b36f180bf9fb68fa0b837...bitcoin-0.17.99-win32-setup-unsigned.exe6a77f48d23df3e59fb209cb24b5c9814...bitcoin-0.17.99-win32.zip0fbe1e06b8eb353701bd126c98b2d7ca...bitcoin-0.17.99-win64-debug.zip6c486b5b44a7787e50f5374b21add1e6...bitcoin-0.17.99-win64-setup-unsigned.exe3b13d5a75521180da25281a0b271878c...bitcoin-0.17.99-win64.zipe2733c2eea18fd3c348ec8e2c168e904...bitcoin-linux-build.log191f595e29cd38c35b99bf85a777bf55...bitcoin-osx-0.18-res.ymlc7a198113bad9bea1f2c0796e951ba14...bitcoin-osx-build.log9ab18f15b53bb0e017b44b2f16ec0da2...bitcoin-win-0.18-res.yml1808dbeee86dd2bb89b6c6da1e5e48ef...bitcoin-win-build.log
- DrahtBot removed the label Needs gitian build on Oct 21, 2018
-
Sjors commented at 4:29 AM on October 23, 2018: member
What "DMG issue in conjunction with Gitian on Bionic" are you referring to? Opening the first Gitian DMG above crashes, while the second works fine, so I guess that's the issue?
Needs backport to 0.17?
Still works as expected when I do
make deployon macOS (before and after look the same): <img width="511" alt="after" src="https://user-images.githubusercontent.com/10217/47335048-d8d70a00-d6bb-11e8-970f-27a7bbfc675b.png">Trying to build it using my own Gitian on Bionic is giving me headaches. I'm confused by the
gitian-builder.pysyntax. I tried the following:cd bitcoin git remote add jonasschnelli https://github.com/jonasschnelli/bitcoin.git git fetch jonasschnelli cd .. python3 gitian-build.py --detach-sign --no-commit --url https://github.com/jonasschnelli/bitcoin -o m -c -b sjors 2018/10/osx_dmg 2018/10/osx_dmgIf you don't add the remote first you get (despite the
--urlargument):error: pathspec '2018/10/osx_dmg' did not match any file(s) known to git.But now I get: <img width="1340" alt="schermafbeelding 2018-10-23 om 12 21 51" src="https://user-images.githubusercontent.com/10217/47335561-4edc7080-d6be-11e8-8ab2-e465ad1b8f06.png">
-
ken2812221 commented at 5:57 AM on October 23, 2018: contributor
@Sjors Try
python3 gitian-build.py --detach-sign --no-commit --pull -o m -b sjors 14416 -
Sjors commented at 7:33 AM on October 23, 2018: member
@ken2812221 worked like a charm, thanks.
My Gitian build produces a dmg that behaves on macOS 10.14
920c0defbb516bbf34550f9551563124f986bdd375730985d0e2891f4016883d bitcoin-0.17.99-osx-unsigned.dmg(@DrahtBot rebases on master so its hash is different)
tACK 43719e0
-
MarcoFalke commented at 8:15 PM on October 23, 2018: member
Is this for backport?
-
Sjors commented at 4:31 AM on October 24, 2018: member
@MarcoFalke yes this should be backported to 0.17, as currently macOS users can't install that without a workaround. No need to backport to 0.16, because - I just tested - it doesn't have the issue (because Gitian Trusty builds?).
- fanquake added the label Needs backport on Oct 24, 2018
- MarcoFalke added this to the milestone 0.17.1 on Oct 24, 2018
-
laanwj commented at 1:42 PM on October 25, 2018: member
thank you for figuring it out! so it was a silly python unicode versus bytes issue :( utACK 43719e0a3411e6a08e04908332cb44adfa00c6a2
- laanwj merged this on Oct 25, 2018
- laanwj closed this on Oct 25, 2018
- laanwj referenced this in commit 754a00d55f on Oct 25, 2018
- laanwj referenced this in commit eb2cc84a31 on Oct 25, 2018
-
jnewbery commented at 5:44 PM on October 25, 2018: member
Thanks for fixing this @jonasschnelli! I see that the same commit (https://github.com/bitcoin/bitcoin/commit/18f05c765c800126b74a6d5b7f33cef7c9aae1b7) that changed the
WindowsBoundsvalue from a string to a bytes object also changedbackgroundImageAliasto a bytes object. Does that also need to be changed back to a string for Python 3? - fanquake removed this from the "Blockers" column in a project
-
fanquake commented at 1:12 AM on October 26, 2018: member
- fanquake removed the label Needs backport on Oct 26, 2018
- UdjinM6 referenced this in commit afad6f1931 on May 24, 2021
- PastaPastaPasta referenced this in commit f7676c802d on May 25, 2021
- UdjinM6 referenced this in commit 3661f36bbd on Jun 3, 2021
- celbalrai referenced this in commit b301108b58 on Jul 15, 2021
- MarcoFalke locked this on Sep 8, 2021
Milestone
0.17.1