Bug 234182 - security/certificate-transparency: Fails to build with OpenSSL 1.1.1 on on 12-STABLE
Summary: security/certificate-transparency: Fails to build with OpenSSL 1.1.1 on on 1...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks: 231931
  Show dependency treegraph
 
Reported: 2018-12-19 22:25 UTC by Alexey
Modified: 2018-12-20 02:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2018-12-19 22:25:03 UTC
Hello!

Port failed to build on FreeBSD 12.0 

-----
===>   certificate-transparency-20161015_31 depends on package: autoconf>=2.69 - found
===>   certificate-transparency-20161015_31 depends on package: automake>=1.16.1 - found
===>   certificate-transparency-20161015_31 depends on executable: gmake - found
===>   certificate-transparency-20161015_31 depends on package: pkgconf>=1.3.0_1 - found
===>   certificate-transparency-20161015_31 depends on file: /usr/local/bin/ccache - found
===>   certificate-transparency-20161015_31 depends on shared library: libevent.so - found (/usr/local/lib/libevent.so)
===>   certificate-transparency-20161015_31 depends on shared library: libevhtp.so - found (/usr/local/lib/libevhtp.so)
===>   certificate-transparency-20161015_31 depends on shared library: libgtest.so - found (/usr/local/lib/libgtest.so)
===>   certificate-transparency-20161015_31 depends on shared library: libgflags.so - found (/usr/local/lib/libgflags.so)
===>   certificate-transparency-20161015_31 depends on shared library: libglog.so - found (/usr/local/lib/libglog.so)
===>   certificate-transparency-20161015_31 depends on shared library: libgmock.so - found (/usr/local/lib/libgmock.so)
===>   certificate-transparency-20161015_31 depends on shared library: libicuuc.so - found (/usr/local/lib/libicuuc.so)
===>   certificate-transparency-20161015_31 depends on shared library: libjson-c.so - found (/usr/local/lib/libjson-c.so)
===>   certificate-transparency-20161015_31 depends on shared library: libleveldb.so - found (/usr/local/lib/libleveldb.so)
===>   certificate-transparency-20161015_31 depends on shared library: libobjecthash.so - found (/usr/local/lib/libobjecthash.so)
===>   certificate-transparency-20161015_31 depends on shared library: libprotobuf.so - found (/usr/local/lib/libprotobuf.so)
===>   certificate-transparency-20161015_31 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so)
===>   certificate-transparency-20161015_31 depends on shared library: libtcmalloc.so - found (/usr/local/lib/libtcmalloc.so)
===>  Configuring for certificate-transparency-20161015_31
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking whether gmake supports nested variables... (cached) yes
checking for gawk... (cached) /usr/bin/awk
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking whether gmake supports the include directive... yes (GNU style)
checking dependency style of c++... gcc3
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for ar... ar
checking the archiver (ar) interface... ar
checking whether c++ supports C++11 features by default... yes
checking for ant... no
checking pkg-config is at least version 0.9.0... yes
checking for json_c... yes
checking for evhtp... yes
checking for icu... yes
checking for protoc... /usr/local/bin/protoc
checking for sys/types.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/nameser.h... (cached) yes
checking for netdb.h... (cached) yes
checking for resolv.h... (cached) yes
checking how to run the C++ preprocessor... c++ -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking leveldb/filter_policy.h usability... yes
checking leveldb/filter_policy.h presence... yes
checking for leveldb/filter_policy.h... yes
checking event2/event.h usability... yes
checking event2/event.h presence... yes
checking for event2/event.h... yes
checking gflags/gflags.h usability... yes
checking gflags/gflags.h presence... yes
checking for gflags/gflags.h... yes
checking glog/logging.h usability... yes
checking glog/logging.h presence... yes
checking for glog/logging.h... yes
checking google/protobuf/message.h usability... yes
checking google/protobuf/message.h presence... yes
checking for google/protobuf/message.h... yes
checking leveldb/db.h usability... yes
checking leveldb/db.h presence... yes
checking for leveldb/db.h... yes
checking ldns/ldns.h usability... no
checking ldns/ldns.h presence... no
checking for ldns/ldns.h... no
checking objecthash.h usability... yes
checking objecthash.h presence... yes
checking for objecthash.h... yes
checking gtest/gtest.h usability... yes
checking gtest/gtest.h presence... yes
checking for gtest/gtest.h... yes
checking gmock/gmock.h usability... yes
checking gmock/gmock.h presence... yes
checking for gmock/gmock.h... yes
checking for library containing __b64_ntop... none required
checking for library containing pthread_create... -lpthread
checking for library containing dlopen... none required
checking checking for lzma library... checking for library containing lzma_index_size... -llzma
checking checking whether we need -lrt... checking for library containing clock_gettime... none required
checking checking for gflags library... yes
checking checking for glog library... yes
checking for library containing snappy_compress... -lsnappy
checking for library containing leveldb_open... -lleveldb
checking for library containing CRYPTO_set_locking_callback... no
checking for library containing SSL_CTX_new... -lssl
configure: error: could not find the OpenSSL libraries
===>  Script "configure" failed unexpectedly.
Please report the problem to ports@FreeBSD.org [maintainer] and attach the
"/usr/local/ports/work/usr/ports/security/certificate-transparency/work/certificate-transparency-28478cb/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/certificate-transparency
----


---"/usr/local/ports/work/usr/ports/security/certificate-transparency/work/certificate-transparency-28478cb/config.log"---
<skip>
configure:6915: checking for library containing SSL_CTX_new
configure:6946: c++ -o conftest -O2 -pipe -fstack-protector -fno-strict-aliasing   -Qunused-arguments -fstack-protector-all -fPIC -Wa,--noexecstack -Wformat -Wformat-se
curity -I/usr/local/include -I/usr/local/include/evhtp -D_FORTIFY_SOURCE=2  -L/usr/local/lib -fstack-protector  -pie conftest.cpp -lglog -lgflags -llzma -lpthread  -lgt
est -lgmock >&5
/usr/bin/ld: error: undefined symbol: SSL_CTX_new
<skip>
-----