NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: buildworld failure due to md5 not supported by openssl3
On Wed, Nov 22, 2023 at 04:21:01PM +0100, Ede Wolf wrote:
> My build says somethig different about warnings and errors (Marking by me,
> of course):
>
> /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);
> | ^
My build says:
# compile lib/crypto.o
/work/tools/bin/alpha--netbsd-gcc -O2 -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 --sysroot=/work/hosts/alpha -I/work/src/crypto/external/bsd/libsaslc/lib/../dist/include -c -Wno-error=deprecated-declarations /work/src/crypto/external/bsd/libsaslc/lib/../dist/src/crypto.c -o crypto.o
Note that it has: -Wno-error=deprecated-declarations
(which comes from COPTS.crypto.c in the Makefile there).
So something in your setup must override that, but it is not obvious to me
right now.
If you go into src/crypto/external/bsd/libsaslc/lib and invoke your
$TOOLDIR/bin/nbmake-alpha with "-v COPTS.crypto.c" - what does it say?
Or it may override the construction of the final flags from that variable,
maybe due to your CPUFLAGS settings?
Martin
Home |
Main Index |
Thread Index |
Old Index