Your message dated Thu, 22 Aug 2024 04:49:07 +0000
with message-id <e1sgzkx-00ffrs...@fasolo.debian.org>
and subject line Bug#1078822: fixed in openldap 2.5.18+dfsg-3
has caused the Debian Bug report #1078822,
regarding openldap FTBFS on 32bit architectures:
../../../../libraries/libldap/tls_g.c:951:57: error: passing argument 4 of
'gnutls_fingerprint' from incompatible pointer type
[-Wincompatible-pointer-types]
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.)
--
1078822: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078822
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openldap
Version: 2.5.18+dfsg-2
Severity: serious
Tags: ftbfs upstream
User: helm...@debian.org
Usertags: rebootstrap
Hi,
openldap fails to build from source on 32bit architectures. A build ends
as follows:
| /bin/bash ../../libtool --mode=compile i686-linux-gnu-gcc -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../../include
-I../../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLDAP_LIBRARY -c
../../../../libraries/libldap/tls_g.c
| libtool: compile: i686-linux-gnu-gcc -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../../include -I../../../../include
-Wdate-time -D_FORTIFY_SOURCE=2 -DLDAP_LIBRARY -c
../../../../libraries/libldap/tls_g.c -fPIC -DPIC -o .libs/tls_g.o
| ../../../../libraries/libldap/tls_g.c: In function 'tlsg_session_endpoint':
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_UNKNOWN' not handled in switch [-Wswitch]
| 832 | switch (md) {
| | ^~~~~~
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_RMD160' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_SHA256' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_SHA384' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_SHA512' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_SHA224' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_SHA3_224' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_SHA3_256' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_SHA3_384' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_SHA3_512' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_MD5_SHA1' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_GOSTR_94' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_STREEBOG_256' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_STREEBOG_512' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_SHAKE_128' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c:832:9: warning: enumeration value
'GNUTLS_DIG_SHAKE_256' not handled in switch [-Wswitch]
| ../../../../libraries/libldap/tls_g.c: In function 'tlsg_session_pinning':
| ../../../../libraries/libldap/tls_g.c:951:57: error: passing argument 4 of
'gnutls_fingerprint' from incompatible pointer type
[-Wincompatible-pointer-types]
| 951 | keyhash.bv_val,
&keyhash.bv_len ) < 0 ) {
| |
^~~~~~~~~~~~~~~
| | |
| | ber_len_t *
{aka long unsigned int *}
| In file included from ../../../../libraries/libldap/tls_g.c:44:
| /usr/include/gnutls/gnutls.h:2408:32: note: expected 'size_t *' {aka
'unsigned int *'} but argument is of type 'ber_len_t *' {aka 'long unsigned int
*'}
| 2408 | size_t *result_size);
| | ~~~~~~~~^~~~~~~~~~~
| make[5]: *** [Makefile:432: tls_g.lo] Error 1
| make[5]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/libraries/libldap'
| make[4]: *** [Makefile:312: all-common] Error 1
| make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/libraries'
| make[3]: *** [Makefile:320: all-common] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
| dh_auto_build: error: cd debian/build && make -j1 returned exit code 2
| make[2]: *** [debian/rules:82: override_dh_auto_build] Error 25
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| make[1]: *** [debian/rules:54: build] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:56: binary] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status
2
ber_len_t is typedef'ed in openldap as unsigned LBER_LEN_T, which is
AC_DEFINED as long. I'm not sure what a static AC_DEFINE in configure.ac
achieves, but that's what we have. On the other side, we have size_t,
which happens to be 32bit. Bummer. I suggest passing the 4th argument as
a temporary variable of type size_t and copying it from/to the target
structure after validating that it fits. If you happen to locate a patch
fixing this, please tell as I would like to cherry-pick it into
rebootstrap.git due to the low frequency of openldap uploads.
Helmut
--- End Message ---
--- Begin Message ---
Source: openldap
Source-Version: 2.5.18+dfsg-3
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 1078...@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: Wed, 21 Aug 2024 20:38:08 -0700
Source: openldap
Architecture: source
Version: 2.5.18+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenLDAP Maintainers
<pkg-openldap-de...@lists.alioth.debian.org>
Changed-By: Ryan Tandy <r...@nardis.ca>
Closes: 1078822
Changes:
openldap (2.5.18+dfsg-3) unstable; urgency=medium
.
* Fix FTBFS on 32-bit architectures. (ITS#10253) (Closes: #1078822)
Checksums-Sha1:
3f2364e88ed53c6e6ba1fa1dbe0c1bf87f211368 3312 openldap_2.5.18+dfsg-3.dsc
d9dcc65b1bf5ab1076ae99bbf046edcd9e559074 170524
openldap_2.5.18+dfsg-3.debian.tar.xz
Checksums-Sha256:
d6683f3fb2b6ffa87a1f2d1fc27df8897c7c6b84a2350257a255cbc3624f275c 3312
openldap_2.5.18+dfsg-3.dsc
3659cea45ff2027712f2fe95ccff5fe1a0806769092670cabf53d05291f08e8c 170524
openldap_2.5.18+dfsg-3.debian.tar.xz
Files:
2b9a897ce635db4a0dc656c528eb8f81 3312 net optional openldap_2.5.18+dfsg-3.dsc
0235f4416e6b0d16224b40ce67d517b7 170524 net optional
openldap_2.5.18+dfsg-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEPSfh0nqdQTd5kOFlIp/PEvXWa7YFAmbGtT0PHHJ5YW5AbmFy
ZGlzLmNhAAoJECKfzxL11mu245YP/3+/F+YwZ9615OdDs1v35PJY9A69dZG7MkJQ
YBurRxwzp1s+q+gVRRuvTMn3m5MIWgqN05bY3J5hUQU0hTXJZul9K7JzB3Z/vhHi
Kju+4fVuYYkzXRjo+C5c8u6KnWikNDyFEzpvvKAsWDQ+Fv4uz5fZ7FYyNq19ND/O
xneWcJWDa/oOOdHzQCmPcZzQJ0tBMHA5qZOb9OQx8GTGC3+q/k7RqqZ5P6GHyDn1
NytV6lTnvNdDFDzJasZIDPxOFRUmnDgnCsufKrzKMvTiAVBbfA3Q7kpHNLYf9hAR
FPTz0FCZRbV5cJqtaE5/eI+Jr3tsLi0snJTfPJh9LXOTZ/1T1QVJ+JYNP45z7yeR
BnN/IXu88rJP6nxGGMg6EMT8crT25rfV0xmZV13iUzf37PqnS8RANNZsO7wOcrCh
0rgVFMmfcJCYTtFY9d4UGyZIjZd9+aT8bLxQ80XbDrZNHEecFOJ/CRzc3UfRM5Vh
apT4RPHYgeUStHT+37OjQCu5dA4LLff6TcM1ama3iaZ83ttuoUekeBz1WimfgmlC
i0VRkkYLtJv7sAOAFKBFBBuToQ0KIZP6zZ5hak6xR11jZhKZMnSZdld9R5VT08e1
m/dewDe9ix3kgfQIJr0bv0IMepbjnnN8U+efuu6HSQKTUUzWGZljeZuPfLcBAp42
aL6ORK0Z
=rdHo
-----END PGP SIGNATURE-----
pgpdia0c9Mt7M.pgp
Description: PGP signature
--- End Message ---