Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2018 20:10:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229166] dns/bind99: does not build with libressl
Message-ID:  <bug-229166-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229166

            Bug ID: 229166
           Summary: dns/bind99: does not build with libressl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mat@FreeBSD.org
          Reporter: amdmi3@FreeBSD.org
          Assignee: mat@FreeBSD.org
             Flags: maintainer-feedback?(mat@FreeBSD.org)

DEFAULT_VERSIONS=3D ssl=3Dlibressl
FreeBSD 11.1, latest ports, trying to build bind99-9.9.12_2:

...
cc -pthread  -I/usr/work/usr/ports/dns/bind99/work/bind-9.9.12 -I. -Iinclude
-I/usr/work/usr/ports/dns/bind99/work/bind-9.9.12/lib/dns/include=20
-I../../lib/dns/include=20
-I/usr/work/usr/ports/dns/bind99/work/bind-9.9.12/lib/isc/include=20
-I../../lib/isc  -I../../lib/isc/include  -I../../lib/isc/unix/include=20
-I../../lib/isc/pthreads/include  -I../../lib/isc/x86_32/include
-I/usr/local/include -I/usr/local/include  -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=3D64 -DUSE_MD5 -DOPENSSL   -DDIG_SIGCHASE=3D1 -D_THREAD=
_SAFE
-O2 -pipe -march=3Dnative  -DLIBICONV_PLUG -fstack-protector -isystem
/usr/local/include -fno-strict-aliasing -I/usr/local/include/libxml2
-I/usr/include   -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings
-Wformat -Wpointer-arith -fno-strict-aliasing  -c openssldh_link.c
openssldh_link.c:83:1: error: static declaration of 'DH_get0_key' follows
non-static declaration
DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) {
^
/usr/local/include/openssl/dh.h:196:6: note: previous declaration is here
void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM
**priv_key);
     ^
openssldh_link.c:91:1: error: static declaration of 'DH_set0_key' follows
non-static declaration
DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) {
^
/usr/local/include/openssl/dh.h:197:5: note: previous declaration is here
int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
    ^
openssldh_link.c:105:1: error: static declaration of 'DH_get0_pqg' follows
non-static declaration
DH_get0_pqg(const DH *dh,
^
/usr/local/include/openssl/dh.h:193:6: note: previous declaration is here
void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q,
     ^
openssldh_link.c:117:1: error: static declaration of 'DH_set0_pqg' follows
non-static declaration
DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) {
^
/usr/local/include/openssl/dh.h:195:5: note: previous declaration is here
int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
    ^
4 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/work/usr/ports/dns/bind99/work/bind-9.9.12/lib/dns
*** Error code 1

Stop.
make[3]: stopped in /usr/work/usr/ports/dns/bind99/work/bind-9.9.12/lib
*** Error code 1

Stop.
make[2]: stopped in /usr/work/usr/ports/dns/bind99/work/bind-9.9.12
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/dns/bind99
*** Error code 1

Stop.
make: stopped in /usr/ports/dns/bind99


Full log:

https://people.freebsd.org/~amdmi3/bind99.log

--=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-229166-7788>