From owner-svn-ports-all@freebsd.org Sun Dec 9 09:40:10 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBC621314E94; Sun, 9 Dec 2018 09:40:10 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7155382ABA; Sun, 9 Dec 2018 09:40:08 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.utahime.jp (Postfix) with ESMTPS id 2C3E44994; Sun, 9 Dec 2018 18:40:04 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id C61BA17C68; Sun, 9 Dec 2018 18:40:03 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id F2AA817C67; Sun, 9 Dec 2018 18:40:01 +0900 (JST) Date: Sun, 09 Dec 2018 18:39:11 +0900 (JST) Message-Id: <20181209.183911.1649689620224594365.yasu@utahime.org> To: antoine@freebsd.org Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org, ler@freebsd.org Subject: Re: svn commit: r486562 - head/security/clamav From: Yasuhiro KIMURA In-Reply-To: <20181209.082717.712987822764176021.yasu@utahime.org> References: <20181209.080444.115255749052487617.yasu@utahime.org> <20181209.082717.712987822764176021.yasu@utahime.org> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 7155382ABA X-Spamd-Result: default: False [1.75 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[utahime.org]; NEURAL_SPAM_MEDIUM(0.15)[0.148,0]; RCPT_COUNT_FIVE(0.00)[5]; NEURAL_HAM_LONG(-0.93)[-0.933,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mx1.utahime.org]; MID_CONTAINS_FROM(1.00)[]; NEURAL_SPAM_SHORT(0.96)[0.962,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP]; IP_SCORE(0.38)[ip: (0.85), ipnet: 183.180.0.0/16(0.42), asn: 2519(0.74), country: JP(-0.09)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Dec 2018 09:40:11 -0000 From: Yasuhiro KIMURA Subject: Re: svn commit: r486562 - head/security/clamav Date: Sun, 09 Dec 2018 08:27:17 +0900 (JST) > Thank you. I'll investigate them. According to error log, direct problem is that ${PREFIX}/include/clamav.h includes 'cltypes.h' but no such file is installed. But there is another problem that ${PREFIX}/include/clamav-config.h includes 'platform.h' which doesn't exist. So I created following patch. Index: Makefile =================================================================== --- Makefile (revision 486932) +++ Makefile (working copy) @@ -2,7 +2,7 @@ PORTNAME= clamav PORTVERSION= 0.101.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.clamav.net/downloads/production/ @@ -174,7 +174,8 @@ fi post-install: - ${INSTALL_DATA} ${WRKSRC}/clamav-config.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/clamav-config.h ${WRKSRC}/libclamav/cltypes.h ${WRKSRC}/platform.h \ + ${STAGEDIR}${PREFIX}/include/ @${MKDIR} ${STAGEDIR}${DOCSDIR}/html \ ${STAGEDIR}${DBDIR} \ ${STAGEDIR}${LOGDIR} \ Index: pkg-plist =================================================================== --- pkg-plist (revision 486932) +++ pkg-plist (working copy) @@ -58,6 +58,8 @@ bin/sigtool include/clamav-config.h include/clamav.h +include/cltypes.h +include/platform.h lib/libclamav.so lib/libclamav.so.9 lib/libclamav.so.9.0.0 By applying it build of mail/qsheff is fixed. But builds of other ports are still broken. https://www.utahime.org/FreeBSD/poudriere/data/logs/bulk/112amd64-local/2018-12-09_15h32m01s/logs/errors/clamcour-0.3.8_9.log https://www.utahime.org/FreeBSD/poudriere/data/logs/bulk/112amd64-local/2018-12-09_16h01m47s/logs/errors/havp-0.91_6.log https://www.utahime.org/FreeBSD/poudriere/data/logs/bulk/112amd64-local/2018-12-09_16h06m11s/logs/errors/p5-Mail-ClamAV-0.29_4.log According to these logs, it seems API change of libclamav in 0.101.0 is root cause of breakage and cannot be fixed unless upstream of these ports support new API. So I would like to close this problem by marking threse ports BROKEN. --- Yasuhiro KIMURA