clamav fails to upgrade | 0.93.3_1 < 0.94_0 | 10.4.11 PPC

Tobias Weisserth tobias.weisserth at gmail.com
Sun Oct 26 03:57:37 PDT 2008


Hi everybody,

for more than a month I am trying to upgrade clamav on my PowerBook running
10.4.11 and the latest MacPorts.

I have version 0.93.3_1 of MacPorts' clamav and want to go to 0.94_0.

However, this is what I get when I run 'sudo port -fun upgrade clamav':

--->  Fetching clamav
--->  Verifying checksum(s) for clamav
--->  Extracting clamav
--->  Configuring clamav
--->  Building clamav with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_clamav/work/clamav-0.94"
&& make all " returned error 2
Command output:  /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
uniq.lo -MD -MP -MF .deps/uniq.Tpo -c uniq.c  -fno-common -DPIC -o
.libs/uniq.o
uniq.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-pointer-checks
-freorder-functions -funit-at-a-time -falign-functions -falign-jumps
-falign-loops -falign-labels -ftree-pre -MT uniq.lo -MD -MP -MF
.deps/uniq.Tpo -c uniq.c -o uniq.o >/dev/null 2>&1
mv -f .deps/uniq.Tpo .deps/uniq.Plo
/bin/sh ../libtool --tag=CC   --mode=compile /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 version.lo -MD -MP -MF .deps/version.Tpo -c -o
version.lo version.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-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 version.lo -MD -MP -MF
.deps/version.Tpo -c version.c  -fno-common -DPIC -o .libs/version.o
version.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-pointer-checks
-freorder-functions -funit-at-a-time -falign-functions -falign-jumps
-falign-loops -falign-labels -ftree-pre -MT version.lo -MD -MP -MF
.deps/version.Tpo -c version.c -o version.o >/dev/null 2>&1
mv -f .deps/version.Tpo .deps/version.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 -ftree-pre -version-info 5: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 disasm.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 autoit.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 regex_suffix.lo
mspack.lo cab.lo entconv.lo hashtab.lo dconf.lo lzma_iface.lo explode.lo
textnorm.lo dlp.lo js-norm.lo uniq.lo version.lo ../libclamunrar_iface/
libclamunrar_iface.la lzma/liblzma.la  -L/opt/local/lib -lz -L/opt/local/lib
-lbz2 -R/opt/local/lib -L/opt/local/lib -lgmp -R/opt/local/lib -liconv
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.94/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.94/libclamav/lzma/.libs/liblzma.a)
/usr/bin/gcc-4.0 -dynamiclib  -o .libs/libclamav.5.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/disasm.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/regex_suffix.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/dlp.o
.libs/js-norm.o .libs/uniq.o .libs/version.o
.libs/libclamav.lax/liblzma.a/LzmaStateDecode.o   -L/opt/local/lib
../libclamunrar_iface/.libs/libclamunrar_iface.dylib
/opt/local/lib/libclamunrar.dylib -lz -lbz2 /opt/local/lib/libgmp.dylib
/opt/local/lib/libiconv.dylib  -install_name
/opt/local/lib/libclamav.5.dylib -compatibility_version 6 -current_version
6.1 -Wl,-single_module
ld: warning can't open dynamic library: /opt/local/lib/libclamunrar.5.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.5.dylib
_ppm_destructor referenced from libclamunrar expected to be defined in
/opt/local/lib/libclamunrar.5.dylib
_rar_init_filters referenced from libclamunrar expected to be defined in
/opt/local/lib/libclamunrar.5.dylib
_rar_unpack referenced from libclamunrar expected to be defined in
/opt/local/lib/libclamunrar.5.dylib
_rarvm_free referenced from libclamunrar expected to be defined in
/opt/local/lib/libclamunrar.5.dylib
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit
command failed
make[4]: *** [libclamav.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1

Does anybody else run into the same problem?

How do I solve this?

Tobias W.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20081026/05b47c8a/attachment.html>


More information about the macports-users mailing list