ports/182363: clamav-0.98 fails to compile due to missing spawn.h

Greg Satz satz at iranger.com
Wed Sep 25 02:00:00 UTC 2013


>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 at 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:


More information about the freebsd-ports-bugs mailing list