Subject: Re: pkg/32075: Solaris' test program does not have a "-e" option
To: None <gnats-bugs@netbsd.org>
From: grant beattie <grant@NetBSD.org>
List: pkgsrc-bugs
Date: 11/15/2005 18:41:04
On Tue, Nov 15, 2005 at 04:47:01AM +0000, ykomatsu@akaumigame.org wrote:

> >Number:         32075
> >Category:       pkg
> >Synopsis:       Solaris' test program does not have a "-e" option
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    pkg-manager
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Tue Nov 15 04:47:00 +0000 2005
> >Originator:     Yoshito Komatsu
> >Release:        NetBSD 3.0_BETA
> >Organization:
> >Environment:
> System: NetBSD sv5.ln.akaumigame.org 3.0_BETA NetBSD 3.0_BETA XENU_LNAKAUMIGAMEORG) #0: Fri Aug 26 16:40:24 JST 2005 komatsu@sv5.ln.akaumigame.org:/usr/src/sys/arch/i386/compile/XENU_LNAKAUMIGAMEORG  i386
> Architecture: i386
> Machine: i386
> >Description:
> Solaris' test program does not have a "-e" option,
> and zope3 configure script failed.
> 
> ftp://ftp0.mh.bbc.co.uk/pub/pkgsrc/pkgstat/20051114.1024/www/zope3/.broken.build1.html
> >How-To-Repeat:
> Build www/zope3 on SunOS 5.9/sparc.
> >Fix:
> To fix this problem, we should a "-f" option instead of a "-e" option
> in the configure script.

this should not happen at all, because configure scripts are run using
${CONFIG_SHELL}, which on Solaris is /bin/ksh, whose built-in test(1)
does support -e.

I guess the script isn't being run via ${CONFIG_SHELL} for some
reason.

grant.