Package: debhelper
Version: 14.3
Severity: wishlist
X-Debbugs-Cc: [email protected]
Dear Maintainer,
In python-requests-cache upstream ships one python module, probably by mistake,
as executable.
Lintian reports this as a warning:
W: python3-requests-cache: executable-not-elf-or-script
[usr/lib/python3/dist-packages/requests_cache/models/response.py]
I'm fixing this now with the debian/rules lines:
execute_after_dh_fixperms:
chmod 644
debian/python3-requests-cache/usr/lib/python3/dist-packages/requests_cache/models/response.py
This commit contains my fix:
https://salsa.debian.org/plenae/python-requests-cache/-/commit/a859e613293c9bd6621d344b6596c6a6635e1fa1
The previous commit illustrates the issue.
It would be better to have dh_fixperms understand which files in python
packages are modules and should not be executable, and which are scripts, which
should be +x.
Best regards,
Pieter
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 7.1.3+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8),
LANGUAGE=nl_BE:nl
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages debhelper depends on:
ii autotools-dev 20240727.1+nmu1
ii dh-autoreconf 22
ii dh-strip-nondeterminism 1.15.1-1
ii dpkg 1.23.7
ii dpkg-dev 1.23.7
ii dwz 0.17-1
ii file 1:5.47-4
ii libdebhelper-perl 14.3
ii libdpkg-perl 1.23.7
ii man-db 2.13.1-1
ii perl 5.40.1-8
ii po-debconf 1.0.22
debhelper recommends no packages.
Versions of packages debhelper suggests:
ii dh-make 2.202601
-- no debconf information