public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Matthias Fischer <matthias.fischer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: Failure to build clamav due to rust reversion
Date: Thu, 29 Aug 2024 19:18:07 +0200	[thread overview]
Message-ID: <c9b0c9af-f1ff-41bc-9199-27d1c38ca6de@ipfire.org> (raw)
In-Reply-To: <fec30bc8-9edc-4dd8-a0b7-d7a714cb3533@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]

On 29.08.2024 15:24, Adolf Belka wrote:
> Hi All,

Hi,

> On 29/08/2024 15:04, Adolf Belka wrote:
>> Hi Michael & Matthias,
>>
>> I just re-ran my build after the removal of the coreutils patch.
>>
>> The build went past coreutils with no problem. However it has then failed at clamav (1.4.0) with the message
>>
>> error: package `home v0.5.9` cannot be built because it requires rustc 1.70.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
>>
>> Rust was reverted back to 1.67.0 due to problems with building ruby for aarch64 and riscv64.

Ok, then it seems that 'clamav 1.4.0' is out for now, too.

>> https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=33ee3958de834f7eb686fb5b5daa56d511bb18e9
>>
>> So until rust has the fix for building ruby for aarch64 and riscv64 then it 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
>>
>> Unless of course I have not understood the root cause of this problem, which definitely could be the case.
>>
> I have realised that clamav has the rust modules bundled into the source tarball and home is at 0.5.9 in that bundle.
> 
> 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 of building clamav with rust can find a way.

Sorry Adolf, but I fear, I'm not *that* experienced... ;-)

I wouldn't want to temper with this and revert 'clamav', too.

Best
Matthias

> Regards,
> 
> Adolf.
> 
>> Regards,
>>
>> Adolf.
>>


  parent reply	other threads:[~2024-08-29 17:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-29 13:04 Adolf Belka
2024-08-29 13:24 ` Adolf Belka
2024-08-29 13:55   ` Michael Tremer
2024-08-29 18:06     ` Adolf Belka
2024-08-29 17:18   ` Matthias Fischer [this message]
2024-08-29 21:17     ` Adolf Belka
2024-08-30  8:37       ` Matthias Fischer
2024-08-30 15:39         ` Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c9b0c9af-f1ff-41bc-9199-27d1c38ca6de@ipfire.org \
    --to=matthias.fischer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox