Subject: pkg/15128: pkgsrc/lang/guile is too interactive
To: None <gnats-bugs@gnats.netbsd.org>
From: None <urban@boquist.net>
List: netbsd-bugs
Date: 01/03/2002 22:54:53
>Number:         15128
>Category:       pkg
>Synopsis:       lang/guile fails to build in the background
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 03 13:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Urban Boquist
>Release:        NetBSD 1.5ZA
>Organization:
Carlstedt Research & Technology AB, Sweden
>Environment:
System: NetBSD iller 1.5ZA NetBSD 1.5ZA (ILLER-$Revision: 1.42 $) #0: Wed Jan 2 23:17:59 CET 2002 root@iller:/usr/src/sys/arch/i386/compile/ILLER i386
Architecture: i386
Machine: i386
>Description:
Try this:

	cd /usr/pkgsrc/lang/guile
	make configure > errl 2>&1 &

or whatever is appropriate for your shell. It will stop after a while
with:

	checking if readline clears SA_RESTART flag for SIGWINCH... 

and nothing more happens.

>How-To-Repeat:
See above.

>Fix:
Something like this maybe?

--- guile-readline/configure.orig       Tue Jun 20 03:38:18 2000
+++ guile-readline/configure    Thu Jan  3 22:32:12 2002
@@ -1723,7 +1723,7 @@
   readline ("");
 }
 EOF
-if { (eval echo configure:1727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:1727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest < /dev/null; exit) 2>/dev/null
 then
   guile_cv_sigwinch_sa_restart_cleared=yes
 else
>Release-Note:
>Audit-Trail:
>Unformatted: