ITADN

[Bug] scx build failure

#1190Closedmeflove 创建于 2025-09-12
M
meflovecommented
### 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 The Meson build system Version: 1.9.0 Source dir: /build/source Build dir: /build/source/build Build type: native build Project name: sched_ext schedulers Project version: 1.0.15 C compiler for the host machine: clang (clang 19.1.7 "clang version 19.1.7") C linker for the host machine: clang ld.bfd 2.44 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program /nix/store/fbfcll570w9vimfbh41f9b4rrwnp33f3-clang-wrapper-19.1.7/bin/clang found: YES (/nix/store/fbfcll570w9vimfbh41f9b4rrwnp33f3-clang-wrapper-19.1.7/bin/clang) Program /build/source/meson-scripts/veristat found: YES (/build/source/meson-scripts/veristat) Program /build/source/meson-scripts/veristat_diff found: YES (/build/source/meson-scripts/veristat_diff) Program /build/source/meson-scripts/run_stress_tests found: YES (/build/source/meson-scripts/run_stress_tests) Program /build/source/meson-scripts/get_clang_ver found: YES (/build/source/meson-scripts/get_clang_ver) Program /build/source/meson-scripts/get_bpftool_ver found: YES (/build/source/meson-scripts/get_bpftool_ver) Program /build/source/meson-scripts/bpftool_build_skel found: YES (/build/source/meson-scripts/bpftool_build_skel) Program /build/source/meson-scripts/bpftool_build_skel_lib found: YES (/build/source/meson-scripts/bpftool_build_skel_lib) Program /build/source/meson-scripts/get_sys_incls found: YES (/build/source/meson-scripts/get_sys_incls) Program /build/source/meson-scripts/test_sched found: YES (/build/source/meson-scripts/test_sched) Program /build/source/meson-scripts/fetch_libbpf found: YES (/build/source/meson-scripts/fetch_libbpf) Program /build/source/meson-scripts/build_libbpf found: YES (/build/source/meson-scripts/build_libbpf) Program /build/source/meson-scripts/fetch_bpftool found: YES (/build/source/meson-scripts/fetch_bpftool) Program /build/source/meson-scripts/build_bpftool found: YES (/bin/bash /build/source/meson-scripts/build_bpftool) Program /build/source/meson-scripts/compile_scx_lib found: YES (/build/source/meson-scripts/compile_scx_lib) Program jq found: YES (/nix/store/7jvwwz45qap70i6asxzcnbshhz88a5sv-jq-1.8.1-bin/bin/jq) Program make found: YES (/nix/store/aqdvlkh0jdwkc22hh5vr9sl6qlw5ha74-gnumake-4.4.1/bin/make) Program nproc found: YES (/nix/store/8ksax0a2mxglr5hlkj2dzl556jx7xqn5-coreutils-9.7/bin/nproc) Program protoc found: YES (/nix/store/64nnmwdia29gkgjg0y2yv0y51q3zix3i-protobuf-32.0/bin/protoc) Program llvm-strip found: YES (/nix/store/nasb2hacyvikadjhr9qip2r8b72ir819-llvm-19.1.7/bin/llvm-strip) Found pkg-config: YES (/nix/store/05h9vfzhqf7l6w1xczixici2ldw9y788-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency libseccomp found: YES 2.6.0 Message: Fetching libbpf repo Library elf found: YES Library z found: YES Library zstd found: YES Message: Fetching bpftool repo Message: 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 threads found: YES Dependency threads found: YES unknown (cached) Dependency systemd skipped: feature systemd disabled Dependency openrc skipped: feature openrc disabled Build targets in project: 22 sched_ext schedulers 1.0.15 User defined options 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 条评论