Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 802603 - sys-process/below-0.2.0 fails to compile
Summary: sys-process/below-0.2.0 fails to compile
Status: RESOLVED FIXED
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-07-17 11:46 UTC by Agostino Sarubbo
Modified: 2021-07-17 21:02 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,255.20 KB, text/plain)
2021-07-17 11:46 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-07-17 11:46:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-process/below-0.2.0 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-07-17 11:46:49 UTC
Created attachment 724537 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-07-17 11:46:50 UTC
Possible context of error(s):

  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Build("No such file or directory (os error 2)")', resctl/below/build.rs:19:47
error: failed to run custom build command for `below v0.2.0 (/var/tmp/portage/sys-process/below-0.2.0/work/below-0.2.0/resctl/below)`
Comment 3 Daniel Hodges 2021-07-17 14:45:24 UTC
Trying to reproduce, the error is from the following file not being present in the source directory:

https://github.com/facebookincubator/below/blob/v0.2.0/resctl/below/src/bpf/exitstat.bpf.c

Download the source directly seems to indicate this file exists:

wget -q https://github.com/facebookincubator/below/archive/refs/tags/v0.2.0.tar.gz && tar xvf v0.2.0.tar.gz 1>/dev/null && stat below-0.2.0/resctl/below/src/bpf/exitstat.bpf.c
  File: below-0.2.0/resctl/below/src/bpf/exitstat.bpf.c
  Size: 3364            Blocks: 8          IO Block: 4096   regular file
Device: 1ch/28d Inode: 15325117    Links: 1
Access: (0664/-rw-rw-r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2021-07-17 10:44:13.427968664 -0400
Modify: 2021-06-15 15:21:49.000000000 -0400
Change: 2021-07-17 10:44:13.427968664 -0400
 Birth: 2021-07-17 10:44:13.427968664 -0400
Comment 4 Larry the Git Cow gentoo-dev 2021-07-17 21:02:00 UTC
The bug has been closed via the following commit(s):

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

commit f743fca91604d5b3290f6a7bc9462fdb4567aa13
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2021-07-17 20:57:43 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2021-07-17 21:01:56 +0000

    sys-process/below: add missing clang BDEPEND
    
    Closes: https://bugs.gentoo.org/802603
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 sys-process/below/{below-0.2.0.ebuild => below-0.2.0-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)