-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
Describe the bug
I compile the kernel of plucky (25.04) according to the instructions in the document, but it prompts an error.
I have installed dh_testdir and gawk. I suspect that these tools are not available in the chroot environment.
To Reproduce
$ git clone https://kernel.ubuntu.com/forgejo/kernel/kteam-tools.git
$ sudo apt install schroot devscripts ubuntu-dev-tools python3-ruamel.yaml sbuild python3-git
## plucky
$ kteam-tools/cranky/cranky chroot create-base "plucky"
$ kteam-tools/cranky/cranky chroot create-session plucky:linux
$ kteam-tools/cranky/cranky checkout plucky:linux-intel
cd canonical/kernel/ubuntu/plucky/linux
/home/cfel/kteam-tools/cranky/cranky fdr clean binaryExpected behavior
to build kernal
System report
cfel@srv-gpu-sz-5:~/canonical/kernel/ubuntu/plucky/linux$ /home/cfel/kteam-tools/cranky/cranky fdr clean binary
Running: "/home/cfel/kteam-tools/cranky/cranky" chroot run -- fakeroot debian/rules clean binary
/home/cfel/kteam-tools/cranky/crl/config.py:111: UserWarning: Missing configuration, using default config.
warnings.warn("Missing configuration, using default config.")
/bin/bash: line 1: gawk: command not found
/bin/bash -e debian/scripts/control-create linux-intel > debian/control
sed -i -e 's/PKGVER/6.14.0/g' \
-e 's/ABINUM/1006/g' \
-e 's/SRCPKGNAME/linux-intel/g' \
-e 's/=SERIES=/plucky/g' \
-e 's|\(^Maintainer:.*\)|\1\nXSC-Ubuntu-Compatible-Signing: ubuntu/4 pro/3|g' \
-e 's/\(^Build-Depends:$\)/\1\n\ gcc-14, gcc-14-aarch64-linux-gnu [arm64] <cross>, gcc-14-arm-linux-gnueabihf [armhf] <cross>, gcc-14-powerpc64le-linux-gnu [ppc64el] <cross>, gcc-14-riscv64-linux-gnu [riscv64] <cross>, gcc-14-s390x-linux-gnu [s390x] <cross>, gcc-14-x86-64-linux-gnu [amd64] <cross>,/g' \
debian/control
dh_testdir
/bin/bash: line 1: dh_testdir: command not found
make: *** [debian/rules:139: clean] Error 127Metadata
Metadata
Assignees
Labels
No labels