Your message dated Mon, 23 Dec 2024 20:49:58 +0000
with message-id <e1tppng-003pu0...@fasolo.debian.org>
and subject line Bug#1079533: fixed in openldap 2.6.9+dfsg-1~exp1
has caused the Debian Bug report #1079533,
regarding openldap FTCBFS: invokes the build architecture compiler in one 
occasion
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 ow...@bugs.debian.org
immediately.)


-- 
1079533: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079533
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openldap
Version: 2.5.18+dfsg-2
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

Hi Ryan,

as I retested openldap, I figured that it would fail to cross build
(without pkg.openldap.noslapd as is used by bootstrapping). The build
fails during dh_auto_install -Dcontrib/slapd-modules/ppm. Looking
closely, this is during the install step when everything has already
been built and it happens in the ppm subdirectory. The linker step for
ppm.so is run again (despite having linked it during dh_auto_build
successfully) and since dh_auto_install does not pass cross tools to
make, it uses the build architecture compiler this time and fails. The
reason for this is that the compiler invocation happens in the ppm
target, but what is being created is ppm.so. Hence make sees that ppm
still does not exist and invokes the build instruction again. I propose
renaming the target to ppm.so (matching what actually is being created).
Then dh_auto_install will not relink ppm.so and instead install it
successfully. I'm attaching a patch for your convenience.

Helmut
--- openldap-2.5.18+dfsg.orig/contrib/slapd-modules/ppm/Makefile
+++ openldap-2.5.18+dfsg/contrib/slapd-modules/ppm/Makefile
@@ -62,18 +62,19 @@
 MANDOC=slapm-ppm.5
 MDDOC=ppm.md
 
-all: 	ppm $(TEST)
+all: 	$(PROGRAMS) $(TEST)
 
-$(TEST): ppm
+$(TEST): $(PROGRAMS)
 	$(CC) $(CFLAGS) $(OPT) $(CPPFLAGS) $(LDFLAGS) $(INCS) $(LDAP_LIBS) -Wl,-rpath=. -o $(TEST) ppm_test.c $(PROGRAMS) $(LDAP_LIBS) $(CRACKLIB)
 
 ppm.o:
 	$(CC) $(CFLAGS) -fPIC $(OPT) $(CPPFLAGS) $(DEFS) -c $(INCS) ppm.c
 
-ppm: ppm.o
-	$(CC) $(LDFLAGS) $(INCS) -shared -o $(PROGRAMS) ppm.o $(CRACKLIB)
+ppm: $(PROGRAMS)
+$(PROGRAMS): ppm.o
+	$(CC) $(LDFLAGS) $(INCS) -shared -o $@ ppm.o $(CRACKLIB)
 
-install: ppm
+install: $(PROGRAMS)
 	mkdir -p $(DESTDIR)$(moduledir)
 	for p in $(PROGRAMS); do \
 		$(LIBTOOL) --mode=install cp $$p $(DESTDIR)/$(moduledir) ; \
@@ -89,7 +90,7 @@
 	$(RM) -f ppm.o $(PROGRAMS) ppm.lo $(TEST)
 	$(RM) -rf .libs
 
-test: ppm $(TEST)
+test: $(PROGRAMS) $(TEST)
 	LDAP_SRC=$(LDAP_SRC) $(TESTS)
 
 doc:

--- End Message ---
--- Begin Message ---
Source: openldap
Source-Version: 2.6.9+dfsg-1~exp1
Done: Ryan Tandy <r...@nardis.ca>

We believe that the bug you reported is fixed in the latest version of
openldap, 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 1079...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ryan Tandy <r...@nardis.ca> (supplier of updated openldap 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 23 Dec 2024 12:07:55 -0800
Source: openldap
Architecture: source
Version: 2.6.9+dfsg-1~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian OpenLDAP Maintainers 
<pkg-openldap-de...@lists.alioth.debian.org>
Changed-By: Ryan Tandy <r...@nardis.ca>
Closes: 1079533
Changes:
 openldap (2.6.9+dfsg-1~exp1) experimental; urgency=medium
 .
   [ Carles Pina i Estany ]
   * Update po-debconf Catalan translation
 .
   [ Ryan Tandy ]
   * New upstream release.
     - Update patch 64-bit-time-t-compat.patch.
     - Drop ITS#10253 patch, applied upstream.
   * Apply patch from Helmut Grohne to fix cross-building ppm.
     (Closes: #1079533)
Checksums-Sha1:
 1f9a50d58d22ace9f08bc87ad5ce69927e0a8c46 3315 openldap_2.6.9+dfsg-1~exp1.dsc
 7a03975de284105f7e1d461e2676dc68bfa20e97 3753260 
openldap_2.6.9+dfsg.orig.tar.xz
 5a21ad84fd08e44e4c1ee10204e549608325899d 171352 
openldap_2.6.9+dfsg-1~exp1.debian.tar.xz
 1fb12e842992f97bdf44c78a0a20cc7c2a3001bc 12511 
openldap_2.6.9+dfsg-1~exp1_amd64.buildinfo
Checksums-Sha256:
 34c41675855fba207846fe79c07b0a337ffc360d476de853c523ee72aecb1972 3315 
openldap_2.6.9+dfsg-1~exp1.dsc
 dfce3ca171b4036b371455314dd35176b700ee988d3b556f156f37088516ef93 3753260 
openldap_2.6.9+dfsg.orig.tar.xz
 875dc864fadbd2fda54523cac8bf9711edcdab46971543900e1bf3d6869c7c97 171352 
openldap_2.6.9+dfsg-1~exp1.debian.tar.xz
 ff3ebc8c60aecc06b570b8ede7c8abe70eda1194dfe242c9305dbda281d00ad7 12511 
openldap_2.6.9+dfsg-1~exp1_amd64.buildinfo
Files:
 2ba5e90e4f0576cf14c365acdf70b57e 3315 net optional 
openldap_2.6.9+dfsg-1~exp1.dsc
 88aedcb863236b29aecb060863a6364c 3753260 net optional 
openldap_2.6.9+dfsg.orig.tar.xz
 fd629bc7801024eb1a51be0278640d5c 171352 net optional 
openldap_2.6.9+dfsg-1~exp1.debian.tar.xz
 cc14479fa51f3fba28c34c946215a83e 12511 net optional 
openldap_2.6.9+dfsg-1~exp1_amd64.buildinfo

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

iQJDBAEBCgAtFiEEPSfh0nqdQTd5kOFlIp/PEvXWa7YFAmdpxlwPHHJ5YW5AbmFy
ZGlzLmNhAAoJECKfzxL11mu2Ad0P/1KsGqOGPo/UPBVe8h3fyCmEbSWIXsByTrZ6
ngkaE0Inz+KyP2IW/VyLYlt7srzayZdbfgM01l31dAL+VggfDZHXLU0O3QTnRQKH
NC4H13jtRXpc/zlGtOcFS414WXPlknoQs/PWel/ixtUgyZ1GpK9dk14wwoKvqawS
+LFffq0uS5U8nWJ0EIuT5MVSDQxPX3RBWFYvRZkeKLNf5JnSxTN+H/MryjJGBVlR
6kL9moCHuyh6J0QrriF70fx0X8IYo2g0+FxaI/TNiRaX3YsQBbvWiBbdTWPFZhyi
uXswRybCyQcLjPp/PJFFDZnEo3Zvw/3Ic32L6y21B/OJl+TDd2UbboCw8H495TfU
fIC/8TwZuCaWE6W8OydfEOEy3xK/NQ8FIjv5pL+1WC8bnWs8A6jjuPOqyAjy3Ycj
tEIipbS8FNLfb9HIDRP0oQTOMwdkwDIrB5kSLWI++xC9G8t0FBhFIl2ZQLNXmmaO
VVlxrxVibkJROcLTm/6zjFwivLsfjfZQYVd6bpTL3Ira0z9YD4avtD2jXpywcy7d
FLd/7imsRJ6furOEgUdDOBHrucGO205CnNO/UKJsCcesgoJrOxiyXBYqCVh+KShe
z5danDy4sM8a8wB9vcumyfTppwSAkj9DaatPvE/ENyfKFcQd1Ylr9eXcwMp4HUjL
8PFUCxZE
=ILYE
-----END PGP SIGNATURE-----

Attachment: pgpN8cblJvfni.pgp
Description: PGP signature


--- End Message ---

Reply via email to