Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Sep 2023 09:37:18 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>, Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: [Bug 273506] main [so: 15] aarch64 kyua python use fails with: . . . and dlerror is reporting "/usr/lib/ossl-modules/legacy.so: Undefined symbol \"MD4_Update\"", '\000' <repeats 449 times>
Message-ID:  <ACD328D4-46FA-48A5-B653-987E6CBA45C2@yahoo.com>
In-Reply-To: <721EBF15-6905-437E-9B23-A4E3D1129658@yahoo.com>
References:  <721EBF15-6905-437E-9B23-A4E3D1129658@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 2, 2023, at 00:35, Mark Millard <marklmi@yahoo.com> wrote:

> For:
>=20
>> Date: Sat, 02 Sep 2023 00:58:29 UTC=20
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273506
>>=20
>> Bug ID: 273506
>> Summary: main [so: 15] aarch64 kyua python use fails with:
>> "RuntimeError: OpenSSL 3.0's legacy provider failed to
>> load"
>> Product: Base System
>> Version: CURRENT
>> Hardware: Any
>> OS: Any
>> Status: New
>> Severity: Affects Only Me
>> Priority: ---
>> Component: arm
>> Assignee: freebsd-arm@FreeBSD.org
>> Reporter: marklmi26-fbsd@yahoo.com
>=20
> Turns out that internally dlerror is reporting:
>=20
> "/usr/lib/ossl-modules/legacy.so: Undefined symbol \"MD4_Update\"", =
'\000' <repeats 449 times>
>=20
> (as shown via a gdb session printing the string).
>=20
> See:
>=20
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273506#c3
>=20
> where I finally got to that information.

amd64 did not have:

devel/py-pytest-twisted
devel/py-twisted
net/py-dpkt
security/nist-kat
security/openvpn

installed and so was not doing the same sequence of dlopen
calls.

After adding those, the amd64 run fails like aarch64: It then starts to =
try
to use .../cryptography/hazmat/bindings/_rust.abi3.so leads to the =
problem.

[Detaching after fork from child process 98729]

Breakpoint 1.1, dlopen (name=3Dname@entry=3D0x803239710 "libc.so.7", =
mode=3D2) at /usr/main-src/libexec/rtld-elf/rtld.c:3662
3662 return (rtld_dlopen(name, -1, mode));
(gdb) c
Continuing.

Breakpoint 1.1, dlopen (name=3Dname@entry=3D0x8032c80d0 =
"/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/_rust=
.abi3.so", mode=3D2) at /usr/main-src/libexec/rtld-elf/rtld.c:3662
3662 return (rtld_dlopen(name, -1, mode));
(gdb) c
Continuing.

Breakpoint 1.1, dlopen (name=3Dname@entry=3D0x8032c7440 =
"/usr/local/lib/python3.9/site-packages/_cffi_backend.cpython-39.so", =
mode=3D2) at /usr/main-src/libexec/rtld-elf/rtld.c:3662
3662 return (rtld_dlopen(name, -1, mode));
(gdb) c
Continuing.

Breakpoint 1.1, dlopen (name=3Dname@entry=3D0x80219d080 =
"/usr/lib/ossl-modules/legacy.so", mode=3D2) at =
/usr/main-src/libexec/rtld-elf/rtld.c:3662
3662 return (rtld_dlopen(name, -1, mode));
(gdb) c
Continuing.
INTERNALERROR> Traceback (most recent call last):
. . .

This appears to be tied to devel/py-twisted and/or =
devel/py-pytest-twisted
but like anything leading to loading
.../cryptography/hazmat/bindings/_rust.abi3.so is going to get the
problem.


=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ACD328D4-46FA-48A5-B653-987E6CBA45C2>