Discussion:
Bug#1099253: nvidia-graphics-drivers-legacy-340xx: FTBFS: /bin/sh: 1: pahole: not found
Add Reply
Santiago Vila
2025-03-01 21:10:10 UTC
Reply
Permalink
Package: src:nvidia-graphics-drivers-legacy-340xx
Version: 340.108-24
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
# LD [M] /<<PKGBUILDDIR>>/kernel-source-tree/nvidia.ko
x86_64-linux-gnu-ld -r -m elf_x86_64 -z noexecstack --no-warn-rwx-segments --build-id=sha1 -T arch/x86/module.lds -o /<<PKGBUILDDIR>>/kernel-source-tree/nvidia.ko /<<PKGBUILDDIR>>/kernel-source-tree/nvidia.o /<<PKGBUILDDIR>>/kernel-source-tree/nvidia.mod.o /<<PKGBUILDDIR>>/kernel-source-tree/.module-common.o
# BTF [M] /<<PKGBUILDDIR>>/kernel-source-tree/nvidia.ko
if [ ! -f vmlinux ]; then printf "Skipping BTF generation for %s due to unavailability of vmlinux
" /<<PKGBUILDDIR>>/kernel-source-tree/nvidia.ko 1>&2; else LLVM_OBJCOPY="x86_64-linux-gnu-objcopy" pahole -J -j --btf_features=encode_force,var,float,enum64,decl_tag,type_tag,optimized_func,consistent_func,decl_tag_kfuncs -j --lang_exclude=rust --btf_features=distilled_base --btf_base vmlinux /<<PKGBUILDDIR>>/kernel-source-tree/nvidia.ko; ./tools/bpf/resolve_btfids/resolve_btfids -b vmlinux /<<PKGBUILDDIR>>/kernel-source-tree/nvidia.ko; fi;
/bin/sh: 1: pahole: not found
make[8]: *** [/usr/src/linux-headers-6.12.16-common/scripts/Makefile.modfinal:64: /<<PKGBUILDDIR>>/kernel-source-tree/nvidia.ko] Error 127
make[8]: *** Deleting file '/<<PKGBUILDDIR>>/kernel-source-tree/nvidia.ko'
make[7]: *** [/usr/src/linux-headers-6.12.16-common/Makefile:1890: modules] Error 2
make[6]: *** [/usr/src/linux-headers-6.12.16-common/Makefile:236: __sub-make] Error 2
make[6]: Leaving directory '/usr/src/linux-headers-6.12.16-amd64'
make[5]: *** [Makefile:236: __sub-make] Error 2
make[5]: Leaving directory '/usr/src/linux-headers-6.12.16-common'
make[4]: *** [Makefile:217: nvidia.ko] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/kernel-source-tree'
make[3]: *** [debian/rules:261: override_dh_auto_test] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [debian/rules:173: build] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:173: install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:173: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202503/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:nvidia-graphics-drivers-legacy-340xx, so that this is still
visible in the BTS web page for this package.

Thanks.
Santiago Vila
2025-03-01 22:00:01 UTC
Reply
Permalink
Please clean up all the 'pahole: not found' bugs, that's #1098706 in src:linux and an upload for that is on the way to sid.
Ok, done.

Loading...