Package: clamav
Version: 0.85.2-0.86rc1-1
Severity: normal

Hello,
When rebuilding clamav locally I stumbled upon this in the buildlog:
-----------
checking whether setpgrp takes no argument... yes
checking for sendmail... /usr/sbin/sendmail
exim: malformed debug_selector setting: + or - expected but found "0"
checking for __gmpz_init in -lgmp... yes
-----------

Oops, I thought, different outcome depending on the existence of
/usr/sbin/sendmail? Doublechecking against the buildlog from an
autobuilt version
<http://buildd.debian.org/fetch.php?&pkg=clamav&ver=0.85.2-0.86rc1-1&arch=mipsel&stamp=1118722190&file=log&as=raw>
indeed showed
---------------
checking whether setpgrp takes no argument... yes
checking for sendmail... no
./configure: line 11187: no: command not found
checking for __gmpz_init in -lgmp... yes
---------------

The location of the found sendmail is compiled into SENDMAIL_BIN and
is used to fill SENDMAIL_VERSION_A (and ..._B and ..._C) which is
refered to in clamav-milter.c. My build (with exim installed) has
SENDMAIL_BIN=/usr/sbin/sendmail and empty SENDMAIL_VERSION*, otoh if
the program was built on a machine with sendmail installed
SENDMAIL_VERSION_A would be filled. rowsing over
clamav-milter/clamav-milter.c I think this will indeed cause different
behavior.

          thanks, cu andreas

PS: Of course I am not suggesting to Build-Depend on sendmail but to
use --with-sendmail=/usr/sbin/sendmail _and_ to patch ./configure to
not invoke /usr/sbin/sendmail to fill SENDMAIL_VERSION_A, but to
hardcode values fitting the version used in debian.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)

Versions of packages clamav depends on:
pn  clamav-freshclam | clamav-d              Not found.
ii  libbz2-1.0                  1.0.2-7      high-quality block-sorting file co
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
pn  libclamav1                               Not found.
ii  libcurl3                    7.13.2-2     Multi-protocol file transfer libra
pn  libgmp3                                  Not found.
ii  libidn11                    0.5.13-1.0   GNU libidn library, implementation
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
ii  zlib1g                      1:1.2.2-4    compression library - runtime
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
                                           http://downhill.aus.cc/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to