[Bug 2007308] [NEW] linux-tools-common: bpftool wrapper causes build failure for xdp-tools

Launchpad Bug Tracker 2007308 at bugs.launchpad.net
Wed Feb 22 08:26:19 UTC 2023


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

The linux-tools-common package appears to provide a shell script with a
wrapper that will execute the actual bpftool binary located in a
location like /usr/lib/linux-tools/6.1.0-14-generic/bpftool

This causes problems for Lunar builds of xdp-tools on Launchpad [0]
because there we appear to be running the build in a lunar container on
host with a 5.4.0 kernel.

Even if we were to install the linux-tools-6.1.0-14 package directly to
get the real bpftool binary, the provided wrapper would be unhelpful.

0: https://launchpad.net/ubuntu/+source/xdp-tools/1.3.0-2

For completeness/process I collected artifacts below from a Lunar LXD container running on a Focal host with a 5.4.0 kernel.
---
ProblemType: Bug
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access '/dev/snd/': No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.24.0-0ubuntu2
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
CRDA: N/A
CasperMD5CheckResult: unknown
DistroRelease: Ubuntu 23.04
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
 /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 5000M
 /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 480M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
Package: linux-tools-common 6.1.0-14.14
PackageArchitecture: all
PciMultimedia:

ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
ProcFB: 0 virtio_gpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-139-generic root=UUID=d7e84875-6ab0-4d9a-bd8c-8e452fa45621 ro console=tty1 console=ttyS0
ProcVersionSignature: Ubuntu 5.4.0-139.156-generic 5.4.224
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-139-generic N/A
 linux-backports-modules-5.4.0-139-generic  N/A
 linux-firmware                             N/A
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
Tags:  lunar uec-images package-from-proposed
Uname: Linux 5.4.0-139-generic x86_64
UpgradeStatus: Upgraded to lunar on 2023-02-14 (0 days ago)
UserGroups: N/A
WifiSyslog: Feb 14 19:24:18 kind-flea udevadm[83]: kernel: Failed to write 'add' to '/sys/module/kernel/uevent': Permission denied
_MarkForUpload: True
acpidump:

dmi.bios.date: 02/06/2015
dmi.bios.vendor: EFI Development Kit II / OVMF
dmi.bios.version: 0.0.0
dmi.board.name: LXD
dmi.board.vendor: Canonical Ltd.
dmi.board.version: pc-q35-7.1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-q35-7.1
dmi.modalias: dmi:bvnEFIDevelopmentKitII/OVMF:bvr0.0.0:bd02/06/2015:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-7.1:rvnCanonicalLtd.:rnLXD:rvrpc-q35-7.1:cvnQEMU:ct1:cvrpc-q35-7.1:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-7.1
dmi.sys.vendor: QEMU

** Affects: launchpad-buildd
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Affects: xdp-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected lunar package-from-proposed patch uec-images
-- 
linux-tools-common: bpftool wrapper causes build failure for xdp-tools
https://bugs.launchpad.net/bugs/2007308
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list