On Thu, Jan 29, 10:03, Helmut Grohne wrote:

> Package: liblopsub1t64
> Version: 1.0.5-3.1+b1
> Severity: serious
> Justification: unpack error from dpkg
> User: [email protected]
> Usertags: ftcbfs
> Control: affects -1 + src:tfortune
> 
> liblopsub1t64 is not binNMU-safe. It installs debian/changelog directly
> using install. The file is architecture-specific and installed into a
> shared location. The package is Multi-Arch: same. Upon coinstallation,
> dpkg fails to unpack.
> 
> I suggest using dh_installchangelog as it separates the
> architecture-dependent part.

Thanks for pointing out this issue. Is the below sufficient to fix it?

Best
Andre
---
commit c0cf8e24b72effbe53c7dd840ead5130b87151d9
Author: Andre Noll <[email protected]>
Date:   Sat Jan 31 17:10:31 2026 +0100

    debian: Use dh_installchangelogs
    
    liblopsub1t64 is not binNMU-safe. It installs debian/changelog directly
    using install. The file is architecture-specific and installed into a shared
    location. The package is Multi-Arch: same. Upon coinstallation, dpkg fails
    to unpack.
    
    Use dh_installchangelog as it separates the architecture-dependent part.
    
    Suggested-by: Helmut Grohne <[email protected]>

diff --git a/debian/rules b/debian/rules
index 9801fe6..1657fa8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -54,10 +54,7 @@ binary: build
        echo 'activate-noawait ldconfig' > $(DESTDIR)/DEBIAN/triggers
        $(INST_FILE) debian/copyright $(DOCS_DIR)/copyright
        $(INST_FILE) debian/copyright $(DEVDOCS_DIR)/copyright
-       $(INST_FILE) debian/changelog $(DOCS_DIR)/changelog.Debian
-       $(INST_FILE) debian/changelog $(DEVDOCS_DIR)/changelog.Debian
-       gzip -fn9 $(DOCS_DIR)/changelog.Debian
-       gzip -fn9 $(DEVDOCS_DIR)/changelog.Debian
+       dh_installchangelogs
        dh_fixperms
        dh_makeshlibs
        dh_shlibdeps
-- 
Max Planck Institute for Biology
Max-Planck-Ring 5, 72076 Tübingen, Germany. Phone: (+49) 7071 601 829
https://people.tuebingen.mpg.de/maan/

Reply via email to