The build fails, and what seems suspicious is here: >>> Configuring source in /var/tmp/portage/dev-util/cbindgen-0.6.7/work/cbindgen-0.6.7 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/cbindgen-0.6.7/work/cbindgen-0.6.7 ... /var/tmp/portage/dev-util/cbindgen-0.6.7/temp/environment: line 422: cargo: command not found I guess the "cargo" might be supposed to be included in "dev-lang/rust." Here's mine: [I] dev-lang/rust Available versions: (stable) 1.29.1-r1(stable/1.29) (~)1.29.2-r1(stable/1.29) (~)1.30.1-r1(stable/1.30) {cargo clippy debug doc +jemalloc libressl rls rustfmt system-llvm wasm ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="sse2" LLVM_TARGETS="AArch64 AMDGPU ARM BPF Hexagon Lanai MSP430 Mips NVPTX PowerPC Sparc SystemZ X86 XCore"} Installed versions: 1.30.1-r1(stable/1.30)(01:44:47 AM 11/24/2018)(jemalloc -clippy -debug -doc -libressl -rls -rustfmt -system-llvm -wasm ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="sse2" LLVM_TARGETS="AArch64 AMDGPU ARM BPF Hexagon MSP430 Mips NVPTX PowerPC Sparc SystemZ X86 XCore -Lanai") Homepage: https://www.rust-lang.org/ Description: Systems programming language from Mozilla However, I guess the package might forget to make a symbolic link of /usr/bin/cargo to /usr/bin/cargo-1.30.1. localhost /usr/src/linux # equery files dev-lang/rust | egrep "/bin/cargo" /usr/bin/cargo-1.30.1 After making the symbolic link, emerge -v cbindgen proceeded successfully.
*** This bug has been marked as a duplicate of bug 671182 ***