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

Bug 908073

Summary: app-text/mdbook-0.4.30 - error: process didnt exit successfully: rustc -vV (signal: 11, SIGSEGV: invalid memory reference)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Ionen Wolkens <ionen>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-text:mdbook-0.4.30:20230608-150319.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-06-08 15:43:18 UTC
>>> Preparing source in /var/tmp/portage/app-text/mdbook-0.4.30/work/mdBook-0.4.30 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-text/mdbook-0.4.30/work/mdBook-0.4.30 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-text/mdbook-0.4.30/work/mdBook-0.4.30 ...
 * cargo build --release
error: process didn't exit successfully: `rustc -vV` (signal: 11, SIGSEGV: invalid memory reference)
 * ERROR: app-text/mdbook-0.4.30::gentoo failed (compile phase):
 *   cargo build failed

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20230607-160427

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.5
Python 3.11.4
Available Rust versions:
  [1]   rust-1.69.0
  [2]   rust-bin-1.70.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.20.5 linux/amd64

  HEAD of ::gentoo
commit bf5ef12286dd41ab34d90673c2339cc5d8c69c11
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jun 8 14:33:50 2023 +0000

    2023-06-08 14:33:50 UTC

emerge -qpvO app-text/mdbook
[ebuild  N    ] app-text/mdbook-0.4.30  USE="-debug -doc"
Comment 1 Toralf Förster gentoo-dev 2023-06-08 15:43:19 UTC
Created attachment 863572 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-08 15:43:20 UTC
Created attachment 863573 [details]
app-text:mdbook-0.4.30:20230608-150319.log
Comment 3 Toralf Förster gentoo-dev 2023-06-08 15:43:21 UTC
Created attachment 863574 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-06-08 15:43:22 UTC
Created attachment 863575 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-06-08 15:43:23 UTC
Created attachment 863576 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-08 15:43:24 UTC
Created attachment 863577 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-06-08 15:43:24 UTC
Created attachment 863578 [details]
temp.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-06-08 16:29:41 UTC
known rust-bin issue
Comment 9 Toralf Förster gentoo-dev 2023-06-08 17:02:56 UTC
Hhm, the affected rust-bin package was unkeyworded already - and most of the tinderbox images downgraded rust-bin correctly before emerging other packages.
I do wonder if this package has all X-DEPEND set right ?
Comment 10 Ionen Wolkens gentoo-dev 2023-06-08 18:18:51 UTC
Nothing special here, it just uses the BDEPEND value set by the eclass and has none of its own.

Albeit given it has both rusts:

Available Rust versions:
  [1]   rust-1.69.0
  [2]   rust-bin-1.70.0 *

Maybe it thought it didn't need to downgrade rust-bin because you have rust-1.69 or something? (which satisfies the dependency)