[Bug 242863] h2o doesn't build with LibreSSL libressl-3.0.2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 24 15:54:37 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242863
Bug ID: 242863
Summary: h2o doesn't build with LibreSSL libressl-3.0.2
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: dch at freebsd.org
Reporter: ulassayginim at gmail.com
Flags: maintainer-feedback?(dch at freebsd.org)
Assignee: dch at freebsd.org
I am trying to install on VM , with 16GB ram , 8 core CPU,
FreeBSD 12.1 and latest port snapshot for NOW.
before installation , freebsd system updated.
for Every dependency ports , default options are selected.
after # make install clean,
you will see the error below.
/etc/make.conf
CPUTYPE?=native
CFLAGS=-O2 -pipe -fno-strict-aliasing
COPTFLAGS=$CFLAGS
MK_PROFILE=no
DEFAULT_VERSIONS+=ssl=libressl python=3.8 python2=2.7 python3=3.8 php=7.4
pgsql=12 mysql=5.7
OPTIONS_SET+=ICONV
OPTIONS_UNSET+=CUPS DEBUG DOCS FONTCONFIG NLS X11 MAN EXAMPLES MAN3
WITHOUT_MODULES=sound ntfs linux
WITHOUT=X11 MAN MAN3 MANPAGES EXAMPLES DOCS
ftp_curl_UNSET= TLS_SRP
security_p5-GSSAPI_SET = GSSAPI_MIT
OPTIONS_UNSET += GSSAPI_BASE
OPTIONS_SET += GSSAPI_NONE
config File /etc/src.conf
WITHOUT_ATM=YES
WITHOUT_BLUETOOTH=YES
WITHOUT_DICT=YES
WITHOUT_EXAMPLES=YES
WITHOUT_GAMES=YES
WITHOUT_IPFILTER=YES
WITHOUT_HTML=YES
WITHOUT_LPR=YES§
WITHOUT_NDIS=YES
WITHOUT_MAN=YES
WITHOUT_MANPAGES=YES
WITHOUT_MAN_UTILS=YES
WITHOUT_PROFILE=YES
WITHOUT_WIRELESS=YES
WITHOUT_WIRELESS_SUPPORT=YES
WITHOUT_WPA_SUPPLICANT_EAPOL=YES
after make install clean
the error is below.
-------------------- ERROR ------------------
/h2o/work/h2o-2.2.6/src/main.c
--- CMakeFiles/h2o.dir/deps/neverbleed/neverbleed.c.o ---
/usr/ports/www/h2o/work/h2o-2.2.6/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)
^
/usr/local/include/openssl/rsa.h:399:6: note: previous declaration is here
void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e,
^
/usr/ports/www/h2o/work/h2o-2.2.6/deps/neverbleed/neverbleed.c:650:12: error:
static declaration of 'RSA_set0_key' follows non-static declaration
static int RSA_set0_key(RSA *rsa, BIGNUM *n, BIGNUM *e, BIGNUM *d)
^
/usr/local/include/openssl/rsa.h:401:5: note: previous declaration is here
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
^
/usr/ports/www/h2o/work/h2o-2.2.6/deps/neverbleed/neverbleed.c:666:13: error:
static declaration of 'RSA_set_flags' follows non-static declaration
static void RSA_set_flags(RSA *r, int flags)
^
/usr/local/include/openssl/rsa.h:409:6: note: previous declaration is here
void RSA_set_flags(RSA *r, int flags);
^
3 errors generated.
*** [CMakeFiles/h2o.dir/deps/neverbleed/neverbleed.c.o] Error code 1
make[4]: stopped in /usr/ports/www/h2o/work/.build
1 error
make[4]: stopped in /usr/ports/www/h2o/work/.build
*** [CMakeFiles/h2o.dir/all] Error code 2
make[3]: stopped in /usr/ports/www/h2o/work/.build
1 error
make[3]: stopped in /usr/ports/www/h2o/work/.build
*** [all] Error code 2
make[2]: stopped in /usr/ports/www/h2o/work/.build
1 error
make[2]: stopped in /usr/ports/www/h2o/work/.build
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/www/h2o
*** Error code 1
Stop.
make: stopped in /usr/ports/www/h2o
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list