Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691752 - dev-lang/rust-1.36.0 : RuntimeError: failed to run: /var/tmp/portage/dev-lang/rust-1.36.0/work/rustc-1.36.0-src/build/bootstrap/debug/bootstrap build -vv --config=/var/tmp/portage/dev-lang/rust-1.36.0/work/rustc-1.36.0-src/
Summary: dev-lang/rust-1.36.0 : RuntimeError: failed to run: /var/tmp/portage/dev-lang...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LibreSSL
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-08 17:19 UTC by Toralf Förster
Modified: 2019-08-16 05:48 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.84 KB, text/plain)
2019-08-08 17:19 UTC, Toralf Förster
Details
dev-lang:rust-1.36.0:20190807-221656.log.bz2 (dev-lang:rust-1.36.0:20190807-221656.log.bz2,51.04 KB, application/x-bzip)
2019-08-08 17:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,178.77 KB, text/plain)
2019-08-08 17:19 UTC, Toralf Förster
Details
environment (environment,137.45 KB, text/plain)
2019-08-08 17:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.44 KB, application/x-bzip)
2019-08-08 17:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.86 KB, application/x-bzip)
2019-08-08 17:19 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,82.52 KB, application/x-bzip)
2019-08-08 17:19 UTC, Toralf Förster
Details
updated libressl-3 support (0060-Update-libressl-support.patch,9.94 KB, patch)
2019-08-16 04:36 UTC, Jory A. Pratt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-08-08 17:19:00 UTC
  File "/var/tmp/portage/dev-lang/rust-1.36.0/work/rustc-1.36.0-src/src/bootstrap/bootstrap.py", line 141, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /var/tmp/portage/dev-lang/rust-1.36.0/work/rustc-1.36.0-src/build/bootstrap/debug/bootstrap build -vv --config=/var/tmp/portage/dev-lang/rust-1.36.0/work/rustc-1.36.0-src/config.toml -j1 --exclude src/tools/miri
 * ERROR: dev-lang/rust-1.36.0::gentoo failed (compile phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl-20190804-112242

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
Available Rust versions:
  (none found)
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

emerge -qpvO dev-lang/rust
--- Invalid atom in /etc/portage/package.accept_keywords/00unstable: sys-libs/glibc-2.30
Comment 1 Toralf Förster gentoo-dev 2019-08-08 17:19:03 UTC
Created attachment 586146 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-08 17:19:06 UTC
Created attachment 586148 [details]
dev-lang:rust-1.36.0:20190807-221656.log.bz2
Comment 3 Toralf Förster gentoo-dev 2019-08-08 17:19:08 UTC
Created attachment 586150 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-08-08 17:19:11 UTC
Created attachment 586152 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-08-08 17:19:14 UTC
Created attachment 586154 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-08-08 17:19:17 UTC
Created attachment 586156 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-08-08 17:19:19 UTC
Created attachment 586158 [details]
temp.tbz2
Comment 8 Georgy Yakovlev archtester gentoo-dev 2019-08-08 18:43:31 UTC
re-assigning to libressl@

Can you please take a look at the patch and update it to work with 3.0.0 ?
Comment 9 Jory A. Pratt gentoo-dev 2019-08-16 04:36:00 UTC
Created attachment 587026 [details, diff]
updated libressl-3 support

Feel free to comment out original libressl patch and test new one.
Comment 10 Jory A. Pratt gentoo-dev 2019-08-16 05:11:00 UTC
(In reply to Jory A. Pratt from comment #9)
> Created attachment 587026 [details, diff] [details, diff]
> updated libressl-3 support
> 
> Feel free to comment out original libressl patch and test new one.

just throw the patch into /etc/portage/patches/dev-lang/rust and compile. You will need the 2.9 patch applied to apply the update to libressl-3 patch.
Comment 11 Larry the Git Cow gentoo-dev 2019-08-16 05:45:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b44e684e81dac3f8c86ec1fb2a4e9984f7588001

commit b44e684e81dac3f8c86ec1fb2a4e9984f7588001
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-08-16 05:35:34 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-08-16 05:45:30 +0000

    dev-lang/rust: add libressl3 patch for 1.37.0
    
    Thanks-to: Jory Pratt <anarchy@gentoo.org>
    Closes: https://bugs.gentoo.org/691752
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-lang/rust/rust-1.37.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f393c301d44f175e4e42c88529d61180df41443

commit 7f393c301d44f175e4e42c88529d61180df41443
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-08-16 05:33:45 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-08-16 05:45:21 +0000

    dev-lang/rust: add libressl3 patch for 1.36.0
    
    Thanks-to: Jory Pratt <anarchy@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/12682
    Bug: https://bugs.gentoo.org/691752
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-lang/rust/files/1.36.0-libressl3.patch | 72 ++++++++++++++++++++++++++++++
 dev-lang/rust/rust-1.36.0.ebuild           |  1 +
 2 files changed, 73 insertions(+)
Comment 12 Georgy Yakovlev archtester gentoo-dev 2019-08-16 05:48:53 UTC
just a note, patch was NOT backported to stable 1.34.2 or 1.35.0