[MacPorts] #57846: clamav @0.101.0: missing headers issue breaks libclamav dependents

MacPorts noreply at macports.org
Thu Jan 3 20:44:09 UTC 2019


#57846: clamav @0.101.0: missing headers issue breaks libclamav dependents
------------------------------------+----------------------
  Reporter:  dbevans                |      Owner:  pixilla
      Type:  defect                 |     Status:  assigned
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:
Resolution:                         |   Keywords:
      Port:  clamav p5-mail-clamav  |
------------------------------------+----------------------
Description changed by dbevans:

Old description:

> This issue causes ports that build against libclamav to fail as clamav.h
> includes cltypes.h which is not installed.  A current example is p5-mail-
> clamav (log file attached).
>
> The issue is well known to the upstream developers who are working on the
> issue and promise a 0.101.1 patch release with a fix in the next week or
> so.
>
> See https://blog.clamav.net/2018/12/libclamav-missing-headers-issue.html.

New description:

 This issue causes ports that build against libclamav to fail as clamav.h
 includes cltypes.h which is not installed.  A current example is p5-mail-
 clamav .

 {{{
 /usr/bin/clang -c  -I"/opt/local/var/macports/build/_opt_github
 .com_macports_macports-ports_perl_p5-mail-clamav/p5.28-mail-clamav/work
 /Mail-ClamAV-0.29" -I/opt/local/include -fno-common -DPERL_DARWIN
 -mmacosx-version-min=10.14 -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include
 -DPERL_USE_SAFE_PUTENV -O3   -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\"
 "-I/opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE"   ClamAV.c
 In file included from ClamAV.xs:11:
 /opt/local/include/clamav.h:68:10: fatal error: 'cltypes.h' file not found
 #include "cltypes.h"
          ^~~~~~~~~~~
 1 error generated.
 }}}


 The issue is well known to the upstream developers who are working on the
 issue and promise a 0.101.1 patch release with a fix in the next week or
 so.

 See https://blog.clamav.net/2018/12/libclamav-missing-headers-issue.html.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/57846#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list