From nobody Thu Aug 4 11:12:24 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 UTF8SMTP id 4Lz5f6530Yz4Yl9h for ; Thu, 4 Aug 2022 11:11:58 +0000 (UTC) (envelope-from freebsd-ports@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (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) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4Lz5f427Bkz3yDc; Thu, 4 Aug 2022 11:11:56 +0000 (UTC) (envelope-from freebsd-ports@dino.sk) Received: from zeta.dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 0000000000CA0F82.0000000062EBA974.000053B1; Thu, 04 Aug 2022 13:11:48 +0200 Date: Thu, 4 Aug 2022 13:12:24 +0200 From: Milan Obuch To: Andrea Venturoli Cc: yasu@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: ClamAV requiring COMPAT_FREEBSD11 Message-ID: <20220804131224.7a9c4c02@zeta.dino.sk> In-Reply-To: <8e682d62-4f73-959c-bd91-eef1c60c8202@netfence.it> References: <8e682d62-4f73-959c-bd91-eef1c60c8202@netfence.it> X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) 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 X-Rspamd-Queue-Id: 4Lz5f427Bkz3yDc X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-ports@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-ports@dino.sk X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[dino.sk]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, 4 Aug 2022 12:49:11 +0200 Andrea Venturoli wrote: > 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? > Hi, ClamAV (or part of it) apparently was rewritten into Rust. Here comes the requirement for COMPAT_FREEBSD11. Rust requires it, as for my observation. I'd like to live without this requirement, but that's not possible, for now. Regards, Milan