Hello,
just trying to crosscompile world, which fails with crypto not being
able to be build, as MD5 is claimed to not be supported by openssl3.
Is it just me or is anything known? cvs updated just an hour or so ago:
/data/src/crypto/external/bsd/libsaslc/lib/../dist/src/crypto.c: In
function 'saslc__crypto_md5_hash':
/data/src/crypto/external/bsd/libsaslc/lib/../dist/src/crypto.c:218:3:
error: 'MD5' is deprecated: Since OpenSSL 3.0
[-Werror=deprecated-declarations]
218 | (void)MD5((const unsigned char *)buf, buflen, digest);
| ^
In file included from
/data/src/crypto/external/bsd/libsaslc/lib/../dist/src/crypto.c:50:
/data/destdir/usr/include/openssl/md5.h:52:38: note: declared here
52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char
*d, size_t n,
| ^~~
/data/src/crypto/external/bsd/libsaslc/lib/../dist/src/crypto.c: In
function 'saslc__crypto_md5_hex':
/data/src/crypto/external/bsd/libsaslc/lib/../dist/src/crypto.c:233:2:
error: 'MD5' is deprecated: Since OpenSSL 3.0
[-Werror=deprecated-declarations]
233 | (void)MD5((const unsigned char *)buf, buflen, digest);
| ^
In file included from
/data/src/crypto/external/bsd/libsaslc/lib/../dist/src/crypto.c:50:
/data/destdir/usr/include/openssl/md5.h:52:38: note: declared here
52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char
*d, size_t n,
| ^~~
cc1: all warnings being treated as errors
*** Failed target: crypto.pico
*** Failed commands:
${_MKTARGET_COMPILE}
=> @echo '# ' "compile " lib/crypto.pico
${COMPILE.c} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}}
${CPPFLAGS.${.IMPSRC:T}} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}
=>
/data/obj/data/src/tooldir.NetBSD-10.0_RC1-amd64/bin/alpha--netbsd-gcc
-O2 -mcpu=21164a -fdebug-prefix-map=\$DESTDIR=
-fdebug-prefix-map=\$NETBSDSRCDIR=/usr/src
-fdebug-prefix-map=\$X11SRCDIR=/usr/xsrc
-fdebug-prefix-map=\$NETBSDOBJDIR=/usr/obj
-fdebug-regex-map='/usr/src/(.*)/obj$=/usr/obj/\1'
-fdebug-regex-map='/usr/src/(.*)/obj/(.*)=/usr/obj/\1/\2'
-fdebug-regex-map='/usr/src/(.*)/obj\..*=/usr/obj/\1'
-fdebug-regex-map='/usr/src/(.*)/obj\..*/(.*)=/usr/obj/\1/\2'
-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional
-Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare
-Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -mieee
-mcpu=21164a --sysroot=/data/destdir
-I/data/src/crypto/external/bsd/libsaslc/lib/../dist/include
-Wp,-iremap,/data/destdir: -Wp,-fno-canonical-system-headers
-Wp,-iremap,/data/src:/usr/src -Wp,-iremap,/usr/xsrc:/usr/xsrc -c
-fPIC /data/src/crypto/external/bsd/libsaslc/lib/../dist/src/crypto.c
-o crypto.pico
${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}
=>
/data/obj/data/src/tooldir.NetBSD-10.0_RC1-amd64/bin/alpha--netbsd-objcopy
-x crypto.pico
*** [crypto.pico] Error code 1