Bug 84131 - clamav build errors on FreeBSD 5.2.1-RELEASE-p13
Summary: clamav build errors on FreeBSD 5.2.1-RELEASE-p13
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-26 15:50 UTC by Thorolf
Modified: 2005-08-30 22:48 UTC (History)
0 users

See Also:


Attachments
file.diff (328 bytes, patch)
2005-07-26 15:50 UTC, Thorolf
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thorolf 2005-07-26 15:50:10 UTC
    When I try to build clamav-0.86.2 on this system (OSVERSION 502010)
I got errors like:

/bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe -mcpu=pentiumpro   -L/usr/local/lib  -lc_r -o clamscan  output.o getopt.o  memory.o cfgparser.o misc.o  clamscan.o options.o others.o  manager.o treewalk.o  ../libclamav/libclamav.la
mkdir .libs
cc -O -pipe -mcpu=pentiumpro -o .libs/clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o  -L/usr/local/lib ../libclamav/.libs/libclamav.so -lz -lbz2 -lgmp -Wl,--rpath -Wl,/usr/local/lib
./libclamav/.libs/libclamav.so: undefined reference to `pthread_cleanup_pop'
./libclamav/.libs/libclamav.so: undefined reference to `pthread_cleanup_push'
*** Error code 1


The problem is that we need to compile this version of clamav with -pthread

I know 5.2.1 Is not supported anymore (I'm workin on upgrades;-).

Best Regards

Fix: This fix the build problems on my systems (tested on two machines)

How-To-Repeat: Try to build clamav on such system.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-27 12:07:35 UTC
State Changed
From-To: open->feedback

Asked maintainer for approval 


Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-27 12:07:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Track
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-27 12:07:36 UTC
Dear maintainer of FreeBSD port security/clamav, please take a look at

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

Do you approve this patch?

While at it, could you also take a look at
http://www.freebsd.org/cgi/query-pr.cgi?q=84104 ?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-08-30 22:47:53 UTC
State Changed
From-To: feedback->closed

Committed, thanks!