Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#53212 closed defect (fixed)

clamav @0.99.2_1: configure fails due to incorrect zlib version check

Reported by: mndavidoff (Monte Davidoff) Owned by: dluke@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: clamav

Description

After upgrading the zlib port to 1.2.10, I could not install clamav.

$ port installed zlib
The following ports are currently installed:
  zlib @1.2.10_0 (active)
$ sudo port -vs install clamav
...
checking for zlib installation... using /opt/local
configure: error: The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stability issues then!
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_clamav/clamav/work/clamav-0.99.2" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-zlib=/opt/local --with-openssl=/opt/local --with-pcre=/opt/local --with-xml=/opt/local --disable-silent-rules --enable-llvm=no 
Exit code: 1
Error: Failed to configure clamav, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_clamav/clamav/work/clamav-0.99.2/config.log

The problem is on line 18721 of the configure script. The regular expression to check for zlib version 1.2.1 also matches version 1.2.10. A workaround might be to use configure --disable-zlib-vcheck.

Attachments (1)

main.log.gz (5.7 KB) - added by mndavidoff (Monte Davidoff) 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.gz added

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dluke@… removed
Owner: set to dluke@…
Status: newassigned

Please report this bug to the developers of clamav, if it is not already known to them.

comment:2 Changed 8 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: assignedclosed

In 9d0ae11b/macports-ports:

clamav: patch configure for new zlib version

Fixes #53212

comment:3 Changed 8 years ago by danielluke (Daniel J. Luke)

Reported upstream with a patch here:

https://bugzilla.clamav.net/show_bug.cgi?id=11711

I'm committing a patch to the configure script (based off of what that patch to the m4 would generate) to fix the build.

Note: See TracTickets for help on using tickets.