svn commit: r397042 - in head/dns: bind910 bind910/files bind99 bind99/files

Mathieu Arnold mat at FreeBSD.org
Fri Sep 18 14:48:52 UTC 2015


+--On 18 septembre 2015 11:55:37 +0900 Hiroki Sato <hrs at FreeBSD.org> wrote:
| Mathieu Arnold <mat at FreeBSD.org> wrote
|   in <DA0B191C8CF71DE1BD469AB2 at ogg.in.absolight.net>:
| 
| ma>
| ma>
| ma> +--On 16 septembre 2015 23:15:28 +0800 Sunpoet Po-Chuan Hsieh
| ma> <sunpoet at freebsd.org> wrote:
| ma> | On Wed, Sep 16, 2015 at 9:12 PM, Mathieu Arnold <mat at freebsd.org>
| wrote: ma> |
| ma> |> +--On 16 septembre 2015 21:07:44 +0800 Sunpoet Po-Chuan Hsieh
| ma> |> <sunpoet at freebsd.org> wrote:
| ma> |> | Hi Mat,
| ma> |> |
| ma> |> | I got an error message about USES=libedit.
| ma> |> | Could you please take a look?
| ma> |> | Thanks!
| ma> |>
| ma> |> I can't reproduce.
| ma> |>
| ma> |> --
| ma> |> Mathieu Arnold
| ma> |
| ma> |
| ma> | Try this option combination.
| ma> |
| ma> | dns_bind910_SET=FILTER_AAAA FIXED_RRSET GSSAPI_BASE IPV6 LARGE_FILE
| ma> | NEWSTATS RPZ_NSDNAME RPZ_NSIP RRL SIGCHASE SSL THREADS
| ma>
| ma> Mmm, ok, building with GSSAPI_BASE breaks USES=libedit, because
| USES=gssapi ma> fiddles with CFLAGS and puts -I/usr/include before
| everything. ma>
| ma> Adding hrs@ to the CC so he can have a look.
| 
|  The attached patch should fix it.  I confirmed it built with
|  GSSAPI_BASE or GSSAPI_HEIMDAL.  Patch for configure is the same as
|  one in PR 193912.

Ok, so, I tried that, well, a slight variation of it[1], as the patch from
the PR did not apply any more.

It builds fine, for both ports on 10, but does not on 9, it fails, for
both, with:

checking for kerberosv5/krb5.h... no
checking linking as -L/usr/lib -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err
-lcrypto -lasn1 -lroken -lcrypt... no
configure: error: could not determine proper GSSAPI linkage

config.log has:

configure:14116: checking linking as -L/usr/lib -lgssapi -lheimntlm -lkrb5
-lhx509 -lcom_err -lcrypto -lasn1 -lroken -lcrypt
configure:14137: cc -o conftest -O2 -pipe -isystem /usr/local/include
-fstack-protector -fno-strict-aliasing -I/usr/include -isystem
/usr/local/include  -Wl,-rpath,/usr/local/lib -L/usr/local/lib
-fstack-protector conftest.c -L/usr/lib -lgssapi -lheimntlm -lkrb5 -lhx509
-…lcom_err -lcrypto -lasn1 -lroken -lcrypt >&5
/usr/bin/ld: warning: libcrypto.so.6, needed by /usr/lib/libheimntlm.so,
may conflict with libcrypto.so.8
/tmp/ccvyXZJO.o: In function `main':
conftest.c:(.text+0x32): undefined reference to
`gsskrb5_register_acceptor_identity'

1: https://github.com/mat813/freebsd-ports/compare/origin/trunk...bind
-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20150918/48d54108/attachment.bin>


More information about the svn-ports-all mailing list