NetBSD Problem Report #47973

From www@NetBSD.org  Sat Jun 29 11:31:13 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 9653771587
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 29 Jun 2013 11:31:13 +0000 (UTC)
Message-Id: <20130629113112.1C5697177A@mollari.NetBSD.org>
Date: Sat, 29 Jun 2013 11:31:12 +0000 (UTC)
From: justin@specialbusservice.com
Reply-To: justin@specialbusservice.com
To: gnats-bugs@NetBSD.org
Subject: build uses <sys/signal.h> not in POSIX
X-Send-Pr-Version: www-1.0

>Number:         47973
>Category:       install
>Synopsis:       build uses <sys/signal.h> not in POSIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 29 11:35:00 +0000 2013
>Closed-Date:    Thu Aug 08 16:09:13 +0000 2013
>Last-Modified:  Thu Aug 08 16:09:13 +0000 2013
>Originator:     Justin Cormack
>Release:        6.1
>Organization:
>Environment:
Linux brill 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013 x86_64 GNU/Linux
Note this is a build on Linux with Musl libc not glibc
>Description:
During NetBSD build it fails with:
usr/src/usr.bin/make/main.c:120:24: fatal error: sys/signal.h: No such file or directory

<sys/signal.h> is not defined in POSIX, should use #include <signal.h> instead.

>How-To-Repeat:
Perform NetBSD build on a POSIX system that does not happen to have a <sys/signal.h> file defined.

>Fix:
Replace this with #include <signal.h>; this should define the same things.

>Release-Note:

>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47973 CVS commit: src/usr.bin/make
Date: Sat, 29 Jun 2013 11:19:33 -0400

 Module Name:	src
 Committed By:	christos
 Date:		Sat Jun 29 15:19:32 UTC 2013

 Modified Files:
 	src/usr.bin/make: main.c

 Log Message:
 PR/47973: Justin Cormack: build uses <sys/signal.h> not in POSIX


 To generate a diff of this commit:
 cvs rdiff -u -r1.214 -r1.215 src/usr.bin/make/main.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: snj@NetBSD.org
State-Changed-When: Thu, 08 Aug 2013 16:09:13 +0000
State-Changed-Why:
christos committed the change.  Thanks for the report!



>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.