[clamav-users] ClamAV 0.105.0 and Solaris no rustup

Andrew Watkins andrew at dcs.bbk.ac.uk
Thu May 5 10:58:32 UTC 2022


Hello,

Before I start searching or looking at rustup website, has anyone 
compiled 0.105.0 on Solaris yet?

Solaris does have rustc and cargo but the rustup command does not like 
SunOS.

# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash
rustup: unrecognized OS type: SunOS

and the ClamAV error I get is:
[ 42%] Built target bytecode_runtime
[ 43%] Building clamav_rust in 
/export/home/defang/clamav-0.105.0/libclamav_rust with: /usr/bin/cargo 
build --target x86_64-pc-solaris --release --target-dir 
/export/home/defang/clamav-0.105.0/build/libclamav_rust
error: failed to get `flate2` as a dependency of package `clamav_rust 
v0.0.1 (/export/home/defang/clamav-0.105.0/libclamav_rust)`

Caused by:
   failed to load source for dependency `flate2`

Caused by:
   Unable to update registry `https://github.com/rust-lang/crates.io-index`

Caused by:
   failed to update replaced source registry 
`https://github.com/rust-lang/crates.io-index`

Caused by:
   failed to parse manifest at 
`/export/home/defang/clamav-0.105.0/libclamav_rust/.cargo/vendor/nanorand/Cargo.toml`

Caused by:
   feature `edition2021` is required

   consider adding `cargo-features = ["edition2021"]` to the manifest
gmake[2]: *** 
[libclamav_rust/CMakeFiles/clamav_rust_target.dir/build.make:2935: 
libclamav_rust/x86_64-pc-solaris/release/libclamav_rust.a] Error 101
gmake[1]: *** [CMakeFiles/Makefile2:1592: 
libclamav_rust/CMakeFiles/clamav_rust_target.dir/all] Error 2
gmake: *** [Makefile:166: all] Error 2

Thanks,

Andrew

On 05/05/2022 00:53, Micah Snyder (micasnyd) wrote:
>
> Read this post online, at: 
> https://blog.clamav.net/2022/05/clamav-01050-01043-01036-released.html 
> <https://blog.clamav.net/2022/05/clamav-01050-01043-01036-released.html>
>
>
>
>       ClamAV 0.105.0, 0.104.3, 0.103.6 released
>
> The ClamAV 0.105.0 feature release is now stable and available for 
> download on ClamAV.net <https://www.clamav.net/downloads> or through 
> Docker Hub <https://hub.docker.com/r/clamav/clamav/>.
>
> Today, we're also publishing the 0.104.3 and 0.103.6 security patch 
> versions, including several CVE fixes. These fixes have also been 
> included in the 0.105 feature release. The source package and 
> installer packages for these versions can be found under the "Previous 
> Stable Releases" section of our Downloads 
> <https://www.clamav.net/downloads> page.
>
> As a reminder, the 0.105 and 0.104 release files now include the 
> following install packages:
>
>  *
>
>     x86_64 and i686 RPM packages are compatible with RPM-based Linux
>     distributions running glibc version 2.17 or newer.
>
>  *
>
>     x86_64 and i686 DEB packages are compatible with Debian-based
>     Linux distributions running glibc version 2.23 or newer.
>
>  *
>
>     An x86_64/ARM64 macOS installer package is compatible with Intel
>     and Apple M1 systems.
>
>  *
>
>     x64 and win32 Windows packages are compatible with Windows 7 and
>     newer.
>
> Keep reading to find out what is in each version.
>
>
-- 
**************************************************
**** At home during the crisis trying to work ****
**************************************************
****   Support Request tosg at dcs.bbk.ac.uk     ****
**************************************************
Andrew Watkins * Birkbeck, University of London * Computer Science *
*http://notallmicrosoft.blogspot.com  *
::e-mails are only read & actioned between 0900 and 1730 hours (Monday - Friday)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20220505/48fbb373/attachment.htm>


More information about the clamav-users mailing list