From nobody Thu Aug 4 11:45:40 2022 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Lz6Pt72xBz4Yq3k for ; Thu, 4 Aug 2022 11:46:26 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lz6Pt6WqRz4443; Thu, 4 Aug 2022 11:46:26 +0000 (UTC) (envelope-from yasu@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659613586; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XFuX6Y9dMNMxEBIIgmVinKA5oDP+Y8kusjzptSwt9KE=; b=HL/tCdEmYnoiFZ87mmppvdIRsi+1V6tjnwroDRG+ZX5V5WKPEYbMF05U5DuX+uKuYAhwae PCMn/vTBZoDNZbzdgCu7iARsBwHZxVNpCoontigFvorJLA4hvc84/vpK4j27Q/z8oe1w8i A0ZoCJ4Z09Bzd0X6K3zgkAnpRk2TTXsao4WvZjbUaFb59pFtfRVyDf3588dMyHFDY63/3X dJWp8qiUkUJTsUoOcdXSmdbv/OLdbRdrfE+5JlxdDtIFLGn3H4RlJ97zMYtJ2bavRXd7oH y3/d4wjRrIIOllaR9ZZFaXlW1WVlF5JSIKRB6GAEfveYwlamypyr+ywZrC64FQ== Received: from localhost (unknown [IPv6:240b:11:220:fe00:6450:fcfb:7e9b:d3b2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: yasu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Lz6Pt1Y1Tz1BXb; Thu, 4 Aug 2022 11:46:26 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Date: Thu, 04 Aug 2022 20:45:40 +0900 (JST) Message-Id: <20220804.204540.423692451978723604.yasu@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: ClamAV requiring COMPAT_FREEBSD11 From: Yasuhiro Kimura In-Reply-To: <20220804.200834.1997957378368998820.yasu@FreeBSD.org> References: <8e682d62-4f73-959c-bd91-eef1c60c8202@netfence.it> <20220804.200834.1997957378368998820.yasu@FreeBSD.org> X-Mailer: Mew version 6.8 on Emacs 29.0.50 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659613586; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XFuX6Y9dMNMxEBIIgmVinKA5oDP+Y8kusjzptSwt9KE=; b=bRq2WYF52EmUulFfWwO5UGJqwpu1vhaDFnxknBE29F8b4WZ++beAv9HDSOTgXnEJDN6f72 d6SZFwhbbCcPlsNlbteA+UZOhn2KpUVz0SEQHl0TSMwvANrJFgGioeNcStcc6RThWMU3yy 7pP7EJmNcjZP+xE7zQqqYkcRveIxwh1uPWyexjngqIICLwXhazSqGztbtdZoPSguInRRof 3CB0XKZYWhCtnuNfi6zyXXLnjoqnlrW8PIyuWD33ryD7Myk1i7zg+2F0jHAUsu5mrXDY2/ 7p7Obfw8rsBvQuoqIoRqZ0wAYJgcOg+qUA4Pl6EimFQc2b211jX0ysFA4DpflQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659613586; a=rsa-sha256; cv=none; b=iTvGPAakh9DGcoDB+DDUL3cYnrvaefhuomuITgMSfFOoGYLjLEXEWsTxVvI5r/Te35yE10 tixiHmoefKnengNQpvgcmqP13Qncpxwgrz1rHEKcycJ2XiV3o65m+N2/0s9CrkxvwqYHWz h2G7z8SkqqDodpSgbyd5HemTXtmFzDbDc38dw56l/09gAoLAdCZ4U4ZB/odxqcZFpPvCp1 PxUawwdMa6cjpW1YgQl4o3Ya0/Gd8dRHQXB6vIEc4CT+oM/h825ApXX0tr47+a4HATcxqi 9N7izlKIH8r9Rj3ZGb/UahdzGFOdc8SmgHKvn76dHu2uIhhFsDj3xawsE13Irw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N From: Yasuhiro Kimura Subject: Re: ClamAV requiring COMPAT_FREEBSD11 Date: Thu, 04 Aug 2022 20:08:34 +0900 (JST) > From: Andrea Venturoli > Subject: ClamAV requiring COMPAT_FREEBSD11 > Date: Thu, 4 Aug 2022 12:49:11 +0200 > >> >> Hello. >> >> I build clamav-0.105.1,1 (from quarterly branch) in Poudriere and I've >> always used it without problems. >> >> Suddenly last night freshclam started dying on a few machines: it turn >> out it prints "bad system call", due to the lack of COMPAT_FREEBSD11 >> in the kernel. >> Strangely it's been working with those kernels for years. >> >> In any case, I'm trying to find a way out of this: I really wouldn't >> want to install a new kernel on a remote machine, considering the >> customers might be on the verge of closing for holidays, so I might >> not have the chance to go and fix it in case of troubles. >> OTOH I can't leave ClamAV without DB updates for weeks, so I'm >> investigating if an alternative exists. >> >> Why this requirement? >> Is there a way to recompile ClamAV in order to let freshclam work >> without this kernel support? >> >> Thanks. >> >> bye >> av. >> > > Commit updating security/clamav to 0.105.1,1 isn't merged to current > (2022Q3) quarterly branch. So if you really build with quarterly > branch and get 0.105.1,1, it is very likely you make something wrong > with building clamav package. > > And please provide following imformation. > > * Your rchitecture > * Your OS version (both host and jail) > * Your options setting > > Best Regards. Oops, I misunderstood COMPAT_FREEBSD11 support of kernel with installing misc/compat11 package. And yes, as Milan explained in other message, COMPAT_FREEBSD11 support of kernel is required to run clamav 0.105.0 or later and it is because rust is used to build part of it. I'm suprised if 0.105.1 worked fine without COMPAT_FREEBSD11. --- Yasuhiro Kimura