[MacPorts] #53212: clamav @0.99.2_1: configure fails due to incorrect zlib version check
MacPorts
noreply at macports.org
Thu Jan 5 01:19:29 UTC 2017
#53212: clamav @0.99.2_1: configure fails due to incorrect zlib version check
------------------------+--------------------
Reporter: mndavidoff | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: clamav
------------------------+--------------------
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`.
--
Ticket URL: <https://trac.macports.org/ticket/53212>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list