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 Version 3
Reported by: | alex-free (Alex Free) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | tiger | Cc: | kencu (Ken), mascguy (Christopher Nielsen), ballapete (Peter "Pete" Dyballa) |
Port: | gettext libtextstyle |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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:
Change History (4)
Changed 3 years ago by alex-free (Alex Free)
Attachment: | gettext-fail.txt added |
---|
comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:2 Changed 3 years ago by ballapete (Peter "Pete" Dyballa)
Cc: | ballapete added |
---|
comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | set to ryandesign |
Status: | new → accepted |
Has duplicate #64105.