[MacPorts] #64102: gettext @0.21 : build fails on tiger due to new libproc.h requirement

MacPorts noreply at macports.org
Wed Dec 1 20:19:00 UTC 2021


#64102: gettext @0.21 : build fails on tiger due to new libproc.h requirement
------------------------+------------------------
  Reporter:  alex-free  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.1
Resolution:             |   Keywords:  tiger
      Port:  gettext    |
------------------------+------------------------
Changes (by ryandesign):

 * status:  new => accepted
 * owner:  (none) => ryandesign


Old description:

> Gettext was recently updated to version 0.21. This new version requires
> libproc.h which was first available on Mac OS X 10.5 Leopard. I have
> verified that the previous version of gettext 0.20 does not require
> libproc.h and builds correctly by changing my ports tree to commit
> baf0c8bd508912bfedaf58c40dba1a402ffdf2ed.
>
> This is a serious issue, as on Tiger apple-gcc42 has to be compiled
> before any other packages can be, and apple-gcc42 ends up requiring
> gettext as a dependency. This completely breaks Tiger support currently
> in the latest ports tree.
>
> I am highly interested in fixing this, and have started this ticket to
> begin a discussion on what is best to do. I have seen other ports that
> have ran into this problem such as termux which patches the file which
> contains the libproc.h requirement with the previous version which did
> not require libproc.h. In the case of gettext, this is the file
> get_ppid_of.c.
>
> Attached is the build log with the relevant error:

New description:

 Gettext was recently updated to version 0.21. This new version requires
 libproc.h which was first available on Mac OS X 10.5 Leopard. I have
 verified that the previous version of gettext 0.20 does not require
 libproc.h and builds correctly by changing my ports tree to commit
 [baf0c8bd508912bfedaf58c40dba1a402ffdf2ed/macports-ports].

 This is a serious issue, as on Tiger apple-gcc42 has to be compiled before
 any other packages can be, and apple-gcc42 ends up requiring gettext as a
 dependency. This completely breaks Tiger support currently in the latest
 ports tree.

 I am highly interested in fixing this, and have started this ticket to
 begin a discussion on what is best to do. I have seen other ports that
 have ran into this problem such as termux which patches the file which
 contains the libproc.h requirement with the previous version which did not
 require libproc.h. In the case of gettext, this is the file get_ppid_of.c.

 Attached is the build log with the relevant error:

--

Comment:

 Has duplicate #64105.

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


More information about the macports-tickets mailing list