Your message dated Mon, 23 Dec 2024 23:07:15 +0000
with message-id <e1tprw7-004dme...@fasolo.debian.org>
and subject line Bug#1079533: fixed in openldap 2.5.19+dfsg-1
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.5.19+dfsg-1
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:05:58 -0800
Source: openldap
Architecture: source
Version: 2.5.19+dfsg-1
Distribution: unstable
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.5.19+dfsg-1) unstable; urgency=medium
.
[ Carles Pina i Estany ]
* Update po-debconf Catalan translation
.
[ Ryan Tandy ]
* New upstream release.
- Drop ITS#10221 and ITS#10253 patches, applied upstream.
* Apply patch from Helmut Grohne to fix cross-building ppm.
(Closes: #1079533)
Checksums-Sha1:
29211b6e8bcb46f464ac858894361d4d3a0b6bd1 3312 openldap_2.5.19+dfsg-1.dsc
052c015d1609d39e09ad941cb266837a4dad3246 3718696
openldap_2.5.19+dfsg.orig.tar.xz
d83e4bcd31d0f50c4c04029c62c9b3279556361d 170420
openldap_2.5.19+dfsg-1.debian.tar.xz
Checksums-Sha256:
c2819be9061fe0752ef8bd1e1df4c1fbcc494fce95d504c6614f6a8e64ce5d10 3312
openldap_2.5.19+dfsg-1.dsc
8a81909c9a816f8a0eb374d290a540b82e9331e4a7b3e4cf7de75bc6437a723c 3718696
openldap_2.5.19+dfsg.orig.tar.xz
610de35516d759e47ac81b6158b09b52b4f952bb564cba1fb9eec6bb50b1d10f 170420
openldap_2.5.19+dfsg-1.debian.tar.xz
Files:
d513dcdd886e9e70a3bee1f9fa60b8d7 3312 net optional openldap_2.5.19+dfsg-1.dsc
3aa3f7e55050e9028feec7523c53b96e 3718696 net optional
openldap_2.5.19+dfsg.orig.tar.xz
15ffb7c773914392a7ede8d063be4ed2 170420 net optional
openldap_2.5.19+dfsg-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEPSfh0nqdQTd5kOFlIp/PEvXWa7YFAmdpxrMPHHJ5YW5AbmFy
ZGlzLmNhAAoJECKfzxL11mu247QP/2br9Hr6FixbKyhG8Dk4+Q9XE2Cbh5rTSB+E
K6QR0P8F+I51gGcU7/0f8I5uOkfrp0jc+w1Emw2s98Jsji7q19s0/Xz6K8+CCw1h
iCX1gN/2cRc8PE82483plD2DYJMsL1qlujldE9vqo86N+R9w/0TyEnIsHN/O2HrA
PupDc4QF5EOj+3+KBS+j2RCIvryqTKTDHqsGn7wPfT73zh3lkH+aOuAKAY0qxJQZ
EVOAFRn87jooRcyjA++suLRakA+h/yB2DsRLThX5mQx7i0Ck9n+R55LOs735Yt0N
Y4jDDXCs8FDsWUcy9TdVCtCD9WxNXGny+DxL9dXBjJsqYGGS0hxPlVH/eDDUvdgx
pGwGw/4PhCW/o3bwtpabm3yyJ+98gDSFTyRqFoWdsmhj9QrXViL6RizhN+6aZn8D
GJKlKiEh0Itz8f4HJtPdCDwDPr7O4OucM08Po+49y4BX5QroSzNuqvHXZ42oYLBE
RUJyHa5JTt/Qhi5iEuAMmgo9lhb8JtMUBz3x5w5Mc0CW9ak8bZhZBPXAZRauQ1Pi
1VVIfnCjvZbPSgsmry5pbgpy2Lav6FNLm0O++Ig/q+8cZIsnhMnPyOtC2XACFDA3
V+SvKFd5GkRwcbqGZ7zSk/ho+zBpmH8hcr99K0GyWa9jlxI3dpiQ+sz6CH9u/J3X
Z3nVjJnh
=FGGj
-----END PGP SIGNATURE-----
pgpzeCWuHqWw1.pgp
Description: PGP signature
--- End Message ---