Opened 13 years ago

Closed 13 years ago

#29828 closed defect (fixed)

screen: sys/stropts.h: No such file or directory

Reported by: snown27@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: lion Cc:
Port: screen

Description

Running MacPorts 1.9.2 on Mac OS X 10.7 results in "shell command failed" on many port installs. (See log from screen install)

This line stood out to me:

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

However, there doesn't seem to be a stropts.h file in /usr/include/sys/, but that file also seems to be missing from a different 10.6.7 install as well. Screen had installed fine on 10.6.7 seemingly without need for the stropts.h file

Attachments (1)

screen-main.log (27.7 KB) - added by snown27@… 13 years ago.
Log from Port install of screen

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by snown27@…

Attachment: screen-main.log added

Log from Port install of screen

comment:1 in reply to:  description Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: lion added
Port: screen added
Summary: Error: Target org.macports.build returned: shell command failed (see log for details)screen: sys/stropts.h: No such file or directory

Replying to snown27@…:

Running MacPorts 1.9.2 on Mac OS X 10.7 results in "shell command failed" on many port installs. (See log from screen install)

Please report each problem individually. We'll take this ticket to deal with screen. Also, let's be clear that Lion has not been released yet, so this is a pre-release version of Lion.

Screen had installed fine on 10.6.7 seemingly without need for the stropts.h file

The screen port has platform darwin 9 and platform darwin 10 blocks to apply several patches for each of those operating systems. Presumably some or all of the darwin 10 patches are needed on darwin 11 as well -- for example specifically this patch to pty.c which is used on both Leopard and Snow Leopard to ensure that it doesn't try to include the absent stropts.h file.

comment:2 Changed 13 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Added patches to platform darwin 11 in r81028.

Note: See TracTickets for help on using tickets.