Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#13374 closed defect (fixed)

Pine fails to build on OS X 10.5.1

Reported by: alex.coles@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: leopard compile Cc: sean@…
Port: pine

Description

Summary:

pine fails to build on Mac OS X 10.5.1

To reproduce:

sudo port install pine

Output:

In file included from osdep.c:41:
env_unix.c: In function 'dotlock_lock':
env_unix.c:1056: error: too many arguments to function 'setpgrp'
In file included from osdep.c:42:
tcp_unix.c: In function 'tcp_aopen':
tcp_unix.c:377: error: too many arguments to function 'setpgrp'
make[3]: *** [osdep.o] Error 1
make[2]: *** [osx] Error 2
make[1]: *** [OSTYPE] Error 2
make: *** [oxp] Error 2
+---------------------------------------------+
| Problems building c-client                  |
|                                             |
| Please check the output above for a         |
| possible explanation for this failure       |
+---------------------------------------------+

Workaround:

A patch is available here: http://jstownsley.com/archives/2007/11/06/alpine-and-os-x-105-leopard/

Attachments (4)

send.c.diff (75 bytes) - added by alex.coles@… 16 years ago.
setpgrp.c.diff (55 bytes) - added by alex.coles@… 16 years ago.
tcp_unix.c.diff (124 bytes) - added by alex.coles@… 16 years ago.
env_unix.c.diff (62 bytes) - added by alex.coles@… 16 years ago.

Download all attachments as: .zip

Change History (8)

Changed 16 years ago by alex.coles@…

Attachment: send.c.diff added

Changed 16 years ago by alex.coles@…

Attachment: setpgrp.c.diff added

Changed 16 years ago by alex.coles@…

Attachment: tcp_unix.c.diff added

Changed 16 years ago by alex.coles@…

Attachment: env_unix.c.diff added

comment:1 Changed 16 years ago by alex.coles@…

Workaround given is for alpine - successor to pine. Diff files added for patching pine.

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Cc: sean@… added

CC maintainer.

comment:3 Changed 15 years ago by blb@…

Keywords: pine removed
Port: pine added
Resolution: fixed
Status: newclosed

Looks like this was fixed in r32648, via a slightly different method (by setting MACOSX_DEPLOYMENT_TARGET to 10.4, you get the old workings of setpgrp()).

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.