Bug#1035933: marked as done (linux-image-6.1.0-8-amd64-unsigned: fails to build (llvm-strip not found, missing dependency?))
Your message dated Mon, 1 Jan 2024 20:55:29 +0100
with message-id <20240101195529.dnhv7ffs2rdrdw52@shell.thinkmo.de>
and subject line Re: Bug#1035933: linux-image-6.1.0-8-amd64-unsigned: fails to build (llvm-strip not found, missing dependency?)
has caused the Debian Bug report #1035933,
regarding linux-image-6.1.0-8-amd64-unsigned: fails to build (llvm-strip not found, missing dependency?)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
1035933: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035933
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-image-6.1.0-8-amd64-unsigned: fails to build (llvm-strip not found, missing dependency?)
- From: Claude Heiland-Allen <claude@mathr.co.uk>
- Date: Thu, 11 May 2023 12:57:39 +0100
- Message-id: <168380625985.634150.4833465630325731873.reportbug@eiskaffee.local>
Package: linux-image-6.1.0-8-amd64-unsigned
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: claude@mathr.co.uk
Dear Maintainer,
* What led up to the situation?
I wanted to patch the kernel source to see if it would help an issue I was having,
so I followed my usual steps when changing a Debian package locally:
sudo apt build-dep linux-image-6.1.0-8-amd64-unsigned
mkdir linux
cd linux
apt source linux-image-6.1.0-8-amd64-unsigned
cd linux-6.1.25
# make changes to the source code
# specfically some warning prints in devices/usb/host/xhci-ring.c
debuild -i -us -uc -b
* What was the outcome of this action?
The build failed after some time with:
...
llvm-strip -g /home/claude/linux/linux-6.1.25/debian/build/build-tools/tools/bpf/bpftool/profiler.bpf.o
make[4]: llvm-strip: No such file or directory
make[4]: *** [Makefile:187: /home/claude/linux/linux-6.1.25/debian/build/build-tools/tools/bpf/bpftool/profiler.bpf.o] Error 127
make[4]: *** Waiting for unfinished jobs....
llvm-strip -g /home/claude/linux/linux-6.1.25/debian/build/build-tools/tools/bpf/bpftool/pid_iter.bpf.o
make[4]: llvm-strip: No such file or directory
make[4]: *** [Makefile:187: /home/claude/linux/linux-6.1.25/debian/build/build-tools/tools/bpf/bpftool/pid_iter.bpf.o] Error 127
make[4]: Leaving directory '/home/claude/linux/linux-6.1.25/tools/bpf/bpftool'
make[3]: *** [/home/claude/linux/linux-6.1.25/debian/rules.d/tools/bpf/bpftool/Makefile:15: all] Error 2
make[3]: Leaving directory '/home/claude/linux/linux-6.1.25/debian/build/build-tools/tools/bpf/bpftool'
make[2]: *** [debian/rules.real:538: build_bpftool] Error 2
make[2]: Leaving directory '/home/claude/linux/linux-6.1.25'
make[1]: *** [debian/rules.gen:1494: build-arch_amd64_real_bpftool] Error 2
make[1]: Leaving directory '/home/claude/linux/linux-6.1.25'
make: *** [debian/rules:39: build-arch] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i -b failed
* What outcome did you expect instead?
I expected apt to have fetched all the build-time dependencies of the package,
and the build to have succeeded.
* What exactly did you do (or not do) that was effective (or
ineffective)?
After
sudo apt install llvm
then
debuild -i -us -uc -b
worked as expected.
Thanks for your work on this package,
Claude
-- System Information:
Debian Release: 12.0
APT prefers testing-security
APT policy: (990, 'testing-security'), (990, 'testing'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-8-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages linux-image-6.1.0-8-amd64-unsigned depends on:
ii initramfs-tools [linux-initramfs-tool] 0.142
ii kmod 30+20221128-1
ii linux-base 4.9
Versions of packages linux-image-6.1.0-8-amd64-unsigned recommends:
ii apparmor 3.0.8-3
ii firmware-linux-free 20200122-1
Versions of packages linux-image-6.1.0-8-amd64-unsigned suggests:
pn debian-kernel-handbook <none>
ii extlinux 3:6.04~git20190206.bf6db5b4+dfsg1-3+b1
ii grub-efi-amd64 2.06-12
pn linux-doc-6.1 <none>
--- End Message ---
--- Begin Message ---
- To: Claude Heiland-Allen <claude@mathr.co.uk>, 1035933-done@bugs.debian.org
- Subject: Re: Bug#1035933: linux-image-6.1.0-8-amd64-unsigned: fails to build (llvm-strip not found, missing dependency?)
- From: Bastian Blank <waldi@debian.org>
- Date: Mon, 1 Jan 2024 20:55:29 +0100
- Message-id: <20240101195529.dnhv7ffs2rdrdw52@shell.thinkmo.de>
- Mail-followup-to: Bastian Blank <waldi@debian.org>, Claude Heiland-Allen <claude@mathr.co.uk>, 1035933-done@bugs.debian.org
- In-reply-to: <168380625985.634150.4833465630325731873.reportbug@eiskaffee.local>
- References: <168380625985.634150.4833465630325731873.reportbug@eiskaffee.local>
On Thu, May 11, 2023 at 12:57:39PM +0100, Claude Heiland-Allen wrote:
> I wanted to patch the kernel source to see if it would help an issue I was having,
> so I followed my usual steps when changing a Debian package locally:
The package as uploaded builds fine. It does not use llvm at all.
Closing, as local problem.
Bastian
--
Sometimes a feeling is all we humans have to go on.
-- Kirk, "A Taste of Armageddon", stardate 3193.9
--- End Message ---
Reply to: