[Bug 275160] devel/tcltls: 1.7.18 broken under FreeBSD 14.0-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 18 Nov 2023 15:02:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275160

--- Comment #2 from Sirn Thanabulpong <sirn@ogsite.net> ---
(In reply to Robert Clausecker from comment #1)

The package should be the most recent versions. I've also tried to build tcl86
and tcltls from ports, but I'm seeing the same result.

Just to make sure, I ran:

    $ doas pkg-static update
    $ doas pkg-static upgrade -f

And imported tcltls again, but the issue persists.

I've done some more debugging, and it looks like the background of the issue is
that:

1. tcltls generates a dh_param.h using gen_dh_params script during build
2. gen_dh_params script depends on the "openssl dhparam -C" for this purpose
3. the "openssl dhparam -C" was removed in openssl 3.0[1]
4. FreeBSD tcltls patched gen_dh_params to disable other fallback generation
method
5. since 14.0-RELEASE shipped with OpenSSL 3.0, this has caused gen_dh_params
script to silently fail 
6. sadly, the compilation went through[2], and tcltls imploded on runtime as a
result

[1]: https://github.com/openssl/openssl/pull/13384

[2]: and due to this, it was never flagged in bug #258413

-- 
You are receiving this mail because:
You are the assignee for the bug.