[Pkg-clamav-devel] clamav 0.98.3 released

Scott Kitterman debian at kitterman.com
Sun May 18 03:16:51 UTC 2014


On Friday, May 16, 2014 17:23:20 Andreas Cadhalpun wrote:
> Hi,
> 
> On 12.05.2014 21:48, Scott Kitterman wrote:
> > On Monday, May 12, 2014 20:57:12 Andreas Cadhalpun wrote:
> >> Additionally the build log checks reveal that this clamav version
> >> 
> >> introduced two new 'implicit-declaration' problems [1]:
> >>    * crypto.c:1017; strptime
> > 
> > http://man7.org/linux/man-pages/man3/strptime.3.html
> > 
> >>    * mbox.c:1951; cli_strcasestr
> > 
> > http://code.metager.de/source/s?refs=cli_strcasestr&project=clamav
> > 
> >> I don't know, where those should be defined. Any ideas?
> > 
> > Do those help?
> 
> These are fixed in 0.98.4-rc1.

Great.  I just tried to build it and ran into another problem (on i386):

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -
D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -DSEARCH_LIBDIR=\"/usr/lib\" -
I/usr/include -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -
Werror=format-security -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c 
disasm.c  -fPIC -DPIC -o .libs/libclamav_la-disasm.o
In file included from /usr/include/signal.h:360:0,
                 from /usr/include/i386-linux-gnu/sys/param.h:28,
                 from others.h:89,
                 from matcher.h:28,
                 from others.h:21,
                 from disasm.c:33:
disasm-common.h:339:3: error: redeclaration of enumerator 'REG_EAX'
   REG_EAX, REG_ECX, REG_EDX, REG_EBX, REG_ESP, REG_EBP, REG_ESI, REG_EDI,
   ^
/usr/include/i386-linux-gnu/sys/ucontext.h:180:3: note: previous definition of 
'REG_EAX' was here
   REG_EAX,
   ^
disasm-common.h:339:12: error: redeclaration of enumerator 'REG_ECX'
   REG_EAX, REG_ECX, REG_EDX, REG_EBX, REG_ESP, REG_EBP, REG_ESI, REG_EDI,
            ^
/usr/include/i386-linux-gnu/sys/ucontext.h:178:3: note: previous definition of 
'REG_ECX' was here
   REG_ECX,
   ^
disasm-common.h:339:21: error: redeclaration of enumerator 'REG_EDX'
   REG_EAX, REG_ECX, REG_EDX, REG_EBX, REG_ESP, REG_EBP, REG_ESI, REG_EDI,
                     ^
/usr/include/i386-linux-gnu/sys/ucontext.h:176:3: note: previous definition of 
'REG_EDX' was here
   REG_EDX,
   ^
disasm-common.h:339:30: error: redeclaration of enumerator 'REG_EBX'
   REG_EAX, REG_ECX, REG_EDX, REG_EBX, REG_ESP, REG_EBP, REG_ESI, REG_EDI,
                              ^
/usr/include/i386-linux-gnu/sys/ucontext.h:174:3: note: previous definition of 
'REG_EBX' was here
   REG_EBX,
   ^
disasm-common.h:339:39: error: redeclaration of enumerator 'REG_ESP'
   REG_EAX, REG_ECX, REG_EDX, REG_EBX, REG_ESP, REG_EBP, REG_ESI, REG_EDI,
                                       ^
/usr/include/i386-linux-gnu/sys/ucontext.h:172:3: note: previous definition of 
'REG_ESP' was here
   REG_ESP,
   ^
disasm-common.h:339:48: error: redeclaration of enumerator 'REG_EBP'
   REG_EAX, REG_ECX, REG_EDX, REG_EBX, REG_ESP, REG_EBP, REG_ESI, REG_EDI,
                                                ^
/usr/include/i386-linux-gnu/sys/ucontext.h:170:3: note: previous definition of 
'REG_EBP' was here
   REG_EBP,
   ^
disasm-common.h:339:57: error: redeclaration of enumerator 'REG_ESI'
   REG_EAX, REG_ECX, REG_EDX, REG_EBX, REG_ESP, REG_EBP, REG_ESI, REG_EDI,
                                                         ^
/usr/include/i386-linux-gnu/sys/ucontext.h:168:3: note: previous definition of 
'REG_ESI' was here
   REG_ESI,
   ^
disasm-common.h:339:66: error: redeclaration of enumerator 'REG_EDI'
   REG_EAX, REG_ECX, REG_EDX, REG_EBX, REG_ESP, REG_EBP, REG_ESI, REG_EDI,
                                                                  ^
/usr/include/i386-linux-gnu/sys/ucontext.h:166:3: note: previous definition of 
'REG_EDI' was here
   REG_EDI,
   ^
disasm-common.h:342:3: error: redeclaration of enumerator 'REG_ES'
   REG_ES, REG_CS, REG_SS, REG_DS, REG_FS, REG_GS,
   ^
/usr/include/i386-linux-gnu/sys/ucontext.h:162:3: note: previous definition of 
'REG_ES' was here
   REG_ES,
   ^
disasm-common.h:342:11: error: redeclaration of enumerator 'REG_CS'
   REG_ES, REG_CS, REG_SS, REG_DS, REG_FS, REG_GS,
           ^
/usr/include/i386-linux-gnu/sys/ucontext.h:188:3: note: previous definition of 
'REG_CS' was here
   REG_CS,
   ^
disasm-common.h:342:19: error: redeclaration of enumerator 'REG_SS'
   REG_ES, REG_CS, REG_SS, REG_DS, REG_FS, REG_GS,
                   ^
/usr/include/i386-linux-gnu/sys/ucontext.h:194:3: note: previous definition of 
'REG_SS' was here
   REG_SS
   ^
disasm-common.h:342:27: error: redeclaration of enumerator 'REG_DS'
   REG_ES, REG_CS, REG_SS, REG_DS, REG_FS, REG_GS,
                           ^
/usr/include/i386-linux-gnu/sys/ucontext.h:164:3: note: previous definition of 
'REG_DS' was here
   REG_DS,
   ^
disasm-common.h:342:35: error: redeclaration of enumerator 'REG_FS'
   REG_ES, REG_CS, REG_SS, REG_DS, REG_FS, REG_GS,
                                   ^
/usr/include/i386-linux-gnu/sys/ucontext.h:160:3: note: previous definition of 
'REG_FS' was here
   REG_FS,
   ^
disasm-common.h:342:43: error: redeclaration of enumerator 'REG_GS'
   REG_ES, REG_CS, REG_SS, REG_DS, REG_FS, REG_GS,
                                           ^
/usr/include/i386-linux-gnu/sys/ucontext.h:158:3: note: previous definition of 
'REG_GS' was here
   REG_GS = 0,
   ^

It's late for me, so I'll try and take a look at this tomorrow if no one else 
does before.

Scott K



More information about the Pkg-clamav-devel mailing list