Bug 236820 - security/distcache: Fails to configure: SSL/TLS libraries were missing or unusable
Summary: security/distcache: Fails to configure: SSL/TLS libraries were missing or unu...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Alexey Dokuchaev
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2019-03-27 03:41 UTC by tech-lists
Modified: 2020-07-07 10:13 UTC (History)
1 user (show)

See Also:
koobs: merge-quarterly?


Attachments
workdir distcache-1.5.1/config.log (114.92 KB, text/plain)
2019-03-27 08:02 UTC, tech-lists
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description tech-lists 2019-03-27 03:41:52 UTC
context is poudriere, 12-stable r343792, ports r496934

Seems to fail at the configure stage:

[00:01:02] checking openssl/opensslv.h usability... yes
[00:01:02] checking openssl/opensslv.h presence... yes
[00:01:02] checking for openssl/opensslv.h... yes
[00:01:02] checking openssl/ssl.h usability... yes
[00:01:03] checking openssl/ssl.h presence... yes
[00:01:03] checking for openssl/ssl.h... yes
[00:01:03] checking for OpenSSL version... OK
[00:01:03] checking for OpenSSL ENGINE support... yes
[00:01:03] checking for SSLeay_version in -lcrypto... no
[00:01:03] checking for SSL_CTX_new in -lssl... yes
[00:01:03] configure: error: ... Error, SSL/TLS libraries were missing or unusable
[00:01:03] configure: error: /bin/sh './configure' failed for ssl
[00:01:03] ===>  Script "configure" failed unexpectedly.
[00:01:03] Please report the problem to ports@FreeBSD.org [maintainer] and attach the
[00:01:03] "/wrkdirs/usr/ports/security/distcache/work/distcache-1.5.1/config.log"
[00:01:03] including the output of the failure of your make command. Also, it might be
[00:01:03] a good idea to provide an overview of all packages installed on your system
[00:01:03] (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
[00:01:03] *** Error code 1
[00:01:03] 
[00:01:03] Stop.
[00:01:03] make: stopped in /usr/ports/security/distcache
[00:01:05] =>> Cleaning up wrkdir
[00:01:05] ===>  Cleaning for distcache-1.5.1
[00:01:05] build of security/distcache | distcache-1.5.1 ended at Wed Mar 27 03:12:31 GMT 2019
[00:01:05] build time: 00:01:05
[00:01:05] !!! build failure encountered !!!

Full buildlog at https://pkg.zyxst.net/data/120R-p3-cloud/2019-03-27_03h10m17s/logs/errors/distcache-1.5.1.log
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-03-27 03:54:56 UTC
Could you please include (as an attachment) the config.log file in the WRKSRC directory after configure fails.
Comment 2 tech-lists 2019-03-27 08:02:51 UTC
Created attachment 203181 [details]
workdir distcache-1.5.1/config.log

please see attachment
Comment 3 commit-hook freebsd_committer 2020-07-07 10:08:11 UTC
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
Comment 4 Alexey Dokuchaev freebsd_committer 2020-07-07 10:13:04 UTC
Should be fixed as of ports r541400, please test and report of any issues I might have missed while making it new-OpenSSL-friendly.