Opened 17 years ago

Closed 15 years ago

Last modified 15 years ago

#12752 closed defect (fixed)

screen build failure on Mac OS X 10.5 Leopard

Reported by: jmpp@… Owned by: digdog@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: darwin 9 Cc: digdog@…
Port: screen

Description

screen 4.0.3 fails to build on the latest darwin 9 platform due to a rogue inclusion in pty.c. The attached patch attemps to fix it by flat out removing the inclusion, but since the latter is dependent on a #define I'm not entirely sure this is the right approach. The port builds with the patch nevertheless, so I might not be so off track ;-)

-jmpp

Attachments (1)

screen.tar.gz (663 bytes) - added by jmpp@… 17 years ago.
darwin 9 build fix

Download all attachments as: .zip

Change History (8)

Changed 17 years ago by jmpp@…

Attachment: screen.tar.gz added

darwin 9 build fix

comment:1 Changed 16 years ago by rachel@…

This bug affects building on Leopard too.

pty.c:38:26: error: sys/stropts.h: No such file or directory

It's not clear how, as an end user, to apply the above patch...

comment:2 Changed 16 years ago by rachel@…

... however, in my rush to install it I failed to notice that Leopard comes with it as standard anyway, so a build problem on Leopard probably isn't going to be high priority. :-)

comment:3 Changed 16 years ago by nox@…

Summary: screen build failure on Darwin 9screen build failure on Mac OS X 10.5 Leopard

comment:4 Changed 15 years ago by blb@…

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

This was fixed by afb@ in r30468, for ticket #13009.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 Changed 15 years ago by lhunath@…

This happens again when building for x64 Snow Leopard 10.6:

Command output: window.h:247: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:96)
In file included from screen.h:145,
                 from display.c:32:
window.h:247: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:96)
In file included from screen.h:145,
                 from pty.c:30:
window.h:247: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:96)
pty.c:38:26: error: sys/stropts.h: No such file or directory
process.c: In function 'FindKtab':
process.c:598: warning: format not a string literal and no format arguments
make: *** [pty.o] Error 1

This ticket should be re-opened.

comment:7 in reply to:  6 Changed 15 years ago by blb@…

Replying to lhunath@…:

This ticket should be re-opened.

See ticket #20862.

Note: See TracTickets for help on using tickets.