messagelib-24.12.2 is not supported on systems with OpenSSL 1.1.1.

HI,

I've been stupid!

I did a portupgrade without properly checking what was being upgraded/deleted/installed and have lost kmail.

uname -a
FreeBSD laptop 13.4-RELEASE-p3 FreeBSD 13.4-RELEASE-p3 GENERIC amd64

kmail also seems to be missing in the pkg repository

Code:
pkg search -g \*kmail\*

kmail-account-wizard-24.12.0   KDE mail account wizard
kmailtransport-24.12.0         KDE library to managing mail transport
p5-Mail-Bulkmail-3.12_1        Perl module for mailing lists
rubygem-aws-sdk-workmail-1.79.0 Official AWS Ruby gem for Amazon WorkMail
rubygem-aws-sdk-workmailmessageflow-1.48.0 Official AWS Ruby gem for Amazon WorkMail Message Flow

It seems to resolve down to an incompatibility with messagelibs and openssl as trying to build kmail from ports results in:
Code:
===>   mailcommon-24.12.2 depends on shared library: libKPim6MailImporter.so - found (/usr/local/lib/libKPim6MailImporter.so)
===>   mailcommon-24.12.2 depends on shared library: libKPim6MailTransport.so - found (/usr/local/lib/libKPim6MailTransport.so)
===>   mailcommon-24.12.2 depends on shared library: libKPim6MessageList.so - not found
===>  messagelib-24.12.2 is not supported on systems with OpenSSL 1.1.1.
*** Error code 1

so,
%openssl version
OpenSSL 1.1.1w-freebsd 11 Sep 2023

That seems reasonable so far.

But, I have openssl32-3.2.3_1 installed

Code:
pkg info | grep -i openssl
openssl32-3.2.3_1              TLSv1.3 capable SSL and crypto library
p5-Crypt-OpenSSL-Bignum-0.09   OpenSSL's multiprecision integer arithmetic
p5-Crypt-OpenSSL-RSA-0.33      Perl5 module to RSA encode and decode strings using OpenSSL
p5-Crypt-OpenSSL-Random-0.17   Perl5 interface to the OpenSSL pseudo-random number generator
py311-openssl-24.1.0,1         Python interface to the OpenSSL library
py311-service-identity-24.2.0  Service identity verification for pyOpenSSL & cryptography
py39-openssl-23.2.0,1          Python interface to the OpenSSL library

and have the correct bit in /etc/make.conf, I think (according to OpenSSL_for_ports
Code:
cat /etc/make.conf
#MAKE_JOBS_NUMBER=2
OPTIONS_UNSET= DEBUG NOUVEAU LPR
OPTIONS_SET=CUPS
CUPS-OVERWRITE_BASE=yes
QT4_OPTIONS=CUPS QGTKSTYLE
.if ${.CURDIR:M*/x11-fonts/webfonts}
WITH_MSWINDOWS_LICENSE=yes
.endif
KDE4_PREFIX=/usr/local
DISABLE_VULNERABILITIES=yes
#DEFAULT_VERSIONS+=ssl=openssl
DEFAULT_VERSIONS+=ssl=openssl32

Obviously I'm doing something wrong, can anyone tell me what it is?
Or, tell I'm still being stupid and have omitted some crucial information you need to tell me why I'm stupid :-)
 
kmail also seems to be missing in the pkg repository
Yeah, it's net/messagelib that's failing there too https://portsfallout.com/fallout?port=net/messagelib$ anything that depends on it will be missing.

But, on the FreeBSD package builders I would expect to see that error. It's building for the 'default' OpenSSL, and that's the one that comes with the base OS. For 13.x it's 'stuck' on 1.1.1.

and have the correct bit in /etc/make.conf
Yes, that looks good. It should build with the security/openssl32, not the base OS one. Not sure why it's not doing that.


That said, it might be a good idea to upgrade to 14.2. It has OpenSSL 3.0.15 in the base.
 
Back
Top