[MacPorts] #56924: pango @1.42.3 does not build on PPC Tiger, Mac OS X 10.4.11, because something goes wrong bootstrapping makefile fragments

MacPorts noreply at macports.org
Sat Aug 11 12:17:54 UTC 2018


#56924: pango @1.42.3 does not build on PPC Tiger, Mac OS X 10.4.11, because
something goes wrong bootstrapping makefile fragments
------------------------+------------------------
  Reporter:  ballapete  |      Owner:  ryandesign
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.3
Resolution:             |   Keywords:  tiger
      Port:  pango      |
------------------------+------------------------

Comment (by ryandesign):

 The config.log says configure failed because:
 {{{
 /opt/local/share/gobject-introspection-1.0/Makefile.introspection:158: ***
 Need to define Pango_1_0_gir_LIBS or Pango_1_0_gir_PROGRAM.  Stop.
 }}}

 We've seen this error before at least; it happens because Tiger ships with
 GNU make 3.80, but gobject introspection requires 3.81. The last time this
 came up for pango was #35203, and we fixed it by having pango use the
 gmake port instead, on Tiger. Later, that was abstracted out into the
 gobject introspection 1.0 portgroup so that any port that needs gobject
 introspection can include it.

 The new problem now is that pango seems to be trying to use `make` during
 the configure script, in this fragment of aclocal.m4:

 {{{
     AM_RUN_LOG([cd "$am_dirpart" \
       && sed -e '/# am--include-marker/d' "$am_filepart" \
         | $MAKE -f - am--depfiles]) || am_rc=$?
 }}}

 It looks like this new aclocal.m4 was generated by aclocal 1.16.1, whereas
 pango 1.42.2's aclocal.m4 was generated by aclocal 1.15.1. This change
 wasn't mentioned in the pango NEWS or ChangeLog files; I guess they didn't
 think it was important.

 On Tiger, the gobject introspection portgroup only knows to set
 `build.cmd` to the gmake port's `gmake`, which only affects the build
 phase, not the configure phase.

 So it looks like in order to support Makefiles that use gobject
 introspection that were generated by automake 1.16 and later on Tiger, we
 need to set the `MAKE` variable at configure time too, in the gobject
 introspection 1.0 portgroup.

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


More information about the macports-tickets mailing list