[PATCH 0/1][Questing] Failed to create source package: Unmet build dependencies: bpftool:native

You-Sheng Yang vicamo.yang at canonical.com
Mon Sep 8 06:44:55 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2122310

[ 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.

You-Sheng Yang (1):
  UBUNTU: [Packaging] fix build profile spec for bpftool

 debian.master/control.stub.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.51.0




More information about the kernel-team mailing list