** Changed in: linux-nvidia (Ubuntu Resolute) Status: New => Fix Committed ** Changed in: linux-nvidia (Ubuntu) Status: New => Invalid -- You received this bug notification because you are subscribed to linux in Ubuntu. Matching subscriptions: Bgg, Bmail, Nb https://bugs.launchpad.net/bugs/2165407 Title: resolute: llvm-21-dev build-depends breaks cross-builds Status in linux package in Ubuntu: New Status in linux-nvidia package in Ubuntu: Invalid Status in linux-nvidia-bos package in Ubuntu: Invalid Status in linux-riscv package in Ubuntu: Fix Committed Status in linux source package in Resolute: New Status in linux-nvidia source package in Resolute: Fix Committed Status in linux-nvidia-bos source package in Resolute: Fix Committed Status in linux-riscv source package in Resolute: Fix Committed Bug description: Commit e66125ce24f6 ("UBUNTU: [Packaging] Add llvm-21-dev to build-depends for perf", LP: #2138328) added llvm-21-dev as an unqualified Build-Depends entry to enable LLVM-accelerated addr2line() in perf. Because llvm-21-dev is not annotated with :native or an architecture restriction, dpkg attempts to satisfy it for the target (cross) architecture during cross-compilation (e.g. arm64 from amd64). Since the llvm-21-dev package is not available for all cross targets or cannot co-install alongside the native toolchain, cross-builds fail to resolve build dependencies. The fix (already applied in stonking as commit 2aebbf625fd4) makes three changes to debian.master/control.stub.in: - Replaces "llvm-21-dev" with "llvm-21-tools:native <!stage1>" so the LLVM dependency is satisfied from the build host architecture. - Adds "libllvm21 <!stage1>" as a separate library dependency. - Adds "libstd-rust-dev" with an explicit architecture list. This needs to be cherry-picked to resolute. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2165407/+subscriptions
Комментариев нет:
Отправить комментарий