Your message dated Fri, 28 Feb 2025 23:09:41 +0000
with message-id <[email protected]>
and subject line Bug#1078998: fixed in cyrus-sasl2 2.1.28+dfsg1-9
has caused the Debian Bug report #1078998,
regarding cyrus-sasl2: Includes dpkg fragment Makefiles from subdir
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.)
--
1078998: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078998
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cyrus-sasl2
Source-Version: 2.1.28+dfsg1-7
Severity: normal
Tags: patch
X-Debbugs-Cc: Helmut Grohne <[email protected]>
Hi!
Helmut (CCed) noticed that during the build there were a couple of
errors from dpkg-buildapi. Investigating this I noticed that the packaging
is building the sample/ server and client by changing directory and
including the dpkg fragment Makefile files, but these assume to be
included from the source tree root directory, thus the emitted errors.
I'm attaching a patch (test built), which solves this, and simplifies
the building.
Thanks,
Guillem
From 39c9e6a3123a02d7d8e173d367fcda7a9382b80c Mon Sep 17 00:00:00 2001
From: Guillem Jover <[email protected]>
Date: Sun, 18 Aug 2024 02:18:12 +0200
Subject: [PATCH] debian: Fix and simplify sample server/client build
We can use make's implicit rules to simplify the Makefile. We should
also run the Makefile from the source tree root directory, otherwise
the dpkg make fragments will misbehave. Do not pass -g, as whether to
pass it will be decided by dpkg-buildflags.
---
debian/rules | 2 +-
debian/sample/Makefile | 10 ++++------
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/debian/rules b/debian/rules
index 88117ef..125756b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -166,7 +166,7 @@ override_dh_auto_build:
dh_auto_build -B$(TMPBUILD_MIT) -- sasldir=/usr/lib/$(DEB_HOST_MULTIARCH)/sasl2 all doc-html
# Build sample-{client,server}
- $(MAKE) -f ../debian/sample/Makefile -C sample T=../$(TMPBUILD_MIT)
+ $(MAKE) -f debian/sample/Makefile T=$(TMPBUILD_MIT)
# Build the sasl-sample-client and sasl-sample-server man pages.
/usr/bin/docbook-to-man debian/sasl-sample-client.sgml \
diff --git a/debian/sample/Makefile b/debian/sample/Makefile
index a472b84..29b9228 100644
--- a/debian/sample/Makefile
+++ b/debian/sample/Makefile
@@ -8,10 +8,8 @@ INCDIR1=$(T)/../include
INCDIR2=$(T)/include
LIBDIR=$(T)/lib/.libs
-all: sample-server sample-client
+CPPFLAGS += -DPLUGINDIR=\"/usr/lib/$(DEB_HOST_MULTIARCH)/sasl2\"
+CPPFLAGS += -I. -I$(T) -I$(INCDIR1) -I$(INCDIR2) -L$(LIBDIR)
+LDLIBS = -lsasl2
-sample-server: sample-server.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -DPLUGINDIR=\"/usr/lib/$(DEB_HOST_MULTIARCH)/sasl2\" $(LDFLAGS) -g -o sample-server sample-server.c -I. -I$(T) -I$(INCDIR1) -I$(INCDIR2) -L$(LIBDIR) -lsasl2
-
-sample-client: sample-client.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -DPLUGINDIR=\"/usr/lib/$(DEB_HOST_MULTIARCH)/sasl2\" $(LDFLAGS) -g -o sample-client sample-client.c -I. -I$(T) -I$(INCDIR1) -I$(INCDIR2) -L$(LIBDIR) -lsasl2
+all: sample/sample-server sample/sample-client
--
2.45.2
--- End Message ---
--- Begin Message ---
Source: cyrus-sasl2
Source-Version: 2.1.28+dfsg1-9
Done: Bastian Germann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
cyrus-sasl2, 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.
Bastian Germann <[email protected]> (supplier of updated cyrus-sasl2 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, 28 Feb 2025 22:58:50 +0100
Source: cyrus-sasl2
Architecture: source
Version: 2.1.28+dfsg1-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Cyrus Team <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 1065595 1078998 1091694
Changes:
cyrus-sasl2 (2.1.28+dfsg1-9) unstable; urgency=medium
.
* Team upload
* digestmd5: Free RC4 cipher (Closes: #1091694)
* Apply arch/indep split (Closes: #1065595)
* d/rules: Drop unnecessary variables
* Introduce nodoc profile
* Prevent installing man1
.
[ Guillem Jover ]
* Fix and simplify sample server/client build (Closes: #1078998)
Checksums-Sha1:
2f08868e2d7e0632213ee739e5bef3576e451607 3306 cyrus-sasl2_2.1.28+dfsg1-9.dsc
86f90d7e834a9c0084ab3f10746c284f9e741d35 99180
cyrus-sasl2_2.1.28+dfsg1-9.debian.tar.xz
7d5b2e92ec17e1e1ec757d3aab4717c231a8768f 5149
cyrus-sasl2_2.1.28+dfsg1-9_source.buildinfo
Checksums-Sha256:
179cda376ee9f9a54098f902174299dd183ae78c703f72b86bd4c3297db4c153 3306
cyrus-sasl2_2.1.28+dfsg1-9.dsc
8215afa01ee2907da0a650bfa6b9cf0fae12f2611a098eedd853b5e71adf6623 99180
cyrus-sasl2_2.1.28+dfsg1-9.debian.tar.xz
be0c9530ee6ec8284037c4751820c125bc90b63c16118bb12b51925c294c288f 5149
cyrus-sasl2_2.1.28+dfsg1-9_source.buildinfo
Files:
1a2f670de48251438ab2f6cc569fa4ec 3306 libs optional
cyrus-sasl2_2.1.28+dfsg1-9.dsc
33887e6c5636e15273a39359bc57ae44 99180 libs optional
cyrus-sasl2_2.1.28+dfsg1-9.debian.tar.xz
8cbbb45824238cb8a9da7b5bc433e061 5149 libs optional
cyrus-sasl2_2.1.28+dfsg1-9_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmfCN0gQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFBvZDACXZQcnVaclZrweWLGLscYVvfFkZImuSq1z
KDVhkNNyIf8aZDAIMxpYBxN4KEi2fdqMdcQpe1STAhdikW9Nsqt5K5D18Hb9H3lw
VmNICqXYsWB+pZhpenoNJMK32HozB9d/rQurNruqmoa/wsVdmdqOeJ9TNMeca1fz
BKRqeWv9IkgDQe/+0KCZXQ1Pm1+OW7pwybu9yJc3jOKeHLfAtdzrIe0rPiMsv0HY
s/5ZbOlP1TBAMSI4aDDASNJy8vTg8PtD1auZcKYXMNIdjiZQFnNIyHdb04sObSvf
qhzKpZM7twDpVuEh/1d49O/vPv+NuazcWzug2gybwa0ItT26MXpqHfLE4JqVWlhF
xS22HGuA43TXczzOCOi7aLPozqhs0II4wi0+77wITzJAy+SzlhiVvh43Ryp/+4QN
89g7SQC2StxHfIC9Vyhxic5CP8mMzAAGQ2Y1SiNNrkkmnNxTOGMOKGtzdhqXUmWp
Um/QhSJh4ucaxF1gms1JWbc11yqu/bg=
=xxHP
-----END PGP SIGNATURE-----
pgp1czgUmi5gx.pgp
Description: PGP signature
--- End Message ---