On Tuesday, October 31, 2017 at 8:05:06 PM UTC-4, Cédric Krier wrote:
> Hi,
>
> Long story short, the new build platform for OSX to test at
> http://www.b2ck.com/~ced/tryton-4.6.0.dmg
>
>
> Yesterday, when I built the OSX client for the release 4.6, I made the
> simple test to launch it and connect to the demo server. But it did not
> launch, indeed it just bounced few times on the dock and it vanish
> without any error message.
> As there was an update few weeks before of the OS, I tried an older
> client (4.4.2) and it started normally. So I suspected that the GTK
> libraries were too old for what we use in the series so I tried to
> update the libraries. And it was the mistakes which I would discover 48
> hours after. The GTK+ libraries are build using the official jhbuild
> tool: https://wiki.gnome.org/Projects/GTK+/OSX/Building
> The update did not go well, it crashed multiple times, to the point that
> the environment was no more usable. So I decided to rebuild everything
> from scratch. I skip the part where openssl does not compile, some
> patches did not apply etc. I finally got a new environment that seemed
> to work. I could launch the client from command line, connect to demo
> server etc. So I built a new bundler and it crashed exactly the same
> way. But this time launching the application from command line failed
> also. I found that 'gdk.pixbuf_new_from_file' was not returning a pixbuf
> for the 'png' files. So I started to debug this behaviour slowly because
> it required to make a new bundle for each changes. I could not find an
> explanation to this behaviour. But I remembered that I had to install
> manually an header from glib 'gio/gdesktopappinfo.h' so I investigate
> this issue because it may be that libraries were wrongly linked.
> I discover that the libraries glib and pygobject from jhbuild are not
> compatible anymore. I could not find a set of version that allowed
> jhbuild to build both. I think jhbuild is no more used for Gtk+-2 but
> only for Gtk+-3. 24 hours have already passed since the first attempt to
> build release 4.6, I was closed to give up and declare that we can no
> more support OSX until we migrate fully to Gtk+-3 and Python-3.
> In a last attempt to find a solution, I tried https://brew.sh/. And I
> think it is a good choice, it is like when we switched to MSYS2.
> I installed every dependencies from brew and some with pip like
> python-dateutil and cx_Freeze. And so I build again a bundle to discover
> that it crashes exactly like all the previous one but only from the
> launcher, at least it works from command line. So I'm back at the point
> as the beginning.
> I finally found by change this bug report:
> https://github.com/GNS3/gns3-gui/issues/495
> And it is exactly the problem, the stupid Apple is appending a random
> argument "-psn_" to the program. So I made a similar fix at
> https://bugs.tryton.org/issue6899 and build a final bundle which starts
> from launcher: http://www.b2ck.com/~ced/tryton-4.6.0.dmg
>
> The result is that I broke the old build system and I can not rebuild it
> because of incompatible dependencies.
> I have a brew environment on which I can build new series starting from
> 4.2. But the brew environment is global to the system so I can not test
> if it works on a vanilla setup. So I'm requesting from user who has a
> vanilla OSX without brew (python, gtk+ etc) to test this new bundle
> before I publish it.
> Do not report that calender view is not working, it is expected because
> brew does not have goocanvas library that works with Gtk+-2.
>
> Thanks,
> --
> Cédric Krier - B2CK SPRL
> Email/Jabber: cedric.kr...@b2ck.com
> Tel: +32 472 54 46 59
> Website: http://www.b2ck.com/
Hi Cédric,
im receiving this error in several machines with sierra and high sierra:
Process: tryton [1048]
Path: /Volumes/VOLUME/*/Tryton.app/Contents/MacOS/tryton
Identifier:tryton
Version: 0
Code Type: X86-64 (Native)
Parent Process:??? [1]
Responsible: tryton [1048]
User ID: 501
Date/Time: 2017-12-23 06:53:03.551 -0800
OS Version:Mac OS X 10.12 (16A323)
Report Version:12
Anonymous UUID:5CA42C78-0622-F504-3ABA-507C7E913D71
Time Awake Since Boot: 8100 seconds
System Integrity Protection: enabled
Crashed Thread:0 Dispatch queue: com.apple.main-thread
Exception Type:EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0001, 0x
Exception Note:EXC_CORPSE_NOTIFY
Termination Signal:Illegal instruction: 4
Termination Reason:Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [0]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 Python 0x00010066cc29 _PyRandom_Init + 260
1 Python 0x00010066a1aa Py_InitializeEx + 345
2 tryton