Package: lvm2 Followup-For: Bug #997401 X-Debbugs-Cc: deb-52f...@lostmaths.uk Control: tags -1 ftbfs
Dear Maintainer, Trying to build lvm2_2.03.22-1 on trixie (as of 14Jun2024) fails with permissions error: make[1]: Leaving directory '/var/tmp/lvm2-2.03.22' dh_installman dh_python3 -i /usr/share/dh-python/dhpython/_defaults.py:46: EncodingWarning: 'encoding' argument not specified config.read("/usr/share/python{}/debian_defaults".format(ver)) I: dh_python3 tools:113: replacing shebang in debian/lvm2-dbusd/usr/sbin/lvmdbusd Traceback (most recent call last): File "/bin/dh_python3", line 292, in <module> main() File "/bin/dh_python3", line 219, in main stats = Scanner(interpreter, package, private_dir, options).result ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/dh-python/dhpython/fs.py", line 259, in __init__ self.handle_bin_dir(root, file_names) File "/usr/share/dh-python/dhpython/fs.py", line 443, in handle_bin_dir if fix_shebang(fpath, self.options.shebang): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/dh-python/dhpython/tools.py", line 122, in fix_shebang with open(fpath, 'wb') as fp: ^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: 'debian/lvm2-dbusd/usr/sbin/lvmdbusd' make: *** [debian/rules:83: binary] Error 1 This was from freshly downloaded sources: * lvm2_2.03.22-1.debian.tar.xz * lvm2_2.03.22-1.dsc * lvm2_2.03.22.orig.tar.xz using the following recipe: dpkg-source -x lvm2_2.03.22*.dsc cd lvm2-2.03.22/ dpkg-buildpackage -rfakeroot -us -uc I believe this dpkg-source/dpkg-buildpackage recipe should work without any additional configuration - please advise if there are additional steps that are necessary. My interest in recompiling this package is linked to a suspicion that lvm2 may need to be recompiled for the latest trixie kernel (now 6.9.x), which may be implicated in bug #1072996 in cryptmount. -- System Information: Debian Release: trixie/sid Architecture: amd64 (x86_64) Kernel: Linux 6.9.8-amd64 (SMP w/2 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 lvm2 depends on: ii dmeventd 2:1.02.196-1+b1 ii dmsetup 2:1.02.196-1+b1 ii libaio1t64 0.3.113-8 ii libblkid1 2.40.2-1 ii libc6 2.38-14 ii libdevmapper-event1.02.1 2:1.02.196-1+b1 ii libedit2 3.1-20240517-1 ii libselinux1 3.5-2+b3 ii libsystemd0 256.2-1 ii libudev1 256.2-1 Versions of packages lvm2 recommends: pn thin-provisioning-tools <none> lvm2 suggests no packages. -- no debconf information