From owner-svn-ports-head@freebsd.org Sun Dec 9 14:08:44 2018 Return-Path: Delivered-To: svn-ports-head@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 120831322B8F for ; Sun, 9 Dec 2018 14:08:44 +0000 (UTC) (envelope-from bounce+d9b290.b1b642-svn-ports-head=freebsd.org@home.dimapanov.com) Received: from mail2.static.mailgun.info (mail2.static.mailgun.info [104.130.122.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5E94B6CB7A for ; Sun, 9 Dec 2018 14:08:43 +0000 (UTC) (envelope-from bounce+d9b290.b1b642-svn-ports-head=freebsd.org@home.dimapanov.com) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=home.dimapanov.com; q=dns/txt; s=smtp; t=1544364523; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Reply-To: Sender; bh=Gh/iIRz+nv7Q/1QkqNSeIs0hyXIRvh2GJaXJQ+2Kgkw=; b=oLe8SYpVTv+uGsAvBZS1xdpcYDg5uzND3HISlxfHkVqyNavbqGIY6cpufChHX8eiGciiRDlP YxWning8s+fBD8FtRii+eCQ0a00eqcBz0lhVJdQI+3EF1n0V8b2VkupiuWQVAfry7cnS4cu3 i/0xNtoXqMTOoPaAfDMlYbRflSg= X-Mailgun-Sending-Ip: 104.130.122.2 X-Mailgun-Sid: WyIxMjQ5NSIsICJzdm4tcG9ydHMtaGVhZEBmcmVlYnNkLm9yZyIsICJiMWI2NDIiXQ== Sender: fluffy=freebsd.org@home.dimapanov.com Received: from iMac-Fluffy.local (Unknown [80.255.5.174]) by mxa.mailgun.org with ESMTP id 5c0d21ea.7fe5880d12d0-smtp-out-n01; Sun, 09 Dec 2018 14:08:42 -0000 (UTC) Reply-To: fluffy@FreeBSD.org Subject: Re: svn commit: r486562 - head/security/clamav To: Yasuhiro KIMURA Cc: antoine@freebsd.org, svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org, ler@freebsd.org References: <20181209.080444.115255749052487617.yasu@utahime.org> <20181209.082717.712987822764176021.yasu@utahime.org> <20181209.183911.1649689620224594365.yasu@utahime.org> From: Dima Panov Message-ID: Date: Mon, 10 Dec 2018 00:08:36 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 PostboxApp/6.1.7 MIME-Version: 1.0 In-Reply-To: <20181209.183911.1649689620224594365.yasu@utahime.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: ru Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 5E94B6CB7A X-Spamd-Result: default: False [4.32 / 15.00]; HAS_REPLYTO(0.00)[fluffy@FreeBSD.org]; MX_INVALID(0.50)[cached]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:104.130.122.0/23]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_FIVE(0.00)[6]; DKIM_TRACE(0.00)[home.dimapanov.com:+]; FORGED_SENDER(0.30)[fluffy@FreeBSD.org,bounce@home.dimapanov.com]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(0.19)[ip: (3.77), ipnet: 104.130.120.0/22(0.70), asn: 27357(-3.41), country: US(-0.09)]; ASN(0.00)[asn:27357, ipnet:104.130.120.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[d9b290.b1b642-svn-ports-head=freebsd.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[home.dimapanov.com]; FROM_NEQ_ENVFROM(0.00)[fluffy@FreeBSD.org,bounce@home.dimapanov.com]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.80)[0.797,0]; NEURAL_HAM_LONG(-0.00)[-0.003,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_SPAM_MEDIUM(0.54)[0.536,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.122.130.104.list.dnswl.org : 127.0.15.0]; FORGED_MUA_MOZILLA_MAIL_MSGID_UNKNOWN(2.50)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Dec 2018 14:08:44 -0000 Hello! Yasuhiro KIMURA wrote on 09/12/2018 19:39: > 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 Please don't do it this was but install 'platform.h' as private header under subdirectory and adjust depended software. > > 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 > -- Dima Panov (fluffy@FreeBSD.org) (X11, KDE, Office)@FreeBSD team Facebook: http://www.facebook.com/fluffy.khv twitter: fluffy_khv | skype: dima.panov | telegram: @dima_panov IRC: fluffy@EFNet, fluffykhv@FreeNode