/usr/bin/x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/mruby/include -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/mruby-input-stream/src -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/include -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/cloexec -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/brotli/enc -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/golombset -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/libgkc -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/libyrmcds -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/klib -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/neverbleed -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/picohttpparser -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/picotest -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/yaml/include -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/yoml -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/picotls/deps/cifra/src/ext -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/picotls/deps/cifra/src -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/picotls/deps/micro-ecc -I/var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/picotls/include -DNDEBUG -O2 -g -Wall -Wno-unused-value -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-result -O2 -pipe -march=native -DH2O_ROOT="/usr" -DH2O_CONFIG_PATH="/etc/h2o/h2o.conf" -pthread -D_GNU_SOURCE -DH2O_USE_LIBUV=0 -DH2O_USE_BROTLI=1 -DH2O_USE_MRUBY=1 -DH2O_USE_PICOTLS=1 -o CMakeFiles/h2o.dir/deps/neverbleed/neverbleed.c.o -c /var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/neverbleed/neverbleed.c /var/tmp/portage/www-servers/h2o-2.2.5/work/h2o-2.2.5/deps/neverbleed/neverbleed.c:635:13: error: static declaration of ‘RSA_get0_key’ follows non-static declaration static void RSA_get0_key(const RSA *rsa, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:96, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-hardened_libressl_20190218-201623 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) [3] ruby26 (with Rubygems) * Available Rust versions: [1] rust-1.32.0 * emerge -qpvO www-servers/h2o [ebuild N ] www-servers/h2o-2.2.5 USE="libressl mruby"
Created attachment 565950 [details] emerge-info.txt
Created attachment 565952 [details] emerge-history.txt
Created attachment 565954 [details] environment
Created attachment 565956 [details] etc.portage.tbz2
Created attachment 565958 [details] logs.tbz2
Created attachment 565960 [details] temp.tbz2
Created attachment 565962 [details] www-servers:h2o-2.2.5:20190220-162734.log
Created attachment 566116 [details, diff] those offending static declarations are only for openssl < 1.1 - added !defined(libressl_version_number) to that leading "if" statement. This patch compiles on AMD64.
(In reply to pagorman from comment #8) > Created attachment 566116 [details, diff] [details, diff] > those offending static declarations are only for openssl < 1.1 - added > !defined(libressl_version_number) to that leading "if" statement. > > This patch compiles on AMD64. Using LibreSSL-2.8.X, still needs testing on 2.7.X - I'll leave this for others.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc8384f173ea1b1578cfd0fbc8c38879b248811c commit dc8384f173ea1b1578cfd0fbc8c38879b248811c Author: Akinori Hattori <hattya@gentoo.org> AuthorDate: 2019-03-02 12:45:45 +0000 Commit: Akinori Hattori <hattya@gentoo.org> CommitDate: 2019-03-02 12:45:45 +0000 www-servers/h2o: fix build with >=dev-libs/libressl-2.7 Closes: https://bugs.gentoo.org/678430 Signed-off-by: Akinori Hattori <hattya@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 www-servers/h2o/files/h2o-2.2-libressl-2.7.patch | 23 +++++++++++++++++++++++ www-servers/h2o/h2o-2.2.5.ebuild | 7 +++++-- 2 files changed, 28 insertions(+), 2 deletions(-)