Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 809212

Summary: dev-lang/rust-1.54.0 - The futex facility returned an unexpected error code.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Rust Project <rust>
Status: CONFIRMED ---    
Severity: normal CC: bugs, navi, randy, rust
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/rust-lang/rust/issues/93228
See Also: https://bugs.gentoo.org/show_bug.cgi?id=796164
https://bugs.gentoo.org/show_bug.cgi?id=799878
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-lang:rust-1.54.0:20210819-230639.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
build.log of dev-lang/rust-1.58.1

Description Toralf Förster gentoo-dev 2021-08-20 12:24:05 UTC
The futex facility returned an unexpected error code.
     Running `/var/tmp/portage/dev-lang/rust-1.54.0/work/rustc-1.54.0-src/build/bootstrap/debug/build/serde-8d91e3cd6c4a7400/build-script-build`
error: could not compile `walkdir`

Caused by:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20210819-210003

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
Python 3.9.6
Available Rust versions:
  (none found)

  HEAD of ::gentoo
commit 098fbad7d32721cdb15b37d2ff106ab8e49006d1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 19 21:21:41 2021 +0000

    2021-08-19 21:21:38 UTC

emerge -qpvO dev-lang/rust
[ebuild  N    ] dev-lang/rust-1.54.0  USE="rustfmt -clippy -debug -doc -miri -nightly -parallel-compiler -rls -system-bootstrap -system-llvm -test -verify-sig -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore"
Comment 1 Toralf Förster gentoo-dev 2021-08-20 12:24:06 UTC
Created attachment 734455 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-20 12:24:07 UTC
Created attachment 734458 [details]
dev-lang:rust-1.54.0:20210819-230639.log
Comment 3 Toralf Förster gentoo-dev 2021-08-20 12:24:09 UTC
Created attachment 734461 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-20 12:24:10 UTC
Created attachment 734464 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-20 12:24:11 UTC
Created attachment 734467 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-20 12:24:12 UTC
Created attachment 734470 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-08-20 12:24:14 UTC
Created attachment 734473 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2021-08-20 12:25:13 UTC
maybe another incarnation of bug 807832
Comment 9 Frederik Pfautsch 2022-01-22 14:54:09 UTC
I encountered this bug yesterday with dev-lang/rustc-1.58.1 (log attached). But as mentioned in bug 807832 another try after the system update had completed was successful. So not sure what caused it.
Comment 10 Frederik Pfautsch 2022-01-22 14:55:00 UTC
Created attachment 763250 [details]
build.log of dev-lang/rust-1.58.1
Comment 11 Georgy Yakovlev archtester gentoo-dev 2022-01-23 05:51:16 UTC
opened upstream issue
Comment 12 Georgy Yakovlev archtester gentoo-dev 2022-01-24 03:13:11 UTC
(In reply to Frederik Pfautsch from comment #9)
> I encountered this bug yesterday with dev-lang/rustc-1.58.1 (log attached).
> But as mentioned in bug 807832 another try after the system update had
> completed was successful. So not sure what caused it.

do you have any extra sandboxing enabled like bubblewrap or is it just plain portage with no extra layers or oddities?

can you please always paste emerge --info output? It's really helpful to see some information like libc version, sandbox version and some other stuff that helps us pinpoint the problem.
still ok to paste now, assuming you did not install new sanbox/libc since =)