Comment 2 for bug 23446

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 7 Oct 2005 09:06:40 -0700
From: Matt Kraai <email address hidden>
To: <email address hidden>
Subject: FTBFS: Syntax error before MD5_CTX

--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: cyrus-sasl2
Version: 2.1.19-1.6
Severity: serious

cyrus-sasl2 fails to build because there is a syntax error before
MD5_CTX:

> if /bin/sh ../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I.. -=
I../include -I../lib -I../sasldb -I../include -I/usr/include/mysql -I/usr/=
include -Wall -W -fno-strict-aliasing -g -O2 -MT ntlm.lo -MD -MP -MF ".dep=
s/ntlm.Tpo" \
> -c -o ntlm.lo `test -f 'ntlm.c' || echo './'`ntlm.c; \
> then mv -f ".deps/ntlm.Tpo" ".deps/ntlm.Plo"; \
> else rm -f ".deps/ntlm.Tpo"; exit 1; \
> fi
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../=
include -I/usr/include/mysql -I/usr/include -Wall -W -fno-strict-aliasing -=
g -O2 -MT ntlm.lo -MD -MP -MF .deps/ntlm.Tpo -c ntlm.c -fPIC -DPIC -o .lib=
s/ntlm.o
> In file included from ../include/saslplug.h:14,
> from ntlm.c:96:
> ../include/hmac-md5.h:11: error: syntax error before 'MD5_CTX'
> ../include/hmac-md5.h:11: warning: no semicolon at end of struct or union
> ../include/hmac-md5.h:12: warning: type defaults to 'int' in declaration =
of 'HMAC_MD5_CTX'
> ../include/hmac-md5.h:12: warning: data definition has no type or storage=
 class
> ../include/hmac-md5.h:36: error: syntax error before '*' token
> ../include/hmac-md5.h:46: error: syntax error before '*' token
> ../include/hmac-md5.h:53: error: syntax error before 'HMAC_MD5_CTX'
> In file included from ntlm.c:96:
> ../include/saslplug.h:73: error: syntax error before '*' token
> ../include/saslplug.h:74: error: syntax error before '*' token
> ../include/saslplug.h:75: error: syntax error before 'MD5_CTX'
> ../include/saslplug.h:79: error: syntax error before '*' token
> ../include/saslplug.h:81: error: syntax error before 'HMAC_MD5_CTX'
> ../include/saslplug.h:84: error: syntax error before '*' token
> ntlm.c: In function 'load_buffer':
> ntlm.c:277: warning: pointer targets in passing argument 2 of 'to_unicode=
' differ in signedness
> ntlm.c: In function 'P16_lm':
> ntlm.c:375: warning: pointer targets in passing argument 2 of '__builtin_=
strncpy' differ in signedness
> ntlm.c:378: warning: pointer targets in passing argument 2 of 'E' differ =
in signedness
> ntlm.c:367: warning: unused parameter 'utils'
> ntlm.c:368: warning: unused parameter 'buf'
> ntlm.c:369: warning: unused parameter 'buflen'
> ntlm.c: In function 'P16_nt':
> ntlm.c:392: warning: pointer targets in passing argument 1 of 'to_unicode=
' differ in signedness
> ntlm.c:392: warning: pointer targets in passing argument 2 of 'to_unicode=
' differ in signedness
> ntlm.c:393: warning: pointer targets in passing argument 1 of 'MD4' diffe=
r in signedness
> ntlm.c: In function 'V2':
> ntlm.c:446: warning: pointer targets in passing argument 1 of 'to_unicode=
' differ in signedness
> ntlm.c:448: warning: pointer targets in passing argument 4 of 'HMAC' diff=
er in signedness
> ntlm.c:448: warning: pointer targets in passing argument 7 of 'HMAC' diff=
er in signedness
> ntlm.c:454: warning: pointer targets in passing argument 3 of 'HMAC_Final=
' differ in signedness
> ntlm.c: In function 'make_netbios_name':
> ntlm.c:770: warning: pointer targets in passing argument 1 of '__builtin_=
strncpy' differ in signedness
> ntlm.c:771: warning: pointer targets in assignment differ in signedness
> ntlm.c: In function 'smb_negotiate_protocol':
> ntlm.c:1034: warning: pointer targets in assignment differ in signedness
> ntlm.c:1116: warning: pointer targets in passing argument 2 of 'from_unic=
ode' differ in signedness
> ntlm.c: In function 'smb_session_setup':
> ntlm.c:1257: warning: pointer targets in assignment differ in signedness
> ntlm.c: In function 'create_challenge':
> ntlm.c:1344: warning: pointer targets in assignment differ in signedness
> ntlm.c:1350: warning: pointer targets in passing argument 2 of 'load_buff=
er' differ in signedness
> ntlm.c: In function 'ntlm_server_mech_new':
> ntlm.c:1357: warning: unused parameter 'glob_context'
> ntlm.c:1359: warning: unused parameter 'challenge'
> ntlm.c:1360: warning: unused parameter 'challen'
> ntlm.c: In function 'ntlm_server_mech_step1':
> ntlm.c:1399: warning: unused parameter 'oparams'
> ntlm.c: In function 'ntlm_server_mech_step2':
> ntlm.c:1481: warning: pointer targets in passing argument 2 of 'unload_bu=
ffer' differ in signedness
> ntlm.c:1481: warning: pointer targets in passing argument 6 of 'unload_bu=
ffer' differ in signedness
> ntlm.c:1486: warning: pointer targets in passing argument 2 of 'unload_bu=
ffer' differ in signedness
> ntlm.c:1486: warning: pointer targets in passing argument 6 of 'unload_bu=
ffer' differ in signedness
> ntlm.c:1492: warning: pointer targets in passing argument 2 of 'unload_bu=
ffer' differ in signedness
> ntlm.c:1492: warning: pointer targets in passing argument 6 of 'unload_bu=
ffer' differ in signedness
> ntlm.c:1498: warning: pointer targets in passing argument 2 of 'unload_bu=
ffer' differ in signedness
> ntlm.c:1498: warning: pointer targets in passing argument 6 of 'unload_bu=
ffer' differ in signedness
> ntlm.c:1561: warning: pointer targets in passing argument 1 of '__builtin=
_strncpy' differ in signedness
> ntlm.c:1573: error: 'MD5_DIGEST_LENGTH' undeclared (first use in this fun=
ction)
> ntlm.c:1573: error: (Each undeclared identifier is reported only once
> ntlm.c:1573: error: for each function it appears in.)
> ntlm.c:1463: warning: unused parameter 'serverout'
> ntlm.c:1464: warning: unused parameter 'serveroutlen'
> ntlm.c: In function 'create_request':
> ntlm.c:1779: warning: pointer targets in assignment differ in signedness
> ntlm.c:1785: warning: pointer targets in passing argument 2 of 'load_buff=
er' differ in signedness
> ntlm.c:1787: warning: pointer targets in passing argument 2 of 'load_buff=
er' differ in signedness
> ntlm.c: In function 'create_response':
> ntlm.c:1832: warning: pointer targets in assignment differ in signedness
> ntlm.c:1842: warning: pointer targets in passing argument 2 of 'load_buff=
er' differ in signedness
> ntlm.c:1844: warning: pointer targets in passing argument 2 of 'load_buff=
er' differ in signedness
> ntlm.c:1847: warning: pointer targets in passing argument 2 of 'load_buff=
er' differ in signedness
> ntlm.c: In function 'ntlm_client_mech_new':
> ntlm.c:1855: warning: unused parameter 'glob_context'
> ntlm.c: In function 'ntlm_client_mech_step1':
> ntlm.c:1879: warning: unused parameter 'serverin'
> ntlm.c:1880: warning: unused parameter 'serverinlen'
> ntlm.c:1881: warning: unused parameter 'prompt_need'
> ntlm.c:1884: warning: unused parameter 'oparams'
> ntlm.c: In function 'ntlm_client_mech_step2':
> ntlm.c:1988: warning: pointer targets in passing argument 2 of 'unload_bu=
ffer' differ in signedness
> ntlm.c:2001: error: 'MD5_DIGEST_LENGTH' undeclared (first use in this fun=
ction)
> ntlm.c:2010: warning: pointer targets in passing argument 5 of 'V2' diffe=
r in signedness
> ntlm.c:2010: warning: pointer targets in passing argument 6 of 'V2' diffe=
r in signedness

--=20
Matt

--azLHFNyN32YCQGCU
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDRp0PfNdgYxVXvBARAl2OAJ9/EH69BP5i0yeaEcr8rzpwxVD26gCeNhGJ
ptSzKj2jTCWOOQTACFYR39s=
=ynj4
-----END PGP SIGNATURE-----

--azLHFNyN32YCQGCU--