Source: dh-python Version: 6.20250414 Severity: grave Tags: ftbfs sid Control: affects -1 src:showtime
I can build the showtime package successfully in Trixie. If I then install the dh-python 6.20250414 packages in my sbuild with unshare, the build fails. The showtime packaging is very simple. Build log excerpt ============= dh_python3 I: dh_python3 tools:114: replacing shebang in debian/showtime/usr/bin/showtime Traceback (most recent call last): File "/usr/bin/dh_python3", line 293, in <module> main() ~~~~^^ File "/usr/bin/dh_python3", line 220, in main stats = Scanner(interpreter, package, private_dir, options).result ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/dh-python/dhpython/fs.py", line 262, in __init__ self.handle_bin_dir(root, file_names) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ File "/usr/share/dh-python/dhpython/fs.py", line 446, in handle_bin_dir if fix_shebang(fpath, self.options.shebang): ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/dh-python/dhpython/tools.py", line 123, in fix_shebang with open(fpath, 'wb') as fp: ~~~~^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: 'debian/showtime/usr/bin/showtime' Thank you, Jeremy Bícha