Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808165 - sys-process/below-0.6.3 - error: failed to run custom build command for below v0.3.0 (/var/tmp/portage/sys-process/below-0.3.0/wor
Summary: sys-process/below-0.6.3 - error: failed to run custom build command for below...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Hodges
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-14 07:22 UTC by Toralf Förster
Modified: 2023-07-03 10:52 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.95 KB, text/plain)
2021-08-14 07:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,101.62 KB, text/plain)
2021-08-14 07:22 UTC, Toralf Förster
Details
environment (environment,77.69 KB, text/plain)
2021-08-14 07:22 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.88 KB, application/x-bzip)
2021-08-14 07:22 UTC, Toralf Förster
Details
sys-process:below-0.3.0:20210813-215001.log (sys-process:below-0.3.0:20210813-215001.log,188.16 KB, text/plain)
2021-08-14 07:22 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.89 KB, application/x-bzip)
2021-08-14 07:22 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 2021-08-14 07:22:34 UTC
     Running `/var/tmp/portage/sys-process/below-0.3.0/work/below-0.3.0/target/release/build/below-fa440833ec5ffec8/build-script-build`
error: failed to run custom build command for `below v0.3.0 (/var/tmp/portage/sys-process/below-0.3.0/work/below-0.3.0/below)`

Caused by:
  process didn't exit successfully: `/var/tmp/portage/sys-process/below-0.3.0/work/below-0.3.0/target/release/build/below-fa440833ec5ffec8/build-script-build` (exit status: 101)
  --- stderr

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j3-20210812-230008

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.54.0
  [2]   rust-1.54.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 7f547865db08197a8c240868d0dd04736b1f5f56
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Aug 13 21:08:29 2021 +0000

    2021-08-13 21:08:28 UTC

emerge -qpvO sys-process/below
[ebuild  N    ] sys-process/below-0.3.0  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2021-08-14 07:22:35 UTC
Created attachment 732829 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-14 07:22:37 UTC
Created attachment 732832 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-14 07:22:38 UTC
Created attachment 732835 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-14 07:22:39 UTC
Created attachment 732838 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-14 07:22:41 UTC
Created attachment 732841 [details]
sys-process:below-0.3.0:20210813-215001.log
Comment 6 Toralf Förster gentoo-dev 2021-08-14 07:22:43 UTC
Created attachment 732844 [details]
temp.tar.bz2
Comment 7 Agostino Sarubbo gentoo-dev 2023-01-26 07:35:57 UTC
usr-merge_tinderbox has reproduced this issue with version 0.6.3 - Updating summary.
Comment 8 Georgy Yakovlev archtester gentoo-dev 2023-01-26 20:35:10 UTC
I see both rust and rust-bin in the history. could have happened that -bin was with rustfmt and thus satisfying the dep,  and other one got installed without it.
in toralf's portage conf I see
dev-lang/rust-bin                        clippy rls rustfmt

but I don't see one for rust (non bin)
and in the log file I see he installs rust-bin first
and then installs rust (and eselect will select it)

so this issue is caused by mismatched flags on rust and rust-bin, one of those satisfies virtual/rust[rustfmt] but other one without rustfmt is actually eselected at build time.


idk how ago's tinderbox reproduced this, it had to hit exact same situation.

more likely it hit this:
https://github.com/libbpf/libbpf-rs/issues/337

but we'll never know, as there are no logs or configuration attached, and bug matching algo is unknown.