Hello,

recent update of clamav 0.98.7 fails to build on sparc64. I'm running
the snapshot from april 26th on the box.

Regards,
Markus

[...]
Making all in libclamav
make  all-recursive
Making all in c++
make  all-am
/usr/bin/libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I.  -I./../.. 
-I./..  -I./../../ -I./llvm/include -I./llvm/include -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE -I/usr/include 
-I/usr/local/include -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W 
-Wno-unused-parameter -Wwrite-strings -DLLVM_VERSION=28 -O2 -pipe -MT 
libclamavcxx_la-bytecode2llvm.lo -MD -MP -MF 
.deps/libclamavcxx_la-bytecode2llvm.Tpo -c -o libclamavcxx_la-bytecode2llvm.lo 
`test -f 'bytecode2llvm.cpp' || echo './'`bytecode2llvm.cpp
c++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I./llvm/include 
-I./llvm/include -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG 
-D_GNU_SOURCE -I/usr/include -I/usr/local/include -Woverloaded-virtual 
-pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings 
-DLLVM_VERSION=28 -O2 -pipe -MT libclamavcxx_la-bytecode2llvm.lo -MD -MP -MF 
.deps/libclamavcxx_la-bytecode2llvm.Tpo -c bytecode2llvm.cpp -fPIC -DPIC -o 
.libs/libclamavcxx_la-bytecode2llvm.o
In file included from bytecode2llvm.cpp:104:
./llvm/include/llvm/Target/TargetSelect.h: In function 'bool 
llvm::InitializeNativeTargetAsmPrinter()':
./llvm/include/llvm/Target/TargetSelect.h:117: error: 
'LLVMInitializeSparcAsmPrinter' was not declared in this scope
bytecode2llvm.cpp: In function 'void setGuard(unsigned char*)':
bytecode2llvm.cpp:2361: warning: deprecated conversion from string constant to 
'char*'
Error while executing c++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ 
-I./llvm/include -I./llvm/include -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE -I/usr/include 
-I/usr/local/include -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W 
-Wno-unused-parameter -Wwrite-strings -DLLVM_VERSION=28 -O2 -pipe -MT 
libclamavcxx_la-bytecode2llvm.lo -MD -MP -MF 
.deps/libclamavcxx_la-bytecode2llvm.Tpo -c bytecode2llvm.cpp -fPIC -DPIC -o 
.libs/libclamavcxx_la-bytecode2llvm.o
*** Error 2 in libclamav/c++ (Makefile:2044 'libclamavcxx_la-bytecode2llvm.lo')
*** Error 1 in libclamav/c++ (Makefile:1443 'all')
*** Error 1 in libclamav (Makefile:3070 'all-recursive')
*** Error 1 in libclamav (Makefile:878 'all')
*** Error 1 in . (Makefile:647 'all-recursive')
*** Error 1 in /usr/ports/pobj/clamav-0.98.7/clamav-0.98.7 (Makefile:459 'all')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2755 
'/usr/ports/pobj/clamav-0.98.7/.build_done')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1944 
'/usr/ports/packages/sparc64/all/clamav-0.98.7.tgz')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2497 
'_internal-package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2477 'package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1961 
'/var/db/pkg/clamav-0.98.7/+CONTENTS')
*** Error 1 in /usr/ports/security/clamav 
(/usr/ports/infrastructure/mk/bsd.port.mk:2477 'install')

Reply via email to