Package: ppp
Version: 2.5.0-1+2
Severity: normal
Tags: patch

Hello, I found that in some configuration the static library is not installed. 
Ignoring the rm command would avoid making the build fail
e.g. in Ubuntu (where udebs are not even built anymore)
see e.g.

https://launchpad.net/ubuntu/+source/ppp/2.5.0-1+2

diff -Nru ppp-2.5.0/debian/rules ppp-2.5.0/debian/rules
--- ppp-2.5.0/debian/rules      2024-04-20 18:05:03.000000000 +0200
+++ ppp-2.5.0/debian/rules      2024-05-22 10:22:55.000000000 +0200
@@ -104,7 +104,7 @@
                $(DIR_PPP_DEV)/usr/share/man/man1/dh_ppp.1p
execute_after_dh_install-arch:
-       rm $(DIR_PPP)/usr/lib/pppd/*/*.*a $(DIR_PPP_UDEB)/usr/lib/pppd/*/*.*a
+       rm -f $(DIR_PPP)/usr/lib/pppd/*/*.*a $(DIR_PPP_UDEB)/usr/lib/pppd/*/*.*a
        cd $(DIR_PPP)/usr/lib/pppd/*/ && ln -s pppoe.so rp-pppoe.so
override_dh_installchangelogs: build-deb/changelog

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to