From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Failure to build clamav due to rust reversion Date: Thu, 29 Aug 2024 15:55:31 +0200 Message-ID: <7C213CC0-31F6-476B-A148-E7D35169130A@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0192514696499795060==" List-Id: --===============0192514696499795060== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Okay, Rust is such a nightmare=E2=80=A6 I didn=E2=80=99t run a full clean build after the revert because my build sys= tem is busy with other things=E2=80=A6 I just assumed it would be working fin= e. I can revert clamav as well for now until we have a solution so that at least= the system can finish the build. I would like to leave this for you to find a solution as you are way more inv= olved in this than I am. If you need me, you know where to find me. -Michael > On 29 Aug 2024, at 15:24, Adolf Belka wrote: >=20 > Hi All, >=20 > On 29/08/2024 15:04, Adolf Belka wrote: >> Hi Michael & Matthias, >>=20 >> I just re-ran my build after the removal of the coreutils patch. >>=20 >> The build went past coreutils with no problem. However it has then failed = at clamav (1.4.0) with the message >>=20 >> error: package `home v0.5.9` cannot be built because it requires rustc 1.7= 0.0 or newer, while the currently active rustc version is 1.67.0 >> Either upgrade to rustc 1.70.0 or newer, or use >> cargo update -p home(a)0.5.9 --precise ver >> where `ver` is the latest version of `home` supporting rustc 1.67.0 >>=20 >> Rust was reverted back to 1.67.0 due to problems with building ruby for aa= rch64 and riscv64. >>=20 >> https://git.ipfire.org/?p=3Dipfire-2.x.git;a=3Dcommit;h=3D33ee3958de834f7e= b686fb5b5daa56d511bb18e9 >>=20 >> So until rust has the fix for building ruby for aarch64 and riscv64 then i= t looks like there needs to be a limit set to the version of rust-home to 0.5= .3, which is the version that we have with rust-1.67.0 >>=20 >> Unless of course I have not understood the root cause of this problem, whi= ch definitely could be the case. >>=20 > I have realised that clamav has the rust modules bundled into the source ta= rball and home is at 0.5.9 in that bundle. >=20 > Looking through clamav, I can't find a way to easily tell clamav to use the= rust-home version that is in IPFire. Hopefully Matthias with his knowledge o= f building clamav with rust can find a way. >=20 > Regards, >=20 > Adolf. >=20 >> Regards, >>=20 >> Adolf. --===============0192514696499795060==--