Compiling num-traits v0.1.43 Compiling rand_core v0.5.1 error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/bhcomp.rs:62:24 | 62 | let bytes = bits / Limb::BITS; | ^^^^^^^^^^ expected `usize`, found `u32` ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib-j3_debug-20210620-175917 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.9.5 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.53.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit fbc6683cacf1e97fa9d210d766187feedd5d0d18 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Jun 21 12:36:38 2021 +0000 2021-06-21 12:36:36 UTC emerge -qpvO net-analyzer/suricata [ebuild N ] net-analyzer/suricata-6.0.2 USE="af-packet detection nfqueue -bpf -control-socket -cuda -debug -geoip -hardened -logrotate -lua -lz4 -nflog -redis -systemd -test" LUA_SINGLE_TARGET="lua5-1 -luajit" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"
Created attachment 717459 [details] emerge-info.txt
Created attachment 717462 [details] emerge-history.txt
Created attachment 717465 [details] environment
Created attachment 717468 [details] etc.portage.tar.bz2
Created attachment 717471 [details] logs.tar.bz2
Created attachment 717474 [details] net-analyzer:suricata-6.0.2:20210621-135259.log
Created attachment 717477 [details] temp.tar.bz2
For the record, suricata-5 is unaffected because it doesn't bundle this module.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba3e306a8c728ad5eaf3e2577859e57820bd28e commit 0ba3e306a8c728ad5eaf3e2577859e57820bd28e Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-06-21 14:41:53 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-06-21 14:54:16 +0000 net-analyzer/suricata-6.0.2: restrict Rust version The bundled lexical-core-0.6.7 is not compatible with rust-1.53 due to stabilisation of <integer>::BITS, see https://github.com/rust-lang/rust/issues/81654 . Already fixed by lexical-core upstream (in version 0.7.5) but I haven't had much luck backporting this to 0.6.7. Suricata-5 is not affected because it doesn't use this Rust module. Closes: https://bugs.gentoo.org/797370 Signed-off-by: Marek Szuba <marecki@gentoo.org> net-analyzer/suricata/suricata-6.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
*** Bug 797382 has been marked as a duplicate of this bug. ***
Alas, this is not ready yet - as ago's tinderbox has just shown, simply limiting the version of virtual/rust is not enough because if both dev-lang/rust-bin and dev-lang/rust are installed , limiting the virtual version only downgrades one of them.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a2e9ee518178d40409d8d27384ac0c84b2b3ae9 commit 7a2e9ee518178d40409d8d27384ac0c84b2b3ae9 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-06-21 15:59:50 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-06-21 16:03:38 +0000 net-analyzer/suricata: limit version of currently selected rust While simply limiting the version of virtual/rust in dependencies is likely enough for most users at present, if someone has got both rust and rust-bin emerged the virtual will only affect the version of one of them - and it is possible that the version currently set as active by "eselect rust" is not a supported one. Closes: https://bugs.gentoo.org/797370 Signed-off-by: Marek Szuba <marecki@gentoo.org> net-analyzer/suricata/suricata-6.0.2.ebuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)