Opened 3 years ago

Last modified 3 years ago

#64102 accepted defect

gettext @0.21 : build fails on tiger due to new libproc.h requirement — at Initial Version

Reported by: alex-free (Alex Free) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: tiger Cc: kencu (Ken)
Port: gettext libtextstyle

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:

Change History (1)

Changed 3 years ago by alex-free (Alex Free)

Attachment: gettext-fail.txt added
Note: See TracTickets for help on using tickets.