Date: Tue, 24 Dec 2019 15:54:35 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 242863] h2o doesn't build with LibreSSL libressl-3.0.2 Message-ID: <bug-242863-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242863 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@freebsd.org Reporter: ulassayginim@gmail.com Flags: maintainer-feedback?(dch@freebsd.org) Assignee: dch@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?=3Dnative CFLAGS=3D-O2 -pipe -fno-strict-aliasing COPTFLAGS=3D$CFLAGS MK_PROFILE=3Dno DEFAULT_VERSIONS+=3Dssl=3Dlibressl python=3D3.8 python2=3D2.7 python3=3D3.8= php=3D7.4 pgsql=3D12 mysql=3D5.7 OPTIONS_SET+=3DICONV OPTIONS_UNSET+=3DCUPS DEBUG DOCS FONTCONFIG NLS X11 MAN EXAMPLES MAN3 WITHOUT_MODULES=3Dsound ntfs linux WITHOUT=3DX11 MAN MAN3 MANPAGES EXAMPLES DOCS ftp_curl_UNSET=3D TLS_SRP security_p5-GSSAPI_SET =3D GSSAPI_MIT OPTIONS_UNSET +=3D GSSAPI_BASE OPTIONS_SET +=3D GSSAPI_NONE config File /etc/src.conf WITHOUT_ATM=3DYES WITHOUT_BLUETOOTH=3DYES WITHOUT_DICT=3DYES WITHOUT_EXAMPLES=3DYES WITHOUT_GAMES=3DYES WITHOUT_IPFILTER=3DYES WITHOUT_HTML=3DYES WITHOUT_LPR=3DYES=C2=A7 WITHOUT_NDIS=3DYES WITHOUT_MAN=3DYES WITHOUT_MANPAGES=3DYES WITHOUT_MAN_UTILS=3DYES WITHOUT_PROFILE=3DYES WITHOUT_WIRELESS=3DYES WITHOUT_WIRELESS_SUPPORT=3DYES WITHOUT_WPA_SUPPLICANT_EAPOL=3DYES 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: erro= r: 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: erro= r: 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: erro= r: 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 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242863-7788>