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
Am 22.11.23 um 12:25 schrieb Martin Husemann:
On Wed, Nov 22, 2023 at 12:00:10PM +0100, Ede Wolf wrote:
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);
| ^
This warnings are not treated as errors in the build usually, how are you
doing this build? Anything special in /etc/mk.conf?
Martin
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);
| ^
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:
My command:
./build.sh -a alpha -m alpha -j 4 -r -M /data/obj -D /data/destdir -R
/data/release distsets
My mk.conf should be rather unspectacular as well:
# cat /etc/mk.conf
CPUFLAGS = -mcpu=21164a
# world related stuff:
NETBSDSRCDIR=/data/src
BSDOBJDIR=/data/obj
INSTALLWORLDDIR=/data/install
DESTDIR=/data/destdir
RELEASEDIR=/data/release
USETOOLS=yes
INSTALLSETS=base comp etc games man misc text modules
MKATF=no
MKCLEANSRC=yes
MKCLEANVERIFY=yes
MKCOMPAT=no
MKCVS=yes
MKDEBUGLIB=no
MKDOC=yes
MKDTRACE=no
MKGDB=no
MKHOSTOBJ=no
MKHTML=no
MKINFO=no
MKIPFILTER=no
MKISCSI=yes
MKKERBEROS=no
USE_KERBEROS=no
MKLDAP=no
USE_LDAP=no
MKLVM=no
MKMANZ=yes
MKMDNS=no
MKNOUVEAUFIRMWARE=no
MKNPF=yes
MKPF=no
MKPOSTFIX=yes
MKPROFILE=no
MKRADEONFIRMWARE=no
MKREPRO=yes
MKRUMP=no
MKX11=no
MKX11FONTS=no
MKX11MOTIF=no
MKZFS=no
MKYP=no
USE_YP=no
MKHESIOD=no
USE_HESIOD=no
MKPAM=yes
USE_PAM=yes
MKSKEY=no
USE_SKEY=no
Thanks again for your time. The host that is doing the build is a
standard NetBSD 10RC1 on amd64, Generic Kernel, generic sets.
Ede
Home |
Main Index |
Thread Index |
Old Index