Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655792 - dev-util/cargo-0.27.0 : !!! dobin: target/release/cargo does not exist
Summary: dev-util/cargo-0.27.0 : !!! dobin: target/release/cargo does not exist
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-15 15:46 UTC by Toralf Förster
Modified: 2019-12-27 03:06 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.64 KB, text/plain)
2018-05-15 15:46 UTC, Toralf Förster
Details
dev-util:cargo-0.27.0:20180515-013650.log (dev-util:cargo-0.27.0:20180515-013650.log,34.24 KB, text/plain)
2018-05-15 15:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,315.60 KB, text/plain)
2018-05-15 15:46 UTC, Toralf Förster
Details
environment (environment,75.92 KB, text/plain)
2018-05-15 15:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.04 KB, application/x-bzip)
2018-05-15 15:46 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.82 KB, application/x-bzip)
2018-05-15 15:46 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.47 KB, application/x-bzip)
2018-05-15 15:46 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-05-15 15:46:02 UTC
>>> Install cargo-0.27.0 into /var/tmp/portage/dev-util/cargo-0.27.0/image/ category dev-util
!!! dobin: target/release/cargo does not exist
 * ERROR: dev-util/cargo-0.27.0::gentoo failed (install phase):
 *   dobin failed
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_libressl_20180506-210133

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpv dev-util/cargo
[ebuild  N    ] dev-util/cargo-0.27.0  USE="libressl -debug -doc"
Comment 1 Toralf Förster gentoo-dev 2018-05-15 15:46:05 UTC
Created attachment 531518 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-15 15:46:09 UTC
Created attachment 531520 [details]
dev-util:cargo-0.27.0:20180515-013650.log
Comment 3 Toralf Förster gentoo-dev 2018-05-15 15:46:12 UTC
Created attachment 531522 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-05-15 15:46:15 UTC
Created attachment 531524 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-05-15 15:46:18 UTC
Created attachment 531526 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-15 15:46:22 UTC
Created attachment 531528 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-05-15 15:46:25 UTC
Created attachment 531530 [details]
temp.tbz2
Comment 8 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-05-15 18:25:56 UTC
I think this might be due to libressl. It would be good if you could check:

- does the previous version build with libressl (cargo-0.26.0)?
- does this version build correctly without libressl?
Comment 9 Toralf Förster gentoo-dev 2018-05-15 18:29:47 UTC
But it builds fine at another LibreSSL image:

/home/tinderbox/run/17.0-developer_libressl_20180512-235059/var/log/emerge.log
Tue May 15 13:55:16 2018 >>> dev-util/cargo-0.27.0
cargo: Tue May 15 13:42:53 2018: 12 minutes, 23 seconds
cargo: 1 times
Comment 10 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-05-15 18:56:09 UTC
So it's got to have something to do with the hardened or no-multilib part? I'm happy to send a bug report upstream, but I think it needs to be a bit more targeted.
Comment 11 Ian Moone 2018-05-16 02:39:29 UTC
It fails due to LibreSSL 2.7.x isn't? Same as https://bugs.gentoo.org/655098

libgit2-sys 0.7.1 is still incompatible with LibreSSL 2.7.x.
Comment 12 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-05-16 09:02:36 UTC
Then I'm confused why it builds fine in Toralf's other libressl image.
Comment 13 Ian Moone 2018-05-17 08:48:07 UTC
Probably because the "other image" was using LibreSSL <= 2.6.x.
Comment 14 Toralf Förster gentoo-dev 2018-05-17 13:02:19 UTC
(In reply to Ian Moone from comment #13)
Indeed:

/home/tinderbox/run/17.0-developer_libressl_20180512-235059/var/log/emerge.log
Sun May 13 04:15:46 2018 >>> dev-libs/libressl-2.6.4
libressl: Sun May 13 04:11:44 2018: 4 minutes, 2 seconds
libressl: 1 times
Comment 15 Ulenrich 2018-06-13 11:22:42 UTC
(In reply to Ian Moone from comment #11)
> It fails due to LibreSSL 2.7.x isn't? Same as https://bugs.gentoo.org/655098
> 
> libgit2-sys 0.7.1 is still incompatible with LibreSSL 2.7.x.

Bug 655098 solves using
libgit2-sys-0.7.3
as I have tested https://bugs.gentoo.org/655098#c16
Comment 16 Pierre-Yves Bonnetain-Nesterenko 2018-08-08 06:39:36 UTC
We have the same error upgrading from cargo-0.28 to 0.29

!!! dobin: target/release/cargo does not exist
 * ERROR: dev-util/cargo-0.29.0::gentoo failed (install phase):
 *   dobin failed

on a system without libressl

emerge -qpv dev-util/cargo
[ebuild     U ] dev-util/cargo-0.29.0 [0.28.0] USE="-debug -doc -libressl"
Comment 17 Frank Hellmuth 2018-09-17 17:02:31 UTC
(In reply to Pierre-Yves Bonnetain-Nesterenko from comment #16)

Take a look if you have rust-bin installed and selected:

# eselect rust list
Available Rust versions:
  [1]   rust-1.28.0
  [2]   rust-bin-1.25.0 *

Setting the default to rust-1.28.0 solved that problem for me:

# eselect rust set 1
Comment 18 Pierre-Yves Bonnetain-Nesterenko 2018-10-19 06:43:35 UTC
(In reply to Frank Hellmuth from comment #17)
> (In reply to Pierre-Yves Bonnetain-Nesterenko from comment #16)
> 
> Take a look if you have rust-bin installed and selected:
> 
> # eselect rust list
> Available Rust versions:
>   [1]   rust-1.28.0
>   [2]   rust-bin-1.25.0 *
> 
> Setting the default to rust-1.28.0 solved that problem for me:
> 
> # eselect rust set 1

Thanks. It did the trick (a few weeks ago, I'm late in my thanks).
Comment 19 Georgy Yakovlev archtester gentoo-dev 2019-12-27 03:06:47 UTC
closing, as package is gone.
dev-lang/rust supports libressl and ships cargo.