Bug 237974 - USES=ssl fails on 12.0-RELEASE-p3 for misc/hashdb
Summary: USES=ssl fails on 12.0-RELEASE-p3 for misc/hashdb
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-18 21:42 UTC by Yuri Victorovich
Modified: 2019-05-18 23:20 UTC (History)
1 user (show)

See Also:


Attachments
Testcase: hashdb.shar (3.09 KB, text/plain)
2019-05-18 21:51 UTC, Yuri Victorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2019-05-18 21:42:26 UTC
Without adding openssl to BUILD_DEPENDS/RUN_DEPENDS/LDFLAGS misc/hashdb fails in the poudriere VM 12.0-RELEASE-p3 with this error:
> checking for openssl/x509.h... yes
> checking for EVP_get_digestbyname in -lcrypto... yes
> checking for SSL_library_init in -lssl... no
> configure: error: Could not find ssl library
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2019-05-18 21:45:21 UTC
(In reply to Yuri Victorovich from comment #0)

and?  why did you commit a broken port in his case?
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2019-05-18 21:49:53 UTC
(In reply to Antoine Brodin from comment #1)

It builds with BUILD_DEPENDS/RUN_DEPENDS/LDFLAGS therefore it can be considered not broken.
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2019-05-18 21:51:42 UTC
Created attachment 204457 [details]
Testcase: hashdb.shar
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2019-05-18 22:03:21 UTC
A general note,  you maintain a lot of broken ports.  Before adding more broken ports,  it would be great to fix those.

For instance:

http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/abinit-8.10.3_3.log
http://gohan1.ysv.freebsd.org/data/112i386-default-baseline/501673/logs/errors/chrono-4.0.0.89_1.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/dftbplus-18.2_6.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/esys-particle-2.3.5_4.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/gabedit-2.5.1_1.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/gmic-2.6.1_1.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/gotop-3.0.0.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/healpix-3.50.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/healpix-c-3.50.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/magnum-plugins-2019.01.log
http://gohan1.ysv.freebsd.org/data/112i386-default-baseline/501673/logs/errors/moony-lv2-0.26.0.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/ncbi-cxx-toolkit-21.0.0_1.log
http://gohan1.ysv.freebsd.org/data/112i386-default-baseline/501673/logs/errors/nest-2.16.0.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/openmx-3.8.5_4.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/py27-GPy-1.9.6_1.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/py27-open3d-python-0.2_3.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/py27-phono3py-1.13.3.27_2.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/py27-pypandoc-1.4.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/py36-GPy-1.9.6_1.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/py36-open3d-python-0.2_3.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/py36-phono3py-1.13.3.27_2.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/py36-pypandoc-1.4.log
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/xeus-cling-0.5.1.log
Comment 5 Yuri Victorovich freebsd_committer freebsd_triage 2019-05-18 23:08:44 UTC
(In reply to Antoine Brodin from comment #4)

Most of them are due to some systemic failure with missing -lomp/-lgomp libraries that exists only on 13. I'll investigate this. Most of the others are either already fixed, or I just labeled them as BROKEN on some specific architectures/systems.
Comment 6 Tobias Kortkamp freebsd_committer freebsd_triage 2019-05-18 23:14:26 UTC
(In reply to Yuri Victorovich from comment #0)
> Without adding openssl to BUILD_DEPENDS/RUN_DEPENDS/LDFLAGS misc/hashdb
> fails in the poudriere VM 12.0-RELEASE-p3 with this error:
> > checking for openssl/x509.h... yes
> > checking for EVP_get_digestbyname in -lcrypto... yes
> > checking for SSL_library_init in -lssl... no
> > configure: error: Could not find ssl library

The problem here is not in USES=ssl but that OpenSSL 1.1.1 no longer has
SSL_library_init as a function since it's just a macro now.  Several other
ports suffer from bad configure checks due to this and some just set

CONFIGURE_ARGS=	ac_cv_lib_ssl_SSL_library_init=yes

to skip it.  This seems to work for hashdb too.
Comment 7 Yuri Victorovich freebsd_committer freebsd_triage 2019-05-18 23:19:24 UTC
(In reply to Tobias Kortkamp from comment #6)

Thank you, Tobias, for this information!

I will re-add it with this line.


Yuri
Comment 8 Yuri Victorovich freebsd_committer freebsd_triage 2019-05-18 23:20:27 UTC
Bug is in the port's configure script.