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

Bug 676944

Summary: dev-util/cbindgen-0.7.1 doesn't compile
Product: Gentoo Linux Reporter: Herbert Wantesh <rauchwolke>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: compile log

Description Herbert Wantesh 2019-01-30 18:19:45 UTC
Created attachment 563328 [details]
compile log

Compile breaks with:

/tmp/tmerge/portage/dev-util/cbindgen-0.7.1/temp/environment: line 426: 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 670:  Called cargo_src_compile
 *   environment, line 426:  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 '/tmp/portage/dev-util:cbindgen-0.7.1:20190130-181451.log'.
 * For convenience, a symlink to the build log is located at '/tmp/tmerge/portage/dev-util/cbindgen-0.7.1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/tmerge/portage/dev-util/cbindgen-0.7.1/temp/environment'.
 * Working directory: '/tmp/tmerge/portage/dev-util/cbindgen-0.7.1/work/cbindgen-0.7.1'
 * S: '/tmp/tmerge/portage/dev-util/cbindgen-0.7.1/work/cbindgen-0.7.1'


there is also no app cargo in my pc but rust includes

# qlist rust|grep -i bin/cargo
/usr/bin/cargo-1.32.0
Comment 1 Herbert Wantesh 2019-01-30 18:22:41 UTC
fixed with eselect rust set ...
Comment 2 Brian Evans (RETIRED) gentoo-dev 2019-01-30 18:23:36 UTC

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