[MacPorts] #69876: pango @1.52.2 does not build on PPC Tiger, Mac OS X 10.4.11, because help2man: can't get `--help-all' info from .../pango-view

MacPorts noreply at macports.org
Sat Oct 19 20:21:00 UTC 2024


#69876: pango @1.52.2 does  not  build on PPC Tiger, Mac OS X 10.4.11, because
help2man: can't get `--help-all' info from .../pango-view
------------------------+-----------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.9.3
Resolution:             |   Keywords:  tiger ppc
      Port:  pango      |
------------------------+-----------------------

Comment (by ryandesign):

 Replying to [comment:21 ballapete]:
 > Could be the `delete` from this block wrong now:
 >
 > {{{
 > 152 pre-configure {
 > 153     delete ${worksrcpath}/subprojects/glib
 ${worksrcpath}/subprojects/glib.wrap
 > 154
 > 155     # Fix for issue 56409: pango-view.1 man page not generated
 > 156     delete ${worksrcpath}/pango-view/pango-view.1.in
 > 157 }
 > }}}
 >
 > The man page can be built.

 Ok, investigating: The problem in #56409 was that the distfile for pango
 1.42.1 was shipped with an erroneous file pango-view/pango-view.1.in. This
 happened in a few prior releases as well:
 [https://bugzilla.gnome.org/show_bug.cgi?id=779704 1.40.4] and
 [https://bugzilla.gnome.org/show_bug.cgi?id=731479 1.36.3] at least. We
 [changeset:a47a1fd40431b23fa82815b047d84f65323573b3/macports-ports fixed
 the problem] by deleting the faulty file and adding the help2man
 dependency so that the file would be generated correctly. At that time,
 our pango port was at version 1.48.9.

 Ideally, we should have removed that workaround in a subsequent version of
 pango if and when the developers fixed their release process to include
 the correct generated pango-view.1.in. But no upstream bug report URL was
 provided at that time for us to check up on later.

 Today, our pango port is at version 1.52.2 and our pango-devel port is at
 version 1.54.0. Neither of these contain the pango-view.1.in file at all,
 so help2man is always needed to build the manpage and the `delete`
 statement in the Portfile that deletes this file does nothing and can be
 removed, and that will have no effect on the problem you've been seeing.
 In fact, I don't think this statement was useful at all even when it was
 added. The last mention of pango-view.1.in was deleted from the pango
 source code when
 [https://gitlab.gnome.org/GNOME/pango/-/commit/0b357c8429205571574735318a2b5bb08d632b7c
 autotools was removed] for pango 1.43.0.

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


More information about the macports-tickets mailing list