Subject: Re: sysutils/mc is broken
To: None <>
From: Alexey G. Khramkov <>
List: tech-pkg
Date: 10/21/2004 18:32:55
walt <> writes:

> Hi,


> While building mc I get this error:
> subshell.c:66:65: stropts.h: No such file or directory
> This is true enough, there is no stropts.h on my system,
> which is -CURRENT, updated as of yesterday.

At least ~2 months.

> Seems simple enough to debug that I could almost do it
> myself -- but I see another problem that worries me a
> bit:  after the build stopped with the missing header
> error the build was marked as 'build_done' so I didn't
> even notice the failure until I tried make install.
> A repeat 'make' then shows no error, so it took me
> quite awhile to figure out that the build actually
> failed.  This behavior seems quite broken to me --
> is it now the way things are designed to work?

I'm not programmer, I just sysadmin, so I don't understand why
that happens. Autoconf didn't find dependency, but it was
triggered in the subshell.c

I've hacked it very easily:

--- subshell.c.orig	2004-10-21 18:23:29.000000000 +0500
+++ subshell.c	2004-10-21 18:24:21.000000000 +0500
@@ -63,8 +63,6 @@
-#   include <stropts.h> /* For I_PUSH			      */
 #   include <grp.h>	/* For the group struct & getgrnam()  */
I just works. (I have not used it, but my users want to use...).

> Thanks!

= Alexey G. Khramkov (agkhram) @ Infotech <agkhram{at}mercdev{dot}com> =
= GPG fingerprint : 944D 0C8B 343B 6C8D 50A1  061A E2DA 3E11 7765 6B47 =