Control: tags -1 patch

On 2024-12-07 Niels Thykier <ni...@thykier.net> wrote:
> Source: libspf2
> Version: 1.2.10-8.2
[...]
> During a test rebuild for building packages with
> `Rules-Requires-Root: no` as the default in `dpkg`,
> libspf2 failed to rebuild.

[...]
> dh_strip -a --dbgsym-migration="libspf2-2t64-dbg (<< 1.2.10-8)"
> strip: unable to copy file 
> 'debian/libmail-spf-xs-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Mail/SPF_XS/SPF_XS.so';
> reason: Permission denied
[...]

Good morning,

The respective file is installed without write permissions. Invoking
dh_fixperms before dh_strip (like dh does automatically) lets the build
succeed.


--- v1/libspf2-1.2.10/debian/rules      2024-03-25 11:11:10.000000000 +0100
+++ libspf2-1.2.10/debian/rules 2024-12-08 07:05:05.355831898 +0100
@@ -69,10 +69,10 @@ binary-arch: install
        dh_installdocs -a --link-doc=$(LIB_PACKAGE)
        dh_installchangelogs -a
        dh_installman -a
+       dh_fixperms -a
        dh_strip -a --dbgsym-migration="$(LIB_PACKAGE)-dbg (<< 1.2.10-8)"
        dh_perl -a
        dh_compress -a
-       dh_fixperms -a
        dh_makeshlibs -V '$(LIB_PACKAGE) (>= 1.2.8~)'
        dh_installdeb -a
        dh_shlibdeps -a

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

Reply via email to