clamav and bzip2

John Brown jbb at
Thu Feb 23 12:29:50 PST 2012

Dear Daniel,

    The clamav source configure script found that error still embedded 
in the compiler from an Xcode dmg I downloaded yesterday from the Apple 
developer site. Doesn't Apple check for known bugs in their download 
packages? The macports clamav made no such complaint. Exactly how does 
the most recent code from CLAM detect the presence of a known and 
resolved compiler bug and the macports version of clamav does not??? 
Possibly that bug is my slowdown with the macports clamscan.

    If you think bugs in compilers are acceptable,  that would be a 
unique developer approach. This is not a clam source code problem! They 
at the least fix all the bugs detected in their code and detect the 
known bugs in stuff their code uses. For instance, bzip2, gcc, etc.


	John B Brown
	jbb at
	358 High Street
	Buffalo, Wyoming

"Freedom is not worth having if it does not include
the freedom to make mistakes" Mahatma Gandhi
"There was never a good war, or a bad peace."
Benjamin Franklin
"I wonder whether the world is being run
by smart people who are putting us on
or by imbeciles who really mean it." Mark Twain


Daniel J. Luke wrote:
> On Feb 23, 2012, at 2:06 PM, John Brown wrote:
>>  After a long download and a short installation the result is the macports clamscan never stopped, and was still going almost eight hours after starting. What's that all about? I finaly gave it a control-C.
> you could try clamscan -v to get verbose output and see what clamscan is up to
> it's pretty slow, though:
> on a dual G4 (desktop) I have with significantly faster disc than you:
> % clamscan -v photo.JPG 
> Scanning photo.JPG
> photo.JPG: OK
> ----------- SCAN SUMMARY -----------
> Known viruses: 1151337
> Engine version: 0.97.3
> Scanned directories: 0
> Scanned files: 1
> Infected files: 0
> Data scanned: 1.66 MB
> Data read: 1.66 MB (ratio 1.00:1)
> Time: 16.283 sec (0 m 16 s)
>>   I downloaded the latest clamav code from their site, attempted to configure, and got this:
> because you wanted to do the same thing that port already did for you?
>> checking for gcc bug PR28045... configure: error: your compiler has gcc PR28045 bug, use a different compiler, see
> unfortunately clamav will only build with -O0 on darwin8 (with apple's compiler)
> --
> Daniel J. Luke                                                                   
> +========================================================+                        
> | *---------------- dluke at ----------------* |                          
> | *-------------- -------------* |                          
> +========================================================+                        
> |   Opinions expressed are mine and do not necessarily   |                          
> |          reflect the opinions of my employer.          |                          
> +========================================================+

More information about the macports-users mailing list