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

David Evans devans at macports.org
Sat Oct 15 16:16:50 PDT 2016

On 10/15/16 2:48 PM, MacPorts wrote:
> #52468: gtk3 3.22.0_0 build fails on 10.5 ppc
> -------------------------+----------------------
>   Reporter:  dgonyier@…  |      Owner:  devans@…
>       Type:  defect      |     Status:  assigned
>   Priority:  Normal      |  Milestone:
>  Component:  ports       |    Version:  2.3.4
> Resolution:              |   Keywords:  leopard
>       Port:  gtk3        |
> -------------------------+----------------------
> Comment (by ken.cunningham.webuse@…):
>  FYI - on 10.4 Tiger PPC:
>  {{{
>  $ sudo port -v install gtk3 configure.compiler=macports-gcc-6
>  }}}
>  results in success
>  {{{
>    gtk3 @3.22.1_0+x11 (active) platform='darwin 8' archs='ppc'
>  }}}
>  without touching the portfile.

You're on your own here.  The basic idea is that
you want to come up with a tool set that you will use for everything on
this platform.  And the dependencies too. Did you build all gtk3's dependencies
with gcc6 (and it's runtime)?

So the test is not whether gtk3 builds (a good start) but
whether everything you want to install (say the rest of the GNOME ports) build
as well.  Then there's the +quartz issue.  This is where things get interesting.  gcc6
has some support for objective C 1.0 and some 2.0 features but whether this
will work with Apple's objective C syntax and link with Apple frameworks is an
interesting unknown in my mind.

So the next thing I would try is building gtk3 +quartz and see what happens.

By the way, gtk3 builds a demo app, gtk3-demo, that demonstrates most of the API.
Give that a try and see what happens.  For this to look right you need to
install gnome-themes-standard too.  Would be interesting if I could run this
remotely using ssh -X.

This all goes toward establishing a tool chain that can be used reliably on your
platform.  That combined with your port repo overlay should be the biggest
part being able to build and use modern software on such an old platform.

More information about the macports-dev mailing list