diff mbox series

[1/1] UBUNTU: [Packaging] Fix cross-builds

Message ID 20260827151512.163490-2-edoardo.canepa@canonical.com
State New
Headers show
Series resolute: llvm-21-dev build-depends breaks cross-builds (LP: #2165407) | expand

Commit Message

Edoardo Canepa Aug. 27, 2026, 3:15 p.m. UTC
From: Timo Aaltonen <timo.aaltonen@canonical.com>

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

Adding llvm-21-dev to build-depends broke cross-builds, so fix it.

Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
Signed-off-by: Edoardo Canepa <edoardo.canepa@canonical.com>
---
 debian.master/control.stub.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/debian.master/control.stub.in b/debian.master/control.stub.in
index 2f1b9d6f082e..1b765a89076f 100644
--- a/debian.master/control.stub.in
+++ b/debian.master/control.stub.in
@@ -27,6 +27,7 @@  Build-Depends:
  libdw-dev <!stage1>,
  libelf-dev <!stage1>,
  libiberty-dev <!stage1>,
+ libllvm21 <!stage1>,
  liblzma-dev <!stage1>,
  libnewt-dev <!stage1>,
  libnl-3-dev,
@@ -34,13 +35,14 @@  Build-Depends:
  libnuma-dev [amd64 arm64 ppc64el s390x] <!stage1>,
  libpci-dev <!stage1>,
  libssl-dev <!stage1>,
+ libstd-rust-dev [amd64 arm64 armhf ppc64el riscv64 s390x],
  libstdc++-dev,
  libtool <!stage1>,
  libtraceevent-dev [amd64 arm64 armhf ppc64el s390x riscv64] <!stage1>,
  libtracefs-dev [amd64 arm64 armhf ppc64el s390x riscv64] <!stage1>,
  libudev-dev <!stage1>,
  libunwind8-dev [amd64 arm64 armhf ppc64el] <!stage1>,
- llvm-21-dev,
+ llvm-21-tools:native <!stage1>,
  makedumpfile:native [amd64] <!stage1>,
  openssl <!stage1>,
  pahole (>= 1.29-2ubuntu2) [amd64 arm64 armhf ppc64el s390x riscv64] | dwarves (>= 1.21) [amd64 arm64 armhf ppc64el s390x riscv64] <!stage1>,