Your message dated Sat, 01 Feb 2025 19:02:58 +0000
with message-id <[email protected]>
and subject line Bug#1094184: fixed in sope 5.11.1-2
has caused the Debian Bug report #1094184,
regarding sope: FTCBFS: multiple reasons
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1094184: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094184
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: sope
Version: 5.11.1-1
Severity: minor
Control: block -1 with 1094178
Tags: patch
User: [email protected]
Usertags: cross-satisfiability ftcbfs

I tried building the sope package on amd64 for armhf, using the
GNUstep core packages that will be available soon in experimental
(only gnustep-make/2.9.2-5 is there at the time of filing).  The
sope package has the same unsatisfiable build-depends problem as
described in sbjson's #1094173.

In addition, with the above problem fixed, the configure script fails
with the following output:

creating: /build/reproducible-path/sope-5.11.1/config.make
failed to link optional library: xml2
failed to link optional library: ldap
failed to link required library: ssl
make[1]: *** [debian/rules:17: override_dh_auto_configure] Error 1

That's because the build architecture compiler is used.  A simple fix
is to include config.mk from the gnustep-make package (which we at the
GNUstep team always do because it simplifies things a lot and fixes
problems like this one).  This shortens debian/rules as well and adds
support for "noopt" and "terse" (although your upstream overrides the
former in some makefiles, so I'm not sure it works in practice).

I marked this bug as blocking #1094178 because the patch there is its
parent, and because it doesn't make sense applying it if that bug is
not fixed.  It's not possible to cross-build current GNUstep, and
that's one of the reasons we're doing this transition.
>From 383a77ad4e94e900f7d48a2f485fb88b2a18d4da Mon Sep 17 00:00:00 2001
From: Yavor Doganov <[email protected]>
Date: Sat, 25 Jan 2025 18:54:51 +0200
Subject: [PATCH] Fix FTCBFS.

---
 debian/changelog | 7 ++++++-
 debian/control   | 1 -
 debian/rules     | 9 ++-------
 3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fd77596..cc257bb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,15 @@
 sope (5.11.1-2) UNRELEASED; urgency=medium
 
   * debian/control (Build-Depends): Require libgnustep-base-dev (>=
-    1.30.0-10) for the multiarch layout.
+    1.30.0-10) for the multiarch layout.  Remove unnecessary gobjc.
     (libsope1): Mark as Multi-Arch: same.
   * debian/libsope1.install: Update for the multiarch layout.
   * debian/libsope-dev.install: Likewise.
+  * debian/rules: Include /usr/share/GNUstep/debian/config.mk to avoid
+    using the build architecture Objective-C compiler.  Fixes FTCBFS.
+    (override_dh_auto_build): Use dh_auto_build and pass $(optim) and
+    $(verbose) to support noopt and terse in DEB_BUILD_OyPTIONS.
+    (override_dh_auto_install): Remove; no longer necessary.
 
  -- Yavor Doganov <[email protected]>  Wed, 15 Jan 2025 00:05:08 +0200
 
diff --git a/debian/control b/debian/control
index 63fd56e..5a408e1 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,6 @@ Uploaders: Jeroen Dekkers <[email protected]>,
            Jordi Mallach <[email protected]>
 Build-Depends: debhelper-compat (= 13),
  gnustep-make,
- gobjc,
  libgnustep-base-dev (>= 1.30.0-10),
  libxml2-dev,
  libldap2-dev,
diff --git a/debian/rules b/debian/rules
index e5c5075..ae63c40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@ export DH_VERBOSE=1
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
 include /usr/share/dpkg/buildflags.mk
+include /usr/share/GNUstep/debian/config.mk
 
 %:
        dh $@
@@ -17,13 +18,7 @@ override_dh_auto_configure:
        ./configure --disable-strip --with-gnustep --with-ssl=ssl
 
 override_dh_auto_build:
-       $(MAKE) all messages=yes OBJCFLAGS="$(CFLAGS)"
-
-override_dh_auto_install:
-       GNUSTEP_MAKEFILES=/usr/share/GNUstep/Makefiles $(MAKE) install \
-               messages=yes OBJCFLAGS="$(CFLAGS)" \
-               DESTDIR=$(CURDIR)/debian/tmp/ \
-               GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
+       dh_auto_build -- $(optim) $(verbose) OBJCFLAGS="$(CFLAGS)"
 
 # This will make sure that the SOGo binary packages will always depend
 # on the latest SOPE
-- 
2.47.2


--- End Message ---
--- Begin Message ---
Source: sope
Source-Version: 5.11.1-2
Done: Jordi Mallach <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sope, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jordi Mallach <[email protected]> (supplier of updated sope package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 31 Jan 2025 10:00:11 +0100
Source: sope
Architecture: source
Version: 5.11.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian SOGo Maintainers 
<[email protected]>
Changed-By: Jordi Mallach <[email protected]>
Closes: 1094178 1094184
Changes:
 sope (5.11.1-2) unstable; urgency=medium
 .
   [ Yavor Doganov ]
   * debian/control (Build-Depends): Require libgnustep-base-dev (>=
     1.30.0-10) for the multiarch layout. Closes: #1094178
     Remove unnecessary gobjc.
     (libsope1): Mark as Multi-Arch: same.
   * debian/libsope1.install: Update for the multiarch layout.
   * debian/libsope-dev.install: Likewise.
   * debian/rules: Include /usr/share/GNUstep/debian/config.mk to avoid
     using the build architecture Objective-C compiler.  Fixes FTCBFS.
     (override_dh_auto_build): Use dh_auto_build and pass $(optim) and
     $(verbose) to support noopt and terse in DEB_BUILD_OyPTIONS.
     (override_dh_auto_install): Remove; no longer necessary.
     Closes: #1094184.
 .
   [ Jordi Mallach ]
   * Update Standards-Version to 4.7.0.
   * Update copyright years.
Checksums-Sha1:
 5587ea906d971c6d40faf4a8ba292398b185ae85 2148 sope_5.11.1-2.dsc
 6914f0dd7dc7b30bf655a2ecdef4fa0a66e68505 7436 sope_5.11.1-2.debian.tar.xz
 5b0761474959ab576c7248a9256374431dd881bc 8801 sope_5.11.1-2_amd64.buildinfo
Checksums-Sha256:
 971232312034caa6b9734856d15c9af9f2b2ca6092f58e918f3c38a77762675e 2148 
sope_5.11.1-2.dsc
 1a0b0db7a235893b760b9c0f985708b6f4a8c594cdb4b44ea103c6bbfa6d0a46 7436 
sope_5.11.1-2.debian.tar.xz
 3550d52615f49c916bd49e5fd4959ecfdf49e4a048e49fd372ad5afb1b93dfdb 8801 
sope_5.11.1-2_amd64.buildinfo
Files:
 e8ca95bee5e73d9d93eb9987bf2ac83f 2148 libs optional sope_5.11.1-2.dsc
 39789cb64c9a292fc307a015ea0c9d71 7436 libs optional sope_5.11.1-2.debian.tar.xz
 31f6254c6cf7350d57472bbfb97b0347 8801 libs optional 
sope_5.11.1-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE6BdUhsApKYN8KGoWJVAvb8vjywQFAmeeZQUACgkQJVAvb8vj
ywReCw/+IV6swET4ZqqL9bmcCdLoZNLcrloZl/2jLM2fyA55LDVG+Hp7/3FOiKvo
76IYY1FpUSKsuSnStTu2W3MJjvH6cGbdjLr70YNIr0iHNERVA8gl/xvJSrwJZUiq
ywHTCcLwrWDJAgNIBK9SnLcQR5UcnKlMUErgd9SICtTVwFJ8W5cIClshYskS0Ir6
lF14BtxpOQN9w7Fn+MMO9c2n9JFFawnpbt53B5v1GVK3ftx8RCERiiEjYdYp5Xpu
vXFk+lRRdlMRmp8Wo09MQaesfl+Sc7n4gs8HPxbAFY3r1aVGCeedP6IgKnsNkDGR
i9e7Dhs29AN7prpdrVFqdhCp0e89f+SBmPafUzdnwrRHu45twUtoIWUuu1i1cK87
bXmNCdc+dhAp56mgj5l2M9PRGn1E573ovnjHPTRQKjN3rB1w6CXay1+U2duujJHX
eRuljnalLhl6ZqMiW/kxFVqQXR6tVWxrUBl5fTfApvBJ1sWRmvNc0TeG8KwG2vmK
CmFSadxxTqbT2H/ZLRMDdmUPE8Erc5fTisKd4AkhnR6vsvXxsoy2Uz5s5ZvRUjcB
fy7/xUdpRCxf5/6bTdUnY2UzlyL694bQCt1bAJZ63Gd1YSNlZ2vLNCb2GFDDTzdR
GXifgW/QJ+lS3oODLJzk1ZOLHWV19WEV0NsHKQjiu2yJ8Ba0Kss=
=yRNF
-----END PGP SIGNATURE-----

Attachment: pgpR76CoRyFlv.pgp
Description: PGP signature


--- End Message ---

Reply via email to