Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 01:51:16 GMT
From:      Greg Satz <satz@iranger.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182363: clamav-0.98 fails to compile due to missing spawn.h
Message-ID:  <201309250151.r8P1pGL9064531@oldred.freebsd.org>
Resent-Message-ID: <201309250200.r8P200fc053153@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182363
>Category:       ports
>Synopsis:       clamav-0.98 fails to compile due to missing spawn.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 25 02:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309250151.r8P1pGL9064531>