clamav buildbot failure (snow leopard, lion, mountain lion)

Daniel J. Luke dluke at geeklair.net
Fri May 9 07:26:05 PDT 2014


On May 8, 2014, at 9:08 AM, Daniel J. Luke <dluke at geeklair.net> wrote:
> 
>> The Buildbot has detected a failed build on builder buildports-mtln-x86_64 while building MacPorts.
>> Full details are available at:
>> http://build.macports.org/builders/buildports-mtln-x86_64/builds/13966
> 
> These builds all fail with something like:
>  CCLD   libclamav.la
> ld: warning: ignoring file ../libclamav/libclamav.map, file was built for unsupported file format ( 0x43 0x4c 0x41 0x4d 0x41 0x56 0x5f 0x50 0x55 0x42 0x4c 0x49 0x43 0x20 0x7b 0x a ) which is not the architecture being linked (x86_64): ../libclamav/libclamav.map
> Undefined symbols for architecture x86_64:
>  "_libiconv", referenced from:
>      _encoding_normalize_toascii in libclamav_la-entconv.o
>  "_libiconv_close", referenced from:
>      _encoding_normalize_toascii in libclamav_la-entconv.o
>      _iconv_pool_tls_instance_destroy in libclamav_la-entconv.o
>  "_libiconv_open", referenced from:
>      _encoding_normalize_toascii in libclamav_la-entconv.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> 
> I only really have access to mavericks systems now, but I was able to reproduce this issue with the Xcode 5 devtools (everything builds fine with the Xcode 5.1 devtools). I tried blacklisting clang < 503.0.40, but that didn't help (it caused an install of llvm-gcc42 cctools cctools-headers llvm-3.3 llvm_select gcc_select ld64, and presumably used llvm-gcc42 to try to build). Anyone have any thoughts on what may be going on?

I don't really know why, but the update I made to make clamav link against MacPorts openssl (and to be more verbose while building) appears to have fixed this.
--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+






More information about the macports-dev mailing list