Source: libnvme Version: 1.3-1 Severity: serious Tags: ftbfs patch Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: mateus.mor...@canonical.com
Hi, Building libnvme from source currently fails during execute_after_dh_auto_install when moving python-related files from debian/tmp/usr/local/lib/python. It seems these files are already at the correct location, at debian/tmp/usr/lib, so removing the python correction lines from d/rules fixes the issue. I'm building using sbuild on an sid schroot. The command I run is: $ sbuild -d unstable --purge-build=successful --debbuildopts='--buildinfo-option=-O' --no-run-lintian Ultimately, the build fails with: make[1]: Entering directory '/<<PKGBUILDDIR>>' # correcting python location mv debian/tmp/usr/local/lib/python* debian/tmp/usr/lib mv: cannot stat 'debian/tmp/usr/local/lib/python*': No such file or directory make[1]: *** [debian/rules:13: execute_after_dh_auto_install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:6: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- System Information: Debian Release: bookworm/sid APT prefers lunar-updates APT policy: (500, 'lunar-updates'), (500, 'lunar-security'), (500, 'lunar'), (100, 'lunar-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.2.0-32-generic (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
>From 7fd68f186f60a0288b088dc2754aafd8451bbc5d Mon Sep 17 00:00:00 2001 From: Mateus Rodrigues de Morais <mateus.mor...@canonical.com> Date: Wed, 6 Sep 2023 10:39:11 -0300 Subject: [PATCH] Removed Python location correction --- debian/rules | 4 ---- 1 file changed, 4 deletions(-) diff --git a/debian/rules b/debian/rules index 6673d04..4cb8910 100755 --- a/debian/rules +++ b/debian/rules @@ -9,10 +9,6 @@ override_dh_auto_configure: dh_auto_configure -- -Ddocs=man -Ddocs-build=true -Dpython=enabled -Dopenssl=enabled --default-library=both execute_after_dh_auto_install: - # correcting python location - mv debian/tmp/usr/local/lib/python* debian/tmp/usr/lib - rm -rf debian/tmp/usr/local - # remove empty manpages find debian/tmp/usr/share/man -type f -empty -exec rm -f {} + -- 2.39.2