Subject: pkg/10769: mit-pthreads installs a math.h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rhialto@polderland.nl>
List: netbsd-bugs
Date: 08/06/2000 16:33:14
>Number:         10769
>Category:       pkg
>Synopsis:       mit-pthreads installs a math.h
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 06 16:34:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Rhialto
>Release:        pkgsrc -current of some days ago <NetBSD-current source date>
>Organization:
	
>Environment:
System: NetBSD azenomei.falu.nl 1.4.1 NetBSD 1.4.1 (AZENOMEI) #27: Wed Jun 14 01:41:57 CEST 2000 rhialto@azenomei.falu.nl:/usr/src/sys/arch/alpha/compile/AZENOMEI alpha


>Description:
	When you install package devel/mit-pthreads, it installs in its
	include directory (/usr/pkg/pthreads/include) a replacement
	math.h file. However, it does not seem to provide an
	implementation of any of the declared functions (either as a
	wrapper or otherwise).  Moreover, it does not include
	declarations of all functions that are in /usr/include/math.h
	(which includes in particular hypot()). Therefore this header
	file is useless and even counterproductive.

>How-To-Repeat:
	Installl mit-pthreads. Attempt to compile any software that uses
	hypot(3); I think it was python or some part of Mojo Nation (see
	www.mojonation.net) that triggered the problem.
>Fix:
	Remove or do not install /usr/pkg/pthreads/include/math.h.
>Release-Note:
>Audit-Trail:
>Unformatted: