[Bug] scx build failure
### What happens?
The latest version of scx_git.full failed to build, but
`
services.scx = {
enable = true;
# package = pkgs.scx_git.full;
};
`
### What is expected to happen?
Expect direct build success
### If possible, please attach logs
```
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/gjfb1bh40nzqwmxjc1qsp1nf509nz3hh-source
source root is source
separate-debug-info: recording checksum of source files for debug support...
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
patching script interpreter paths in ./meson-scripts
./meson-scripts/bpftool_build_skel: interpreter directive changed from "#!/bin/bash" to "/nix/store/q7sqwn7i6w2b67adw0bmix29pxg85x3w-bash-5.3p3/bin/bash"
./meson-scripts/bpftool_build_skel_lib: interpreter directive changed from "#!/bin/bash" to "/nix/store/q7sqwn7i6w2b67adw0bmix29pxg85x3w-bash-5.3p3/bin/bash"
./meson-scripts/build_libbpf: interpreter directive changed from "#!/bin/bash" to "/nix/store/q7sqwn7i6w2b67adw0bmix29pxg85x3w-bash-5.3p3/bin/bash"
./meson-scripts/cargo_fetch: interpreter directive changed from "#!/bin/bash" to "/nix/store/q7sqwn7i6w2b67adw0bmix29pxg85x3w-bash-5.3p3/bin/bash"
./meson-scripts/compile_scx_lib: interpreter directive changed from "#!/bin/bash" to "/nix/store/q7sqwn7i6w2b67adw0bmix29pxg85x3w-bash-5.3p3/bin/bash"
./meson-scripts/get_bpftool_ver: interpreter directive changed from "#!/bin/bash" to "/nix/store/q7sqwn7i6w2b67adw0bmix29pxg85x3w-bash-5.3p3/bin/bash"
./meson-scripts/get_clang_ver: interpreter directive changed from "#!/bin/bash" to "/nix/store/q7sqwn7i6w2b67adw0bmix29pxg85x3w-bash-5.3p3/bin/bash"
./meson-scripts/get_sys_incls: interpreter directive changed from "#!/bin/bash" to "/nix/store/q7sqwn7i6w2b67adw0bmix29pxg85x3w-bash-5.3p3/bin/bash"
./meson-scripts/install_rust_user_scheds: interpreter directive changed from "#!/bin/bash" to "/nix/store/q7sqwn7i6w2b67adw0bmix29pxg85x3w-bash-5.3p3/bin/bash"
./meson-scripts/run_stress_tests: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/829wb290i87wngxlh404klwxql5v18p4-python3-3.13.7/bin/python3"
./meson-scripts/test_sched: interpreter directive changed from "#!/bin/bash" to "/nix/store/q7sqwn7i6w2b67adw0bmix29pxg85x3w-bash-5.3p3/bin/bash"
./meson-scripts/veristat: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/q7sqwn7i6w2b67adw0bmix29pxg85x3w-bash-5.3p3/bin/bash"
./meson-scripts/veristat_diff: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/q7sqwn7i6w2b67adw0bmix29pxg85x3w-bash-5.3p3/bin/bash"
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
mesonConfigurePhase flags: --prefix=/nix/store/1njvprry44awyhqhshbxz33p819y672k-scx_full-1.0.15 --libdir=/nix/store/1njvprry44awyhqhshbxz33p819y672k-scx_full-1.0.15/lib --libexecdir=/nix/store/1njvprry44awyhqhshbxz33p819y672k-scx_full-1.0.15/libexec --bindir=/nix/store/m0fkvyd48nnb9kg7almk6cwjmsjc93l0-scx_full-1.0.15-bin/bin --sbindir=/nix/store/m0fkvyd48nnb9kg7almk6cwjmsjc93l0-scx_full-1.0.15-bin/sbin --includedir=/nix/store/1njvprry44awyhqhshbxz33p819y672k-scx_full-1.0.15/include --mandir=/nix/store/m0fkvyd48nnb9kg7almk6cwjmsjc93l0-scx_full-1.0.15-bin/share/man --infodir=/nix/store/m0fkvyd48nnb9kg7almk6cwjmsjc93l0-scx_full-1.0.15-bin/share/info --localedir=/nix/store/1njvprry44awyhqhshbxz33p819y672k-scx_full-1.0.15/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Dopenrc=disabled -Dsystemd=disabled -Denable_rust=false -Doffline=true -Dbpf_clang=/nix/store/fbfcll570w9vimfbh41f9b4rrwnp33f3-clang-wrapper-19.1.7/bin/clang
[1mThe Meson build system[0m
Version: 1.9.0
Source dir: [1m/build/source[0m
Build dir: [1m/build/source/build[0m
Build type: [1mnative build[0m
Project name: [1msched_ext schedulers[0m
Project version: [1m1.0.15[0m
C compiler for the host machine: [1mclang[0m (clang 19.1.7 "clang version 19.1.7")
C linker for the host machine: [1mclang[0m ld.bfd 2.44
Host machine cpu family: [1mx86_64[0m
Host machine cpu: [1mx86_64[0m
Program [1m/nix/store/fbfcll570w9vimfbh41f9b4rrwnp33f3-clang-wrapper-19.1.7/bin/clang[0m found: [1;32mYES[0m (/nix/store/fbfcll570w9vimfbh41f9b4rrwnp33f3-clang-wrapper-19.1.7/bin/clang)
Program [1m/build/source/meson-scripts/veristat[0m found: [1;32mYES[0m (/build/source/meson-scripts/veristat)
Program [1m/build/source/meson-scripts/veristat_diff[0m found: [1;32mYES[0m (/build/source/meson-scripts/veristat_diff)
Program [1m/build/source/meson-scripts/run_stress_tests[0m found: [1;32mYES[0m (/build/source/meson-scripts/run_stress_tests)
Program [1m/build/source/meson-scripts/get_clang_ver[0m found: [1;32mYES[0m (/build/source/meson-scripts/get_clang_ver)
Program [1m/build/source/meson-scripts/get_bpftool_ver[0m found: [1;32mYES[0m (/build/source/meson-scripts/get_bpftool_ver)
Program [1m/build/source/meson-scripts/bpftool_build_skel[0m found: [1;32mYES[0m (/build/source/meson-scripts/bpftool_build_skel)
Program [1m/build/source/meson-scripts/bpftool_build_skel_lib[0m found: [1;32mYES[0m (/build/source/meson-scripts/bpftool_build_skel_lib)
Program [1m/build/source/meson-scripts/get_sys_incls[0m found: [1;32mYES[0m (/build/source/meson-scripts/get_sys_incls)
Program [1m/build/source/meson-scripts/test_sched[0m found: [1;32mYES[0m (/build/source/meson-scripts/test_sched)
Program [1m/build/source/meson-scripts/fetch_libbpf[0m found: [1;32mYES[0m (/build/source/meson-scripts/fetch_libbpf)
Program [1m/build/source/meson-scripts/build_libbpf[0m found: [1;32mYES[0m (/build/source/meson-scripts/build_libbpf)
Program [1m/build/source/meson-scripts/fetch_bpftool[0m found: [1;32mYES[0m (/build/source/meson-scripts/fetch_bpftool)
Program [1m/build/source/meson-scripts/build_bpftool[0m found: [1;32mYES[0m (/bin/bash /build/source/meson-scripts/build_bpftool)
Program [1m/build/source/meson-scripts/compile_scx_lib[0m found: [1;32mYES[0m (/build/source/meson-scripts/compile_scx_lib)
Program [1mjq[0m found: [1;32mYES[0m (/nix/store/7jvwwz45qap70i6asxzcnbshhz88a5sv-jq-1.8.1-bin/bin/jq)
Program [1mmake[0m found: [1;32mYES[0m (/nix/store/aqdvlkh0jdwkc22hh5vr9sl6qlw5ha74-gnumake-4.4.1/bin/make)
Program [1mnproc[0m found: [1;32mYES[0m (/nix/store/8ksax0a2mxglr5hlkj2dzl556jx7xqn5-coreutils-9.7/bin/nproc)
Program [1mprotoc[0m found: [1;32mYES[0m (/nix/store/64nnmwdia29gkgjg0y2yv0y51q3zix3i-protobuf-32.0/bin/protoc)
Program [1mllvm-strip[0m found: [1;32mYES[0m (/nix/store/nasb2hacyvikadjhr9qip2r8b72ir819-llvm-19.1.7/bin/llvm-strip)
Found pkg-config: [1;32mYES[0m [1m(/nix/store/05h9vfzhqf7l6w1xczixici2ldw9y788-pkg-config-wrapper-0.29.2/bin/pkg-config)[0m [1;34m0.29.2[0m
Run-time dependency [1mlibseccomp[0m found: [1;32mYES[0m [36m2.6.0[0m
[1mMessage:[0m Fetching libbpf repo
Library [1melf[0m found: [1;32mYES[0m
Library [1mz[0m found: [1;32mYES[0m
Library [1mzstd[0m found: [1;32mYES[0m
[1mMessage:[0m Fetching bpftool repo
[1mMessage:[0m cpu=x86_64 bpf_base_cflags=['-g', '-O2', '-Wall', '-Wno-compare-distinct-pointer-types', '-D__TARGET_ARCH_x86', '-mcpu=v3', '-mlittle-endian', '-idirafter /nix/store/5rp4imr3xn3qwwxpgmss2q9pj8bak9wy-jq-1.8.1-dev/include', '-idirafter /nix/store/r1zaays4p3m4xyqy2z7pn4ffrb4xlncc-zstd-1.5.7-dev/include', '-idirafter /nix/store/64nnmwdia29gkgjg0y2yv0y51q3zix3i-protobuf-32.0/include', '-idirafter /nix/store/bm5wn9cgfn4qlppjfvbk7pqxbwyajlpa-abseil-cpp-20250127.1/include', '-idirafter /nix/store/apw6wdwmscbr8a7skydak0nrqmmv7vl5-llvm-19.1.7-dev/include', '-idirafter /nix/store/rz4bmcm8dwsy7ylx6rhffkwkqn6n8srn-ncurses-6.5-dev/include', '-idirafter /nix/store/29mcvdnd9s6sp46cjmqm0pfg4xs56rik-zlib-1.3.1-dev/include', '-idirafter /nix/store/51jqbdsxfxqm8bxkdky0rpi242dyky1x-binutils-2.44-dev/include', '-idirafter /nix/store/aa6cdrhvgr5bfnad0d2f4nc6mnaj45aj-elfutils-0.193-dev/include', '-idirafter /nix/store/xkl7b7vd4d91ra6i49n3myp66kffda8v-readline-8.3p1-dev/include', '-idirafter /nix/store/829wb290i87wngxlh404klwxql5v18p4-python3-3.13.7/include', '-idirafter /nix/store/wi25yzr6aq8rgpx8pi4b8z16qifjfd79-flex-2.6.4/include', '-idirafter /nix/store/n7p5cdg3d55fr659qm8h0vynl3rcf26h-compiler-rt-libc-19.1.7-dev/include', '-idirafter /nix/store/vqgk9z45zziqvislng5mx1lsf6n79sy4-libseccomp-2.6.0-dev/include', '-idirafter /nix/store/fbfcll570w9vimfbh41f9b4rrwnp33f3-clang-wrapper-19.1.7/resource-root/include', '-idirafter /nix/store/gf3wh0x0rzb1dkx0wx1jvmipydwfzzd5-glibc-2.40-66-dev/include']
Run-time dependency [1mthreads[0m found: [1;32mYES[0m
Dependency [1mthreads[0m found: [1;32mYES[0m [36munknown[0m [1;34m(cached)[0m
Dependency [1msystemd[0m skipped: feature [1msystemd[0m disabled
Dependency [1mopenrc[0m skipped: feature [1mopenrc[0m disabled
Build targets in project: [1m22[0m
sched_ext schedulers [36m1.0.15[0m
[1mUser defined options[0m
auto_features: enabled
bindir : /nix/store/m0fkvyd48nnb9kg7almk6cwjmsjc93l0-scx_full-1.0.15-bin/bin
bpf_clang : /nix/store/fbfcll570w9vimfbh41f9b4rrwnp33f3-clang-wrapper-19.1.7/bin/clang
buildtype : plain
enable_rust : false
includedir : /nix/store/1njvprry44awyhqhshbxz33p819y672k-scx_full-1.0.15/include
infodir : /nix/store/m0fkvyd48nnb9kg7almk6cwjmsjc93l0-scx_full-1.0.15-bin/share/info
libdir : /nix/store/1njvprry44awyhqhshbxz33p819y672k-scx_full-1.0.15/lib
libexecdir : /nix/store/1njvprry44awyhqhshbxz33p819y672k-scx_full-1.0.15/libexec
localedir : /nix/store/1njvprry44awyhqhshbxz33p819y672k-scx_full-1.0.15/share/locale
mandir : /nix/store/m0fkvyd48nnb9kg7almk6cwjmsjc93l0-scx_full-1.0.15-bin/share/man
offline : true
openrc : disabled
prefix : /nix/store/1njvprry44awyhqhshbxz33p819y672k-scx_full-1.0.15
sbindir : /nix/store/m0fkvyd48nnb9kg7almk6cwjmsjc93l0-scx_full-1.0.15-bin/sbin
systemd : disabled
wrap_mode : nodownload
Found ninja-1.13.1 at /nix/store/7bgiqc706pzzb1gmwgpzdfg491w4a8nx-ninja-1.13.1/bin/ninja
mesonConfigurePhase: enabled\ parallel\ building
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: -j12
[1/46] Generating copy stress wrapper with a custom command
[2/46] Generating copy dsq_lat with a custom command
[3/46] Generating copy runq_lat with a custom command
[4/46] Generating bpftool_target with a custom command
FAILED: [code=127] bpftool_dummy.c.__PHONY__
/nix/store/ddx7976jyll30xjbasghv9jailswprcp-bash-interactive-5.3p3/bin/bash /bin/bash /build/source/meson-scripts/build_bpftool /nix/store/7jvwwz45qap70i6asxzcnbshhz88a5sv-jq-1.8.1-bin/bin/jq /nix/store/aqdvlkh0jdwkc22hh5vr9sl6qlw5ha74-gnumake-4.4.1/bin/make /build/source/build/bpftool/src 12
/nix/store/ddx7976jyll30xjbasghv9jailswprcp-bash-interactive-5.3p3/bin/bash: /bin/bash: No such file or directory
[5/46] Compiling C object cc_cflags_probe.p/meson-scripts_cc_cflags_probe.c.o
[6/46] Generating libbpf with a custom command
ninja: build stopped: subcommand failed.
```
### More information
_No response_
关闭于 2025-09-18 1 条评论