Ticket #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
Change History
Changed 4 years ago by snown27@…
- Attachment screen-main.log added
comment:1 in reply to: ↑ description Changed 4 years ago by ryandesign@…
- Keywords lion added
- Port set to screen
- Summary changed from Error: Target org.macports.build returned: shell command failed (see log for details) to 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.


Log from Port install of screen