[MacPorts] #52468: gtk3 3.22.0_0 build fails on 10.5 ppc

MacPorts noreply at macports.org
Sat Jan 7 00:42:34 UTC 2017


#52468: gtk3 3.22.0_0 build fails on 10.5 ppc
-------------------------+-----------------------------
  Reporter:  dgonyier@…  |      Owner:  dbevans
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:  leopard powerpc
      Port:  gtk3        |
-------------------------+-----------------------------

Comment (by ballapete):

 Building GNU Emacs 24.5 with `apple-gcc42 @5666.3_15+gpl3`, the default
 compiler, succeeds, but launching it fails when I use GTK3. The other X
 toolkits work fine…

 The GTK3 error, whatever it means, maybe just a personal misconfigaration,
 is:

 {{{
 (emacs:46373): Gtk-CRITICAL **: gtk_accelerator_parse_with_keycode:
 assertion 'accelerator != NULL' failed
 Fatal error 10: Bus error
 Backtrace:
 0   emacs                               0x000f0754 emacs_backtrace + 96
 1   emacs                               0x000cffb4 terminate_due_to_signal
 + 136
 2   emacs                               0x000ee6e0 get_random + 0
 3   emacs                               0x000eeae4 init_signals + 648
 4   libSystem.B.dylib                   0x90fe289c _sigtramp + 68
 Bus error (core dumped)
 Exit 138
 }}}

 CrashReporters tells:

 {{{
 Thread 0 Crashed:
 0   libSystem.B.dylib                   0x90fe49f0 __kill + 12
 1   emacs                               0x000cffd8 terminate_due_to_signal
 + 172

 Thread 1:
 0   libSystem.B.dylib                   0x90fc6c14 select$DARWIN_EXTSN +
 12
 1   libglib-2.0.0.dylib                 0x011fdce4 g_poll + 440
 2   libglib-2.0.0.dylib                 0x011f0304 g_main_context_iterate
 + 348
 3   libglib-2.0.0.dylib                 0x011f0610
 g_main_context_iteration + 64
 4   libglib-2.0.0.dylib                 0x011f0668 glib_worker_main + 48
 5   libglib-2.0.0.dylib                 0x01216f94 g_thread_proxy + 160
 6   libSystem.B.dylib                   0x90fa4f70 _pthread_start + 316

 Thread 0 crashed with PPC Thread State 32:
   srr0: 0x90fe49f0  srr1: 0x0000f030   dar: 0xe10db674 dsisr: 0x40000000
     r0: 0x00000025    r1: 0xbfffc0b0    r2: 0x00000520    r3: 0x00000000
     r4: 0x00000000    r5: 0x00000001    r6: 0x00003638    r7: 0x00000000
     r8: 0x00000002    r9: 0x00000208   r10: 0x00000000   r11: 0xa02aa52c
    r12: 0x90fe49dc   r13: 0x00000013   r14: 0x00b6d2a0   r15: 0x00000000
    r16: 0x02c0cac0   r17: 0x0000009f   r18: 0xbfffcaf0   r19: 0xbfffc9bc
    r20: 0x011a6b18   r21: 0x011a84c8   r22: 0xbfffc9bc   r23: 0xbfffcaf0
    r24: 0x00000003   r25: 0x00000000   r26: 0x00000044   r27: 0xbfffc288
    r28: 0x003eea50   r29: 0x00000028   r30: 0x0000000a   r31: 0x000cff34
     cr: 0x42222222   xer: 0x00000004    lr: 0x000cffdc   ctr: 0x90fe49dc
 vrsave: 0xbfffd4c1
 }}}

 This must not necessarily be a GTK3 issue – Clang34 cannot produce any
 variant of GNU Emacs, neither X11 nor AppKit (ns) nor the mac based one.
 Either already temacs crashes or the built emacs binary – what is this
 software good for? Fill up empty space on the disk? But GCC6 can. And the
 built GNU Emacs 24.5 GTK3 variant also crashes and it does so of the same
 reason and at quite the same addresses. So the build of GTK3 is quite
 useless – well, built with Clang!

 So I'll tried to `install gtk3 +x11 configure.compiler=macports-gcc-6`…

--
Ticket URL: <https://trac.macports.org/ticket/52468#comment:53>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list