Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953423 - sys-kernel/scx-1.0.10: install fails while running meson-scripts/install_rust_user_scheds
Summary: sys-kernel/scx-1.0.10: install fails while running meson-scripts/install_rust...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: Violet Purcell
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-04-08 11:34 UTC by Joungmin Lee
Modified: 2025-04-10 22:26 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,29.83 KB, text/x-log)
2025-04-08 11:34 UTC, Joungmin Lee
Details
emerge info (emerge_info,7.40 KB, text/plain)
2025-04-08 11:34 UTC, Joungmin Lee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joungmin Lee 2025-04-08 11:34:28 UTC
Created attachment 924088 [details]
build.log

emerging scx-1.0.10 fails with the following error. Refer to the attachment for the full emerge log.

---
Running custom install script '/var/tmp/portage/sys-kernel/scx-1.0.10/work/scx-1.0.10/meson-scripts/install_rust_user_scheds'
ls: cannot access '/var/tmp/portage/sys-kernel/scx-1.0.10/work/scx-1.0.10-build/x86_64-unknown-linux-gnu/*/scx_bpfland': No such file or directory
FAILED: install script '/var/tmp/portage/sys-kernel/scx-1.0.10/work/scx-1.0.10/meson-scripts/install_rust_user_scheds' failed with exit code 2.
Comment 1 Joungmin Lee 2025-04-08 11:34:59 UTC
Created attachment 924089 [details]
emerge info

emerge information on my machine
Comment 2 Violet Purcell 2025-04-09 18:06:44 UTC
This issue was caused by https://github.com/gentoo/gentoo/commit/6937fcb873120179a5bb32055b26612ac4a72c52. The sed in src_prepare needs to be updated to only be run when tc-is-cross-compiler. I will update https://github.com/gentoo/gentoo/pull/41462 with this fix later today since it still hasn't been merged.
Comment 3 Larry the Git Cow gentoo-dev 2025-04-10 22:26:33 UTC
The bug has been closed via the following commit(s):

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

commit b7174b58acae7f89833644d337240b61dd34d2ff
Author:     Violet Purcell <vimproved@inventati.org>
AuthorDate: 2025-04-10 19:31:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-10 22:25:48 +0000

    sys-kernel/scx: only inject abi for cargo output when cross-compiling
    
    Closes: https://bugs.gentoo.org/953423
    Signed-off-by: Violet Purcell <vimproved@inventati.org>
    Closes: https://github.com/gentoo/gentoo/pull/41462
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-kernel/scx/scx-1.0.10.ebuild | 10 ++++++----
 sys-kernel/scx/scx-1.0.11.ebuild | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)