Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676978 - cbindgen-0.7.1: cargo: command not found
Summary: cbindgen-0.7.1: cargo: command not found
Status: RESOLVED DUPLICATE of bug 671182
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-31 08:11 UTC by Pavel Kozlov
Modified: 2019-01-31 13:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Kozlov 2019-01-31 08:11:13 UTC
>>> Source unpacked in /var/tmp/portage/dev-util/cbindgen-0.7.1/work
>>> Preparing source in /var/tmp/portage/dev-util/cbindgen-0.7.1/work/cbindgen-0.7.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/cbindgen-0.7.1/work/cbindgen-0.7.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-util/cbindgen-0.7.1/work/cbindgen-0.7.1 ...
/var/tmp/portage/dev-util/cbindgen-0.7.1/temp/environment: line 396: cargo: command not found
 * ERROR: dev-util/cbindgen-0.7.1::gentoo failed (compile phase):
 *   cargo build failed
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_compile
 *   environment, line 640:  Called cargo_src_compile
 *   environment, line 396:  Called die
 * The specific snippet of code:
 *       cargo build -j $(makeopts_jobs) $(usex debug "" --release) "$@" || die "cargo build failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-util/cbindgen-0.7.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/cbindgen-0.7.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/cbindgen-0.7.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/cbindgen-0.7.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/cbindgen-0.7.1/work/cbindgen-0.7.1'
 * S: '/var/tmp/portage/dev-util/cbindgen-0.7.1/work/cbindgen-0.7.1'

Perhaps cbindgen could have missing compile-time dependency, but also I have noticed that cargo and rust packages are installed.

rust-1.32.0, cargo-1.32.0

Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-7.3.0, glibc-2.27-r6, 4.20.4-gentoo x86_64)
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::rindeal
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Comment 1 josef.95 2019-01-31 08:22:46 UTC
Hi, set eselect rust new
should probably help, see Bug 671182
Comment 2 Brian Evans (RETIRED) gentoo-dev 2019-01-31 13:49:30 UTC

*** This bug has been marked as a duplicate of bug 671182 ***