** Description changed: [ SRU Justification ] [ Impact ] Unexpected bpftool dependency. The build profile spec `<!stage1> <cross>` means "!stage1 OR cross", while it actually wants "!stage1 AND cross", which should be `<!stage1 cross>` according to https://wiki.debian.org/BuildProfileSpec. + This can be reproduced by attempting to create source package under FOO-amd64 chroots: + ``` + $ fakeroot debian/rules clean && debuild --no-lintian -us -uc -S && git clean -d -f -x + ... + dpkg-checkbuilddeps: error: Unmet build dependencies: bpftool:native + dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting + dpkg-buildpackage: warning: (Use -d flag to override.) + debuild: fatal error at line 1184: + dpkg-buildpackage -us -uc -ui -S failed + ``` + [ Test Plan ] - This can be reproduced by attempting to create source package under FOO- - amd64 chroots. - + ``` $ git clone -o questing https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/questing linux $ cd linux $ git checkout questing/master-next $ fakeroot debian/rules clean && debuild --no-lintian -us -uc -S && git clean -d -f -x + ``` [ Where problems could occur ] Packaging typo. [ Other Info ] Assume this affects Questing and its derived kernel linux-oem-6.17. ========== original bug report ========== $ fakeroot debian/rules clean && debuild --no-lintian -us -uc -S && git clean -d -f -x ... dpkg-checkbuilddeps: error: Unmet build dependencies: bpftool:native dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.) debuild: fatal error at line 1184: dpkg-buildpackage -us -uc -ui -S failed This is a follow-up for commit "UBUNTU: [Packaging] Use host bpftool if doing cross-compiling" that added `bpftool:native <!stage1> <cross>` to Build-Depends of linux/questing, which is then copied into linux- oem-6.17/noble. See https://lists.ubuntu.com/archives/kernel- team/2025-August/162126.html
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2122310 Title: [SRU] Failed to create source package: Unmet build dependencies: bpftool:native Status in linux package in Ubuntu: In Progress Bug description: [ SRU Justification ] [ Impact ] Unexpected bpftool dependency. The build profile spec `<!stage1> <cross>` means "!stage1 OR cross", while it actually wants "!stage1 AND cross", which should be `<!stage1 cross>` according to https://wiki.debian.org/BuildProfileSpec. This can be reproduced by attempting to create source package under FOO-amd64 chroots: ``` $ fakeroot debian/rules clean && debuild --no-lintian -us -uc -S && git clean -d -f -x ... dpkg-checkbuilddeps: error: Unmet build dependencies: bpftool:native dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.) debuild: fatal error at line 1184: dpkg-buildpackage -us -uc -ui -S failed ``` [ Test Plan ] ``` $ git clone -o questing https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/questing linux $ cd linux $ git checkout questing/master-next $ fakeroot debian/rules clean && debuild --no-lintian -us -uc -S && git clean -d -f -x ``` [ Where problems could occur ] Packaging typo. [ Other Info ] Assume this affects Questing and its derived kernel linux-oem-6.17. ========== original bug report ========== $ fakeroot debian/rules clean && debuild --no-lintian -us -uc -S && git clean -d -f -x ... dpkg-checkbuilddeps: error: Unmet build dependencies: bpftool:native dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.) debuild: fatal error at line 1184: dpkg-buildpackage -us -uc -ui -S failed This is a follow-up for commit "UBUNTU: [Packaging] Use host bpftool if doing cross-compiling" that added `bpftool:native <!stage1> <cross>` to Build-Depends of linux/questing, which is then copied into linux-oem-6.17/noble. See https://lists.ubuntu.com/archives/kernel- team/2025-August/162126.html To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2122310/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp