Red Hat Bugzilla – Bug 439403
/usr/include/stropts.h missing from rawide
Last modified: 2014-11-27 12:31:53 EST
Description of problem:
/usr/include/stropts.h missing from rawhide, but present in fc8
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. attempt to build graphviz, which uses it.
build fails due to missing stropts.h
That's on purpose. Linux doesn't support STREAMS (many years ago it was
available as a third party module, but it hasn't worked for years).
stropts.h is part of a POSIX XSR option, which Linux now, matching reality, says
it is not supported.
No idea why graphviz needs it (when all the syscalls are stubbed), but it needs
fixing (either by adding configure checks, or by using the POSIX recommended
check - #include <unistd.h>,
#if defined _XOPEN_STREAMS && _XOPEN_STREAMS == -1
/* XSR option is not available, headers, data types etc. may not be available. */
for more details).
*** Bug 439802 has been marked as a duplicate of this bug. ***
*** Bug 444676 has been marked as a duplicate of this bug. ***
*** Bug 446911 has been marked as a duplicate of this bug. ***
I'm "reopening" this one the basis that the ioctl(p) provides a whole host of
requests/args which, I take it, does not work?
Shouldn't there be *some* indication that this actually doesn't work other than
just a gaping hole? The man-page is still there....
Also, it's my understanding that some of these requests also applies to pipes/
fifos. I could very well be plain wrong.....
Sorry about the rant; I was in the middle of a rather tireing debug-job of a
port from solaris when I discovered I had to redo the STREAMS stuff....:/