Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677872 - dev-util/cbindgen-0.7.1 - cargo: command not found
Summary: dev-util/cbindgen-0.7.1 - cargo: command not found
Status: RESOLVED INVALID
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-02-13 14:17 UTC by Martin Mokrejš
Modified: 2019-02-13 14:31 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 Martin Mokrejš 2019-02-13 14:17:45 UTC
>>> Emerging (1 of 1) dev-util/cbindgen-0.7.1::gentoo
 * ansi_term-0.11.0.crate BLAKE2B SHA512 size ;-) ...                                                                                                                    [ ok ]
 * atty-0.2.10.crate BLAKE2B SHA512 size ;-) ...                                                                                                                         [ ok ]
 * bitflags-1.0.3.crate BLAKE2B SHA512 size ;-) ...                                                                                                                      [ ok ]
 * cbindgen-0.7.1.crate BLAKE2B SHA512 size ;-) ...                                                                                                                      [ ok ]
 * cfg-if-0.1.3.crate BLAKE2B SHA512 size ;-) ...                                                                                                                        [ ok ]
 * clap-2.31.2.crate BLAKE2B SHA512 size ;-) ...                                                                                                                         [ ok ]
 * cloudabi-0.0.3.crate BLAKE2B SHA512 size ;-) ...                                                                                                                      [ ok ]
 * dtoa-0.4.2.crate BLAKE2B SHA512 size ;-) ...                                                                                                                          [ ok ]
 * fuchsia-zircon-0.3.3.crate BLAKE2B SHA512 size ;-) ...                                                                                                                [ ok ]
 * fuchsia-zircon-sys-0.3.3.crate BLAKE2B SHA512 size ;-) ...                                                                                                            [ ok ]
 * itoa-0.4.1.crate BLAKE2B SHA512 size ;-) ...                                                                                                                          [ ok ]
 * libc-0.2.41.crate BLAKE2B SHA512 size ;-) ...                                                                                                                         [ ok ]
 * log-0.4.1.crate BLAKE2B SHA512 size ;-) ...                                                                                                                           [ ok ]
 * proc-macro2-0.3.8.crate BLAKE2B SHA512 size ;-) ...                                                                                                                   [ ok ]
 * proc-macro2-0.4.4.crate BLAKE2B SHA512 size ;-) ...                                                                                                                   [ ok ]
 * quote-0.5.2.crate BLAKE2B SHA512 size ;-) ...                                                                                                                         [ ok ]
 * quote-0.6.3.crate BLAKE2B SHA512 size ;-) ...                                                                                                                         [ ok ]
 * rand-0.5.5.crate BLAKE2B SHA512 size ;-) ...                                                                                                                          [ ok ]
 * rand_core-0.2.1.crate BLAKE2B SHA512 size ;-) ...                                                                                                                     [ ok ]
 * redox_syscall-0.1.40.crate BLAKE2B SHA512 size ;-) ...                                                                                                                [ ok ]
 * redox_termios-0.1.1.crate BLAKE2B SHA512 size ;-) ...                                                                                                                 [ ok ]
 * remove_dir_all-0.5.1.crate BLAKE2B SHA512 size ;-) ...                                                                                                                [ ok ]
 * serde-1.0.64.crate BLAKE2B SHA512 size ;-) ...                                                                                                                        [ ok ]
 * serde_derive-1.0.58.crate BLAKE2B SHA512 size ;-) ...                                                                                                                 [ ok ]
 * serde_json-1.0.19.crate BLAKE2B SHA512 size ;-) ...                                                                                                                   [ ok ]
 * strsim-0.7.0.crate BLAKE2B SHA512 size ;-) ...                                                                                                                        [ ok ]
 * syn-0.13.11.crate BLAKE2B SHA512 size ;-) ...                                                                                                                         [ ok ]
 * syn-0.15.23.crate BLAKE2B SHA512 size ;-) ...                                                                                                                         [ ok ]
 * tempfile-3.0.3.crate BLAKE2B SHA512 size ;-) ...                                                                                                                      [ ok ]
 * termion-1.5.1.crate BLAKE2B SHA512 size ;-) ...                                                                                                                       [ ok ]
 * textwrap-0.9.0.crate BLAKE2B SHA512 size ;-) ...                                                                                                                      [ ok ]
 * toml-0.4.6.crate BLAKE2B SHA512 size ;-) ...                                                                                                                          [ ok ]
 * unicode-width-0.1.5.crate BLAKE2B SHA512 size ;-) ...                                                                                                                 [ ok ]
 * unicode-xid-0.1.0.crate BLAKE2B SHA512 size ;-) ...                                                                                                                   [ ok ]
 * vec_map-0.8.1.crate BLAKE2B SHA512 size ;-) ...                                                                                                                       [ ok ]
 * winapi-0.3.4.crate BLAKE2B SHA512 size ;-) ...                                                                                                                        [ ok ]
 * winapi-i686-pc-windows-gnu-0.4.0.crate BLAKE2B SHA512 size ;-) ...                                                                                                    [ ok ]
 * winapi-x86_64-pc-windows-gnu-0.4.0.crate BLAKE2B SHA512 size ;-) ...                                                                                                  [ ok ]
>>> Unpacking source...
 * Loading ansi_term-0.11.0.crate into Cargo registry ...                                                                                                                [ ok ]
 * Loading atty-0.2.10.crate into Cargo registry ...                                                                                                                     [ ok ]
 * Loading bitflags-1.0.3.crate into Cargo registry ...                                                                                                                  [ ok ]
 * Loading cbindgen-0.7.1.crate into Cargo registry ...                                                                                                                  [ ok ]
 * Loading cfg-if-0.1.3.crate into Cargo registry ...                                                                                                                    [ ok ]
 * Loading clap-2.31.2.crate into Cargo registry ...                                                                                                                     [ ok ]
 * Loading cloudabi-0.0.3.crate into Cargo registry ...                                                                                                                  [ ok ]
 * Loading dtoa-0.4.2.crate into Cargo registry ...                                                                                                                      [ ok ]
 * Loading fuchsia-zircon-0.3.3.crate into Cargo registry ...                                                                                                            [ ok ]
 * Loading fuchsia-zircon-sys-0.3.3.crate into Cargo registry ...                                                                                                        [ ok ]
 * Loading itoa-0.4.1.crate into Cargo registry ...                                                                                                                      [ ok ]
 * Loading libc-0.2.41.crate into Cargo registry ...                                                                                                                     [ ok ]
 * Loading log-0.4.1.crate into Cargo registry ...                                                                                                                       [ ok ]
 * Loading proc-macro2-0.3.8.crate into Cargo registry ...                                                                                                               [ ok ]
 * Loading proc-macro2-0.4.4.crate into Cargo registry ...                                                                                                               [ ok ]
 * Loading quote-0.5.2.crate into Cargo registry ...                                                                                                                     [ ok ]
 * Loading quote-0.6.3.crate into Cargo registry ...                                                                                                                     [ ok ]
 * Loading rand-0.5.5.crate into Cargo registry ...                                                                                                                      [ ok ]
 * Loading rand_core-0.2.1.crate into Cargo registry ...                                                                                                                 [ ok ]
 * Loading redox_syscall-0.1.40.crate into Cargo registry ...                                                                                                            [ ok ]
 * Loading redox_termios-0.1.1.crate into Cargo registry ...                                                                                                             [ ok ]
 * Loading remove_dir_all-0.5.1.crate into Cargo registry ...                                                                                                            [ ok ]
 * Loading serde-1.0.64.crate into Cargo registry ...                                                                                                                    [ ok ]
 * Loading serde_derive-1.0.58.crate into Cargo registry ...                                                                                                             [ ok ]
 * Loading serde_json-1.0.19.crate into Cargo registry ...                                                                                                               [ ok ]
 * Loading strsim-0.7.0.crate into Cargo registry ...                                                                                                                    [ ok ]
 * Loading syn-0.13.11.crate into Cargo registry ...                                                                                                                     [ ok ]
 * Loading syn-0.15.23.crate into Cargo registry ...                                                                                                                     [ ok ]
 * Loading tempfile-3.0.3.crate into Cargo registry ...                                                                                                                  [ ok ]
 * Loading termion-1.5.1.crate into Cargo registry ...                                                                                                                   [ ok ]
 * Loading textwrap-0.9.0.crate into Cargo registry ...                                                                                                                  [ ok ]
 * Loading toml-0.4.6.crate into Cargo registry ...                                                                                                                      [ ok ]
 * Loading unicode-width-0.1.5.crate into Cargo registry ...                                                                                                             [ ok ]
 * Loading unicode-xid-0.1.0.crate into Cargo registry ...                                                                                                               [ ok ]
 * Loading vec_map-0.8.1.crate into Cargo registry ...                                                                                                                   [ ok ]
 * Loading winapi-0.3.4.crate into Cargo registry ...                                                                                                                    [ ok ]
 * Loading winapi-i686-pc-windows-gnu-0.4.0.crate into Cargo registry ...                                                                                                [ ok ]
 * Loading winapi-x86_64-pc-windows-gnu-0.4.0.crate into Cargo registry ...                                                                                              [ ok ]
>>> Source unpacked in /scratch/var/tmp/portage/dev-util/cbindgen-0.7.1/work
>>> Preparing source in /scratch/var/tmp/portage/dev-util/cbindgen-0.7.1/work/cbindgen-0.7.1 ...
>>> Source prepared.
>>> Configuring source in /scratch/var/tmp/portage/dev-util/cbindgen-0.7.1/work/cbindgen-0.7.1 ...
>>> Source configured.
>>> Compiling source in /scratch/var/tmp/portage/dev-util/cbindgen-0.7.1/work/cbindgen-0.7.1 ...
/scratch/var/tmp/portage/dev-util/cbindgen-0.7.1/temp/environment: line 430: 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 674:  Called cargo_src_compile
 *   environment, line 430:  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 '/scratch/var/tmp/portage/dev-util/cbindgen-0.7.1/temp/build.log'.
 * The ebuild environment file is located at '/scratch/var/tmp/portage/dev-util/cbindgen-0.7.1/temp/environment'.
 * Working directory: '/scratch/var/tmp/portage/dev-util/cbindgen-0.7.1/work/cbindgen-0.7.1'
 * S: '/scratch/var/tmp/portage/dev-util/cbindgen-0.7.1/work/cbindgen-0.7.1'
Comment 1 Martin Mokrejš 2019-02-13 14:17:56 UTC
# emerge --info
Portage 2.3.43 (python 2.7.15-final-0, default/linux/amd64/17.0, gcc-8.2.0, glibc-2.28-r5, 4.20.7 x86_64)
=================================================================
System uname: Linux-4.20.7-x86_64-Intel-R-_Core-TM-_i7-7820HQ_CPU_@_2.90GHz-with-gentoo-2.6
KiB Mem:    32817140 total,  25958748 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 08 Feb 2019 20:30:01 +0000
Head commit of repository gentoo: 60ba15c39bc163ed8a3daee1b881b8859370f459
sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.9999::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8-r1::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo
dev-util/cmake:           3.13.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r3::gentoo
sys-devel/gcc:            6.4.0-r5::gentoo, 7.3.0-r6::gentoo, 8.2.0-r6::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo
Repositories:

gentoo
    location: /scratch/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

x-portage
    location: /scratch/usr/local/portage
    masters: gentoo
    priority: 0

layman
    location: /scratch/var/lib/layman
    masters: gentoo
    priority: 1

haskell
    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

vmware
    location: /var/lib/layman/vmware
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 skype-eula Nero-EULA-US AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x OPERA-2014 RAR"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=sandybridge -mtune=native -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=sandybridge -mtune=native -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=sandybridge -mtune=native -ftree-vectorize"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=sandybridge -mtune=native -ftree-vectorize"
GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ rsync://gentoo.mirror.dkm.cz/gentoo/ ftp://gentoo.mirror.web4u.cz/"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en_GB en cs"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/scratch/var/tmp"
USE="X acpi alsa amd64 amr apache apache2 asm avx avx2 berkdb bluetooth boost bzip2 cairo cgi cli coin consolekit cracklib crypt cryptlib cryptsetup cups cxx dbus device-mapper dhcp directfb drm dvd emboss encode fax fbcon ffmpeg flac fontconfig fortran gbm gcrypt gd gdbm geoip geolocation gimp glpk gmp gnutls gpm gps gtk hal hpijs hwdb iconv id3tag imaging innodb inotify java javafx javascript jce jpeg jpg js jscript keymap ladspa lapack laptop lcms libnotify libtirpc lm_sensors mad matroska mmx modemmanager multilib ncurses nfs nls nptl nptlonly nscd nss ntfsprogs objc ocr ogg opengl openmp openssl pam parport pbs pcre pcre16 pdf perl php png policykit polkit ppds pppd python qt3support qt4 qt5 readline rendering resolvconf romio scanner sctp seccomp server session slideshow sndfile sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification suexec svg syslog tcl tcpd threads tiff tk truetype udev unicode usb v4l v4l2 vim-syntax vnc wavpack wifi x11 xattr xcb xml xorg xrandr xv xvid xvmc zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="alias authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 navcom ntrip oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tnt tripmate tsip ublox fury geostar nmea0183 nmea2000 passthrough" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en en-US en-GB cs" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" OPENMPI_RM="pbs" PHP_TARGETS="php5-4 php5-5" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" RUBY_TARGETS="ruby21 ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vesa vmware fbdev intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Martin Mokrejš 2019-02-13 14:21:16 UTC
Seems I have no dev-tutil/cargo installed but the follwiong installs just the virtual package:

# emerge -1 cargo

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) virtual/cargo-1.32.0::gentoo
>>> Unpacking source...
>>> Source unpacked in /scratch/var/tmp/portage/virtual/cargo-1.32.0/work
>>> Preparing source in /scratch/var/tmp/portage/virtual/cargo-1.32.0/work ...
>>> Source prepared.
>>> Configuring source in /scratch/var/tmp/portage/virtual/cargo-1.32.0/work ...
>>> Source configured.
>>> Compiling source in /scratch/var/tmp/portage/virtual/cargo-1.32.0/work ...
>>> Source compiled.
>>> Test phase [not enabled]: virtual/cargo-1.32.0

>>> Install cargo-1.32.0 into /scratch/var/tmp/portage/virtual/cargo-1.32.0/image category virtual
>>> Completed installing cargo-1.32.0 into /scratch/var/tmp/portage/virtual/cargo-1.32.0/image

 * Final size of build directory: 4 KiB
 * Final size of installed tree:  4 KiB


>>> Installing (1 of 1) virtual/cargo-1.32.0::gentoo
>>> Auto-cleaning packages...



# emerge -uN1 dev-util/cargo

Calculating dependencies... done!
[ebuild  N     ] dev-util/cargo-0.30.0  USE="-debug -doc -libressl" ABI_X86="32 (64) (-x32)" 
[blocks B      ] dev-util/cargo ("dev-util/cargo" is blocking dev-lang/rust-1.32.0)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-util/cargo-0.30.0:0/0::gentoo, ebuild scheduled for merge) pulled in by
    dev-util/cargo

  (dev-lang/rust-1.32.0:stable/1.32::gentoo, installed) pulled in by
    =dev-lang/rust-1.32.0* required by (virtual/rust-1.32.0:0/0::gentoo, installed)
Comment 3 Ben Kohler gentoo-dev 2019-02-13 14:31:07 UTC
Cargo is now bundled with rust.  There was a postinstall message on your rust upgrade that you may have missed and can help:

WARN: postinst
cargo is now installed from dev-lang/rust{,-bin} instead of dev-util/cargo.
This might have resulted in a dangling symlink for /usr/bin/cargo on some
systems. This can be resolved by calling 'sudo eselect rust set rust-1.32.0'.

If this doesn't help, please reopen the bug