← Back to team overview

debcrafters-packages team mailing list archive

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

 

Public bug reported:

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

** Affects: bpfcc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to bpfcc in Ubuntu.
https://bugs.launchpad.net/bugs/2130032

Title:
  libbpf-tools is not available on s390x

Status in bpfcc package in Ubuntu:
  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