Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614794 - net-libs/nghttp2 fails to build with openssl-1.1
Summary: net-libs/nghttp2 fails to build with openssl-1.1
Status: RESOLVED DUPLICATE of bug 596666
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL: https://github.com/nghttp2/nghttp2/is...
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2017-04-05 18:39 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-01-29 20:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-04-05 18:39:04 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src -I.. -DPKGDATADIR=\"/usr/share/nghttp2\" -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/lib/includes -I../lib/includes -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/lib -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/includes -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/third-party -I/usr/include/libxml2 -DHAVE_CONFIG_H -pthread -I/usr/include -march=native -mtune=native -O2 -pipe -c /var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/timegm.c  -fPIC -DPIC -o .libs/libnghttp2_asio_la-timegm.o
/bin/bash ../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src -I..  -DPKGDATADIR='"/usr/share/nghttp2"' -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/lib/includes -I../lib/includes -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/lib -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/includes -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/third-party -I/usr/include/libxml2 -DHAVE_CONFIG_H -pthread -I/usr/include   -std=c++11 -march=native -mtune=native -O2 -pipe -c -o libnghttp2_asio_la-asio_common.lo `test -f 'asio_common.cc' || echo '/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/'`asio_common.cc
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src -I.. -DPKGDATADIR=\"/usr/share/nghttp2\" -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/lib/includes -I../lib/includes -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/lib -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/includes -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/third-party -I/usr/include/libxml2 -DHAVE_CONFIG_H -pthread -I/usr/include -std=c++11 -march=native -mtune=native -O2 -pipe -c /var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/asio_common.cc  -fPIC -DPIC -o .libs/libnghttp2_asio_la-asio_common.o
In file included from /usr/include/boost/asio/ssl/detail/openssl_init.hpp:100:0,
                 from /usr/include/boost/asio/ssl/context.hpp:29,
                 from /usr/include/boost/asio/ssl.hpp:19,
                 from /var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/includes/nghttp2/asio_http2.h:37,
                 from /var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/asio_common.h:32,
                 from /var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/asio_common.cc:25:
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp: In constructor ‘boost::asio::ssl::detail::openssl_init_base::do_init::do_init()’:
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:39:5: error: ‘::SSL_library_init’ has not been declared
     ::SSL_library_init();
     ^
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:40:5: error: ‘::SSL_load_error_strings’ has not been declared
     ::SSL_load_error_strings();
     ^
/usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:41:5: error: ‘::OpenSSL_add_all_algorithms’ has not been declared
     ::OpenSSL_add_all_algorithms();
     ^
make[3]: *** [Makefile:2198: libnghttp2_asio_la-asio_common.lo] Error 1
make[3]: Leaving directory '/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0-abi_x86_64.amd64/src'
make[2]: *** [Makefile:2591: all-recursive] Error 1


Please note that installed openssl-1.1 has been compiled with all deprecated
features being removed (--api=1.1.0)!
Comment 1 SpanKY gentoo-dev 2018-01-29 20:04:59 UTC
all those errors are coming from the boost headers that were included, not from the nghttp2 source files themselves

*** This bug has been marked as a duplicate of bug 596666 ***