bin/182029: Link error in usr.bin/dig in buildworld if WITH_BIND_XML=yes

Henri Hennebert hlh at restart.be
Thu Sep 12 10:30:00 UTC 2013


>Number:         182029
>Category:       bin
>Synopsis:       Link error in usr.bin/dig in buildworld if WITH_BIND_XML=yes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 12 10:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Henri Hennebert
>Release:        FreeBSD 9.2-PRERELEASE
>Organization:
Retired old fart
>Environment:
FreeBSD morzine.restart.bel 9.2-BETA2 FreeBSD 9.2-BETA2 #0 r253704M: Sat Jul 27 15:08:00 CEST 2013     root at morzine.restart.bel:/usr/obj/usr/src/sys/MORZINE  i386
>Description:
Dig can't be linked if WITH_BIND_XML=yes is added to /etc/src.conf.

[root at morzine src]# svn info
Path: .
Working Copy Root Path: /usr/src
URL: http://svn.restart.bel/svn-FreeBSD-base/stable/9
Relative URL: ^/stable/9
Repository Root: http://svn.restart.bel/svn-FreeBSD-base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 255473
Node Kind: directory
Schedule: normal
Last Changed Author: des
Last Changed Rev: 255443
Last Changed Date: 2013-09-10 12:07:21 +0200 (Tue, 10 Sep 2013)

[root at morzine src]# make -s buildworld
..
===> usr.bin/dig (all)
/usr/src/usr.bin/dig/../../contrib/bind9/bin/dig/dighost.c:4336:27:
warning: passing 'const char *' to parameter of type 'void *' discards
qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        isc_buffer_init(&buffer, str, len);
                                 ^~~
/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/include/isc/buffer.h:225:41:
note: passing argument to parameter 'base' here
isc__buffer_init(isc_buffer_t *b, void *base, unsigned int length);
                                        ^
1 warning generated.
/usr/local/lib/libxml2.a(xzlib.o): In function `__libxml2_xzclose':
xzlib.c:(.text+0x69): undefined reference to `lzma_end'
/usr/local/lib/libxml2.a(xzlib.o): In function `xz_decomp':
xzlib.c:(.text+0x4a6): undefined reference to `lzma_code'
/usr/local/lib/libxml2.a(xzlib.o): In function `xz_make':
xzlib.c:(.text+0x8cd): undefined reference to `lzma_auto_decoder'
xzlib.c:(.text+0xa04): undefined reference to `lzma_properties_decode'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
*** [dig] Error code 1

Stop in /usr/src/usr.bin/dig.
*** [all] Error code 1

>How-To-Repeat:

>Fix:
Obviuously, remove WITH_BIND_XML=yes from /etc/src.conf

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list