[Pkg-sogo-maintainers] Bug#1094171: sbjson: FTBFS with the GNUstep multiarch layout: dh_install errors

Yavor Doganov yavor at gnu.org
Sat Jan 25 14:37:25 GMT 2025


Source: sbjson
Version: 2.3.2-4.1
Severity: important
Tags: sid trixie ftbfs patch
Control: block 1093620 with -1
Control: block -1 with 1093948
User: pkg-gnustep-maintainers at lists.alioth.debian.org
Usertags: gnustep-multiarch

This package FTBFS with the GNUstep multiarch layout:

dh_install -plibsbjson2.3t64 --sourcedir=/build/reproducible-path/sbjson-2.3.2/debian/tmp/
dh_install: warning: Cannot find (any matches for) "usr/lib/libSBJson.so.*" (tried in /build/reproducible-path/sbjson-2.3.2/debian/tmp, debian/tmp)

dh_install: warning: libsbjson2.3t64 missing files: usr/lib/libSBJson.so.*
dh_install: error: missing files, aborting
make: *** [/usr/share/cdbs/1/rules/debhelper.mk:251: binary-install/libsbjson2.3t64] Error 255

Attached is a trivial patch.

Multiarch-based gnustep-make/2.9.2-5 is in experimental but
gnustep-base is available only on -mentors [1] for the time being;
sorry for the inconvenience.  It will be uploaded on Monday to
experimental and very soon after that to unstable because the
gnustep-multiarch transition has been approved by the release team.
This bug will become RC then.

[1] https://mentors.debian.net/package/gnustep-base/
-------------- next part --------------
--- sbjson-2.3.2.orig/debian/changelog
+++ sbjson-2.3.2/debian/changelog
@@ -1,3 +1,13 @@
+sbjson (2.3.2-5) UNRELEASED; urgency=medium
+
+  * debian/control (Build-Depends): Require gnustep-base (>= 1.30.0-10)
+    for the multiarch layout.
+    (libsbjson2.3t64, libsbjson-dev): Mark as Multi-Arch: same.
+  * debian/libsbjson-dev.install: Update for multiarch.
+  * debian/libsbjson2.3t64.install: Likewise.
+
+ -- Yavor Doganov <yavor at gnu.org>  Wed, 15 Jan 2025 00:06:36 +0200
+
 sbjson (2.3.2-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.
--- sbjson-2.3.2.orig/debian/control
+++ sbjson-2.3.2/debian/control
@@ -9,7 +9,7 @@ Build-Depends: dpkg-dev (>= 1.22.5), deb
                cdbs,
                gobjc,
                gnustep-make,
-               libgnustep-base-dev
+               libgnustep-base-dev (>= 1.30.0-10)
 Standards-Version: 4.3.0
 Homepage: https://stig.github.com/json-framework
 Vcs-Browser: https://salsa.debian.org/debian/sbjson
@@ -19,6 +19,7 @@ Package: libsbjson2.3t64
 Replaces: libsbjson2.3
 Breaks: libsbjson2.3 (<< ${source:Version})
 Architecture: any
+Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${gnustep:Depends}
 Provides: ${t64:Provides}, libsbjson
 Description: Objective-C JSON library
@@ -31,6 +32,7 @@ Description: Objective-C JSON library
 Package: libsbjson-dev
 Section: libdevel
 Architecture: any
+Multi-Arch: same
 Depends: libsbjson2.3t64 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${gnustep:Depends}
 Description: Objective-C JSON library (development files)
  A strict JSON parser and generator for Objective-C. It adds categories
--- sbjson-2.3.2.orig/debian/libsbjson2.3t64.install
+++ sbjson-2.3.2/debian/libsbjson2.3t64.install
@@ -1,1 +1,1 @@
-usr/lib/libSBJson.so.*
+usr/lib/*/libSBJson.so.*
--- sbjson-2.3.2.orig/debian/libsbjson-dev.install
+++ sbjson-2.3.2/debian/libsbjson-dev.install
@@ -1,2 +1,2 @@
-usr/include/GNUstep/SBJson
-usr/lib/libSBJson.so
+usr/include/*/GNUstep/SBJson
+usr/lib/*/libSBJson.so


More information about the Pkg-sogo-maintainers mailing list