NetBSD Problem Report #17174

Received: (qmail 15730 invoked by uid 605); 5 Jun 2002 07:55:01 -0000
Message-Id: <200206050752.g557qnk17836@tubbs.local>
Date: Wed, 5 Jun 2002 08:52:49 +0100 (BST)
From: <cjep@fawlty.net>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: cjep@fawlty.net
To: gnats-bugs@gnats.netbsd.org
Subject: scsh does not build on i386/1.6A and shark/1.6_BETA1
X-Send-Pr-Version: 3.95

>Number:         17174
>Category:       pkg
>Synopsis:       scsh does not build on i386/1.6A and shark/1.6_BETA1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 05 07:56:00 +0000 2002
>Closed-Date:    Wed Jun 05 08:56:56 +0000 2002
>Last-Modified:  Wed Jun 05 13:03:01 +0000 2002
>Originator:     Chris Pinnock
>Release:        NetBSD/i386 1.6A and NetBSD/shark 1.6_BETA1
>Organization:
nowt 
>Environment:
System: NetBSD tubbs.local 1.6A NetBSD 1.6A (TUBBS) #23: Wed May 22 12:06:19 BST 2002 cjep@tubbs.local:/usr/src/sys/arch/i386/compile/TUBBS i386
Architecture: i386
Machine: i386
>Description:
	scsh does build due to "Too many signals! Fix scsh to save 
	more of them!" Would look at this today, but on my way to w0rk...

cc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -O2 -o scsh/userinfo1.o /usr/pkgsrc/shells/scsh/work.arm/scsh-0.5.3/scsh/userinfo1.c
cc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -O2 -o scsh/sighandlers1. o /usr/pkgsrc/shells/scsh/work.arm/scsh-0.5.3/scsh/sighandlers1.c
In file included from /usr/pkgsrc/shells/scsh/work.arm/scsh-0.5.3/scsh/sighandlers1.c:36:
/usr/pkgsrc/shells/scsh/work.arm/scsh-0.5.3/scsh/machine/sigset.h:16: #error Too many signals!  Fix scsh to save more of them!
*** Error code 1

>How-To-Repeat:
	cd shells/scsh && make
>Fix:
	not provided (yet).
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wiz 
State-Changed-When: Wed Jun 5 01:56:43 PDT 2002 
State-Changed-Why:  
Duplicate of 16619. 

From: Yuji Yamano <yyamano@kt.rim.or.jp>
To: cjep@fawlty.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/17174: scsh does not build on i386/1.6A and shark/1.6_BETA1
Date: Wed, 05 Jun 2002 21:58:56 +0900 (JST)

 <cjep@fawlty.net> writes:

 > 	scsh does build due to "Too many signals! Fix scsh to save 
 > 	more of them!" Would look at this today, but on my way to w0rk...

 I think it's same as pkg/16619.

 I looked at sys/signal.h, scsh-0.5.3/scsh/bsd/signals1.c and
 scsh-0.5.3/scsh/sighandlers1.c only, so please correct me if I'm
 wrong.

 We only have 32 userland signals and scsh can handle all of them.
 signals1.c checks the number of signals as follow, but i think it
 doesn't work. Because the number of supported signals is max_sig 
 in scsh-0.5.3/scsh/bsd/signals1.c, not _NSIG.

 #if _NSIG > 48
 #error Too many signals!  Fix scsh to save more of them!
 #endif

 I havn't good idea to fix this problem. Maybe, remove the check, or
 change to "_NSIG > 64" and add dummy entries to sig2int[]@sighandlers1.c.

 -- Yuji Yamano

From: Chris Pinnock <cjep@fawlty.net>
To: Yuji Yamano <yyamano@kt.rim.or.jp>
Cc: cjep@fawlty.net, gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/17174: scsh does not build on i386/1.6A and shark/1.6_BETA1
Date: Wed, 5 Jun 2002 14:02:20 +0100

 On Wed, Jun 05, 2002 at 09:58:56PM +0900, Yuji Yamano wrote:
 > I think it's same as pkg/16619.

 wiz@ quite rightly shut 17174 as a result. I'm looking into the bug at
 the moment.

 > I looked at sys/signal.h, scsh-0.5.3/scsh/bsd/signals1.c and
 > scsh-0.5.3/scsh/sighandlers1.c only, so please correct me if I'm
 > wrong.

 and scsh/bsd/signals.scm is relevant as well (I think).

 > We only have 32 userland signals and scsh can handle all of them.
 > signals1.c checks the number of signals as follow, but i think it
 > doesn't work. Because the number of supported signals is max_sig 
 > in scsh-0.5.3/scsh/bsd/signals1.c, not _NSIG.
 > 
 > #if _NSIG > 48
 > #error Too many signals!  Fix scsh to save more of them!
 > #endif
 > 
 > I havn't good idea to fix this problem. Maybe, remove the check, or
 > change to "_NSIG > 64" and add dummy entries to sig2int[]@sighandlers1.c.

 That's what I'm going to try! ;)

 best wishes,
 Chris
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.