clamav-0.93 fails

Tobias Weisserth tobias.weisserth at gmail.com
Fri May 23 04:53:35 PDT 2008


Hi everybody,

I'm trying to go from clamav 0.92 to 0.93 (Tiger, PPC)

This is what I get when I try to run

sudo port -uRn upgrade clamav

--

Command output: explode.c:273: warning: pointer targets in passing 
argument 1 of 'cli_readint32' differ in signedness
explode.c:284: warning: pointer targets in passing argument 1 of 
'cli_readint32' differ in signedness
explode.c:292: warning: pointer targets in passing argument 1 of 'c
li_readint32' differ in signedness
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma 
-I/opt/local/include -I/opt/local/include -fdefer-pop -fdelayed-branch 
-fguess-branch-probability -fcprop-registers -floop-optimize 
-fif-conversion -fif-conversion2 -ftree-ccp -ftree-dce 
-ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra 
-ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants -fthread-jumps 
-fcrossjumping -foptimize-sibling-calls -fcse-follow-jumps 
-fcse-skip-blocks -fgcse
-fgcse-lm -fexpensive-optimizations -fstrength-reduce 
-frerun-cse-after-loop -frerun-loop-opt -fcaller-saves -fforce-mem 
-fpeephole2 -fschedule-insns -fschedule-insns2 -fsched-spec -fregmove 
-fdelete-null-pointer-checks -freorder-functions -funit-at-a-time 
-falign-functions -falign-jumps -falign-loops -falign-labels -ftree-pre 
-MT explode.lo -MD -MP -MF .deps/explode.Tpo -c explode.c -o explode.o 
 >/dev/null 2>&1
mv -f .deps/explode.Tpo .deps/explode.Plo
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bi
n/gcc-4.0 -DHAVE_CONFIG_H -I. -I..  -I.. -I./nsis -I./lzma 
-I/opt/local/include -I/opt/local/include  -fdefer-pop -fdelayed-branch 
-fguess-branch-probability  -fcprop-registers -floop-optimize 
-fif-conversion  -fif-conversion2 -ftree-ccp -ftree-dce 
-ftree-dominator-opts  -ftree-dse -ftree-ter -ftree-lrs -ftree-sra 
-ftree-copyrename  -ftree-fre -ftree-ch -fmerge-constants  
-fthread-jumps -fcrossjumping -foptimize-sibling-calls  
-fcse-follow-jumps  -fcse-skip-blocks -fgcse  -fgcse-lm  
-fexpensive-optimizati
ons -fstrength-reduce -frerun-cse-after-loop  -frerun-loop-opt 
-fcaller-saves -fforce-mem -fpeephole2  -fschedule-insns  
-fschedule-insns2 -fsched-spec -fregmove  -fdelete-null-pointer-checks 
-freorder-functions  -funit-at-a-time -falign-functions  -falign-jumps 
-falign-loops  -falign-labels -ftree-pre -MT textnorm.lo -MD -MP -MF 
.deps/textnorm.Tpo -c -o textnorm.lo textnorm.c
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma 
-I/opt/local/include -I/opt/local/include -fdefer-pop -fdelayed-
branch -fguess-branch-probability -fcprop-registers -floop-optimize 
-fif-conversion -fif-conversion2 -ftree-ccp -ftree-dce 
-ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra 
-ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants -fthread-jumps 
-fcrossjumping -foptimize-sibling-calls -fcse-follow-jumps 
-fcse-skip-blocks -fgcse -fgcse-lm -fexpensive-optimizations 
-fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves 
-fforce-mem -fpeephole2 -fschedule-insns -fschedule-insn
s2 -fsched-spec -fregmove -fdelete-null-pointer-checks 
-freorder-functions -funit-at-a-time -falign-functions -falign-jumps 
-falign-loops -falign-labels -ftree-pre -MT textnorm.lo -MD -MP -MF 
.deps/textnorm.Tpo -c textnorm.c  -fno-common -DPIC -o .libs/textnorm.o
textnorm.c:1: warning: this target machine does not have delayed branches
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma 
-I/opt/local/include -I/opt/local/include -fdefer-pop -fdelayed-branch 
-fguess-branch-probability -fcprop-
registers -floop-optimize -fif-conversion -fif-conversion2 -ftree-ccp 
-ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs 
-ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants 
-fthread-jumps -fcrossjumping -foptimize-sibling-calls 
-fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm 
-fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop 
-frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2 -fschedule-insns 
-fschedule-insns2 -fsched-spec -fregmove -fdelete-null-po
inter-checks -freorder-functions -funit-at-a-time -falign-functions 
-falign-jumps -falign-loops -falign-labels -ftree-pre -MT textnorm.lo 
-MD -MP -MF .deps/textnorm.Tpo -c textnorm.c -o textnorm.o >/dev/null 2>&1
mv -f .deps/textnorm.Tpo .deps/textnorm.Plo
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0  -fdefer-pop 
-fdelayed-branch -fguess-branch-probability  -fcprop-registers 
-floop-optimize -fif-conversion  -fif-conversion2 -ftree-ccp -ftree-dce 
-ftree-dominator-opts  -ftree-dse -ftree-ter -
ftree-lrs -ftree-sra -ftree-copyrename  -ftree-fre -ftree-ch 
-fmerge-constants  -fthread-jumps -fcrossjumping 
-foptimize-sibling-calls  -fcse-follow-jumps  -fcse-skip-blocks -fgcse  
-fgcse-lm  -fexpensive-optimizations -fstrength-reduce 
-frerun-cse-after-loop  -frerun-loop-opt -fcaller-saves -fforce-mem 
-fpeephole2  -fschedule-insns  -fschedule-insns2 -fsched-spec -fregmove  
-fdelete-null-pointer-checks -freorder-functions  -funit-at-a-time 
-falign-functions  -falign-jumps -falign-loops  -falign-labels -f
tree-pre -versio
n-info 4:1:0 -no-undefined  -L/opt/local/lib -o libclamav.la -rpath 
/opt/local/lib matcher-ac.lo matcher-bm.lo matcher.lo md5.lo others.lo 
readdb.lo cvd.lo dsig.lo str.lo scanners.lo textdet.lo filetypes.lo 
rtf.lo blob.lo mbox.lo message.lo table.lo text.lo ole2_extract.lo 
vba_extract.lo msexpand.lo pe.lo upx.lo htmlnorm.lo chmunpack.lo 
rebuildpe.lo petite.lo wwunpack.lo unsp.lo aspack.lo packlibs.lo fsg.lo 
mew.lo upack.lo line.lo untar.lo unzip.lo inflate64.lo special.lo 
binhex.lo is_tar.lo tnef.lo autoi
t.lo strlcpy.lo regcomp.lo regerror.lo regexec.lo regfree.lo unarj.lo 
bzlib.lo nulsft.lo infblock.lo pdf.lo spin.lo yc.lo elf.lo sis.lo 
uuencode.lo phishcheck.lo phish_domaincheck_db.lo phish_whitelist.lo 
regex_list.lo mspack.lo cab.lo entconv.lo hashtab.lo dconf.lo 
lzma_iface.lo explode.lo textnorm.lo -L/opt/local/lib -lz 
-L/opt/local/lib -lbz2 -R/opt/local/lib -liconv  lzma/liblzma.la 
../libclamunrar_iface/libclamunrar_iface.la
rm -fr .libs/libclamav.lax
mkdir .libs/libclamav.lax
rm -fr .libs/libclamav
.lax/liblzma.a
mkdir .libs/libclamav.lax/liblzma.a
Extracting 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_clamav/work/clamav-0.93/libclamav/lzma/.libs/liblzma.a
(cd .libs/libclamav.lax/liblzma.a && ar x 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_clamav/work/clamav-0.93/libclamav/lzma/.libs/liblzma.a)
/usr/bin/gcc-4.0 -dynamiclib  -o .libs/libclamav.4.0.1.dylib  
.libs/matcher-ac.o .libs/matcher-bm.o .libs/matcher.o .libs/md5.o 
.libs/others.o .libs/readdb.o .libs/cvd.o .libs/dsig.o .libs/str.o 
.libs/scanners.o .libs/textdet.o .libs/filetypes.o .libs/rtf.o 
.libs/blob.o .libs/mbox.o .libs/message.o .libs/table.o .libs/text.o 
.libs/ole2_extract.o .libs/vba_extract.o .libs/msexpand.o .libs/pe.o 
.libs/upx.o .libs/htmlnorm.o .libs/chmunpack.o .libs/rebuildpe.o 
.libs/petite.o .libs/wwunpack.o .libs/unsp.o .libs/aspack.o 
.libs/packlibs.o .libs/fsg.o .libs/mew.o .libs/upack.o .libs/line.o 
.libs/untar.o .libs/unzip.o .libs/inflate64.o .libs/special.o 
.libs/binhex.o .libs/is_tar.o .libs/tnef.o .libs/autoit.o 
.libs/strlcpy.o .libs/regcomp.o .libs/regerror.o .libs/regexec.o 
.libs/regfree.o .libs/unarj.o .libs/bzlib.o .libs/nulsft.o 
.libs/infblock.o .libs/pdf.o .libs/spin.o .libs/yc.o .libs/elf.o 
.libs/sis.o .libs/uuencode.o .libs/phishcheck.o 
.libs/phish_domaincheck_db.o .libs/phish_whitelist.o .libs/regex_list.o 
.libs/mspack.o .libs/cab.o .libs/entconv.o .libs/hashtab.o .libs/dconf.o 
.libs/lzma_iface.o .libs/explode.o .libs/textnorm.o  
.libs/libclamav.lax/liblzma.a/LzmaStateDecode.o   -L/opt/local/lib -lz 
-lbz2 /opt/local/lib/libiconv.dylib 
../libclamunrar_iface/.libs/libclamunrar_iface.dylib 
/opt/local/lib/libclamunrar.dylib  -install_name  
/opt/local/lib/libclamav.4.dylib -compatibility_version 5 
-current_version 5.1 -Wl,-single_module
ld: warning can't open dynamic library: 
/opt/local/lib/libclamunrar.4.dylib referenced from: 
../libclamunrar_iface/.libs/libclamunrar_iface.dylib (checking for 
undefined symbols may be affected) (No such file or directory, errno = 2)
ld: Undefined symbols:
_ppm_constructor referenced from libclamunrar expected to be defined in 
/opt/local/lib/libclamunrar.4.dylib
_ppm_destructor referenced from libclamunrar expected to be defined in 
/opt/local/lib/libclamunrar.4.dylib
_rar_init_filters referenced from libclamunrar expected to be defined in 
/opt/local/lib/libclamunrar.4.dylib
_rar_unpack referenced from libclamunrar expected to be defined in 
/opt/local/lib/libclamunrar.4.dylib
_rarvm_free referenced from libclamunrar expected to be defined in 
/opt/local/lib/libclamunrar.4.dylib
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit 
command failed
make[3]: *** [libclamav.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

--

Any ideas?

Thanks,

Tobias W.


More information about the macports-users mailing list