[Bug 2130032] Re: libbpf-tools is not available on s390x

Andreas Hasenack 2130032 at bugs.launchpad.net
Fri Dec 12 19:40:45 UTC 2025


Debian experimental has 0.35.0+ds-2~exp1 which removes some of the s390x
restrictions, but not the d/rules setting (maybe a mistake and they just
didn't notice).

I pushed these changes to
https://code.launchpad.net/~ahasenack/ubuntu/+source/bpfcc/+git/bpfcc/+ref/enable-s390x-for-
libbpf-tools

If they build fine and autopkgtests pass (and I'll check s390x), I'll
sponsor.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2130032

Title:
  libbpf-tools is not available on s390x

Status in bpfcc package in Ubuntu:
  Triaged
Status in bpfcc package in Debian:
  New

Bug description:
  Upstream libbpf-tools supports s390x, but it's not enabled in Ubuntu.

  I've applied the following patches to bpfcc-0.31.0+ds (questing) and
  the resulting debs worked:

  --- debian/control.orig 2025-10-28 15:36:18.036218954 +0000
  +++ debian/control      2025-10-28 15:34:44.981585267 +0000
  @@ -99,7 +99,7 @@
    This package provides the command-line tools and examples
   
   Package: libbpf-tools
  -Architecture: amd64 arm64
  +Architecture: amd64 arm64 s390x
   Depends: ${misc:Depends},
    ${shlibs:Depends}
   Description: tools for BPF Compiler Collection based on libbpf (BTF and CO-RE)

  --- debian/rules.orig   2025-10-28 15:39:44.563040889 +0000
  +++ debian/rules        2025-10-28 15:39:49.668436889 +0000
  @@ -8,7 +8,7 @@
   
   # for building libbpf-tools on selective architecture
   include /usr/share/dpkg/architecture.mk
  -libbpf_tool_skip_arch := armhf s390x ppc64 riscv64
  +libbpf_tool_skip_arch := armhf ppc64 riscv64
   
   # Disable tests as they require root to run
   export DEB_BUILD_MAINT_OPTIONS=nocheck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bpfcc/+bug/2130032/+subscriptions




More information about the Ubuntu-sponsors mailing list