Summary: | security/distcache: Fails to configure: SSL/TLS libraries were missing or unusable | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | tech-lists | ||||
Component: | Individual Port(s) | Assignee: | Alexey Dokuchaev <danfe> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | danfe, gessel | ||||
Priority: | --- | Keywords: | needs-qa | ||||
Version: | Latest | Flags: | koobs:
merge-quarterly?
|
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
tech-lists
2019-03-27 03:41:52 UTC
Could you please include (as an attachment) the config.log file in the WRKSRC directory after configure fails. Created attachment 203181 [details]
workdir distcache-1.5.1/config.log
please see attachment
A commit references this bug: Author: danfe Date: Tue Jul 7 10:07:50 UTC 2020 New revision: 541400 URL: https://svnweb.freebsd.org/changeset/ports/541400 Log: - Unbreak the build against contemporary versions of OpenSSL - Hoop up a simple test to our framework so we know it works PR: 236820 Changes: head/security/distcache/Makefile head/security/distcache/files/patch-ssl__swamp__swamp.c head/security/distcache/files/patch-ssl__swamp__swamp.h head/security/distcache/files/patch-ssl__swamp__utils.c head/security/distcache/files/patch-ssl_libnalssl_bss__nal.c Should be fixed as of ports r541400, please test and report of any issues I might have missed while making it new-OpenSSL-friendly. I'm running into this bug in distcache-1.5.1 compiling against openssl-1.1.1k_1,1. checking for SSL/TLS toolkit base... /usr/local checking openssl/opensslv.h usability... yes checking openssl/opensslv.h presence... yes checking for openssl/opensslv.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for OpenSSL version... OK checking for OpenSSL ENGINE support... yes checking for SSLeay_version in -lcrypto... no checking for SSL_CTX_new in -lssl... yes configure: error: ... Error, SSL/TLS libraries were missing or unusable configure: error: /bin/sh './configure' failed for ssl ===> Script "configure" failed unexpectedly. Please report the problem to ports@FreeBSD.org [maintainer] and attach the "/var/ports/usr/ports/security/distcache/work/distcache-1.5.1/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/security/distcache ===>>> make build failed for security/distcache ===>>> Aborting update A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=426c0efca9f0077e2ce01d73ed890edfffb3989a commit 426c0efca9f0077e2ce01d73ed890edfffb3989a Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2021-07-22 09:52:54 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2021-07-22 09:53:03 +0000 security/distcache: unbreak the build when using OpenSSL from ports While appropriate --with-ssl=${OPENSSLBASE} switch is passed to the configure script, the SSLeay_version -> OpenSSL_version adjustment was performed not relative to ${OPENSSLINC}, which is wrong. Also, this check cannot be executed at `post-patch' because OpenSSL from ports is not yet available at this early stage. PR: 236820 security/distcache/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) |