Opened 5 years ago

Closed 5 years ago

#57846 closed defect (fixed)

clamav @0.101.0: missing headers issue breaks libclamav dependents

Reported by: dbevans (David B. Evans) Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: clamav p5-mail-clamav

Description (last modified by dbevans (David B. Evans))

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.

Change History (4)

comment:1 Changed 5 years ago by dbevans (David B. Evans)

Description: modified (diff)

comment:2 Changed 5 years ago by dbevans (David B. Evans)

Owner: changed from pixilla to danielluke

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

I updated the port to 0.101.1 today.

comment:4 Changed 5 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.