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

MacPorts noreply at macports.org
Thu Jan 5 23:51:53 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):

 Half an hour ago I managed to build `gtk3 @3.22.6_0+x11 (active)
 platform='darwin 9' archs='ppc'` on `PowerBook G4`. First try with the
 default Portfile failed – I think this was the error:

 {{{
 ld: illegal text-relocation to cstring in .libs/libgdk_3_la-gdkcolor.o
 from _gdk_color_copy in .libs/libgdk_3_la-gdkcolor.o for architecture ppc
 }}}

 So I patched Portfile to compile with -fPIC. Hours later the complete
 build finished (now libgsf and graphviz are being rebuilt). `gtk3-demo`
 fails to launch. Error:

 {{{
 Exception Type:  EXC_BAD_ACCESS (SIGBUS)
 Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
 }}}

 I'll try to build some Emacsen with GTK3 support and see whether they
 work.

 A main.log is not available, the *compilation* buffer in GNU Emacs was
 lost because port too dumb to understand that it cannot `rev-upgrade`
 `emacs @24.5_0+motif+x11` with the Portfile of `GNU Emacs 25.1`. Obviously
 Macports needs an upgrade to stow away the built port and its Portfile.

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


More information about the macports-tickets mailing list