From nobody@FreeBSD.org  Wed Sep 25 01:51:17 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 695FECE3
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 25 Sep 2013 01:51:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 56E892C48
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 25 Sep 2013 01:51:17 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8P1pGmA064552
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 25 Sep 2013 01:51:16 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8P1pGL9064531;
	Wed, 25 Sep 2013 01:51:16 GMT
	(envelope-from nobody)
Message-Id: <201309250151.r8P1pGL9064531@oldred.freebsd.org>
Date: Wed, 25 Sep 2013 01:51:16 GMT
From: Greg Satz <satz@iranger.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: clamav-0.98 fails to compile due to missing spawn.h
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182363
>Category:       ports
>Synopsis:       security/clamav 0.98 fails to compile due to missing spawn.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 25 02:00:00 UTC 2013
>Closed-Date:    Mon Oct 07 11:13:41 UTC 2013
>Last-Modified:  Mon Oct  7 22:20:00 UTC 2013
>Originator:     Greg Satz
>Release:        FreeBSD 7.1
>Organization:
>Environment:
FreeBSD fnu.iranger.com 7.1-RELEASE-p16 FreeBSD 7.1-RELEASE-p16 #24: Fri Apr 27 07:57:26 MDT 2012     satz@fnu.iranger.com:/usr/src/sys/i386/compile/FNU  i386
>Description:
===>  Building for clamav-0.98
/usr/bin/make  all-recursive
Making all in libltdl
/usr/bin/make  all-am
Making all in libclamav
/usr/bin/make  all-recursive
Making all in c++
/usr/bin/make  all-am
CXX    Program.lo
CXX    ThreadLocal.lo
CXX    Threading.lo
In file included from llvm/lib/System/Program.cpp:52:
llvm/lib/System/Unix/Program.inc:34:19: error: spawn.h: No such file or directory
CXX    TimeValue.lo
In file included from llvm/lib/System/Program.cpp:52:
llvm/lib/System/Unix/Program.inc:134: error: 'posix_spawn_file_actions_t' has not been declared
llvm/lib/System/Unix/Program.inc: In function 'bool llvm::RedirectIO_PS(const llvm::sys::Path*, int, std::string*, int&)':
llvm/lib/System/Unix/Program.inc:145: error: 'posix_spawn_file_actions_addopen' was not declared in this scope

>How-To-Repeat:
make in /usr/ports/security/clamav
>Fix:
Appears that HAS_POSIX_SPAWN isn't being unset for the older version of FreeBSD I am running.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Sep 25 03:13:00 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182363 
State-Changed-From-To: open->closed 
State-Changed-By: garga 
State-Changed-When: Mon Oct 7 11:13:40 UTC 2013 
State-Changed-Why:  
FreeBSD 7.x series is no longer supported since las February, you are 
strongly encouraged to update it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182363 

From: Greg Satz <satz@iranger.com>
To: bug-followup@FreeBSD.org, satz@iranger.com
Cc:  
Subject: Re: ports/182363: security/clamav 0.98 fails to compile due to missing spawn.h
Date: Mon, 7 Oct 2013 16:06:08 -0600

 It was easy to get it compiled. Just had to undef the HAS_POSIX_SPAWN =
 and rearrange an include somewhere I don't recall. I am upgrading now =
 but meanwhile have better coverage.=
>Unformatted:
