From owner-freebsd-stable@FreeBSD.ORG Wed Sep 11 17:01:42 2013 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 72588B56 for ; Wed, 11 Sep 2013 17:01:42 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:8:bdbe:0:1::]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2DA952906 for ; Wed, 11 Sep 2013 17:01:42 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=2001:41d0:8:bdbe:1:1::; helo=restart.be; envelope-from=hlh@restart.be; receiver=stable@freebsd.org DKIM-Filter: OpenDKIM Filter v2.8.3 tignes.restart.be 3cZqC074H5zSD8 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=restart.be; s=tignes; t=1378918893; bh=DQ1sQInANewF8LnbjtbKlmzIMIDqblrHp1AmaRRidUI=; h=Date:From:To:Subject; z=Date:=20Wed,=2011=20Sep=202013=2019:01:31=20+0200|From:=20Henri=2 0Hennebert=20|To:=20stable@freebsd.org|Subject:=20 Link=20error=20in=20usr.bin/dig=20if=20WITH_BIND_XML=3Dyes; b=2tuuzQieaj7UI2QADwHHvaSa88DKw/jMPtVGszPMC1BsKxN8478MeB4Bzo5P1505P DBMGZs0DjeeSiqWfp3WR/NHRW5q+3yrhjNXpLkEeQz6CBhSdte9/PvWXn5a4P7Tr5Q f9xAOZsE46pwX3+69RngvsqTCx8t2OEeStx69mhVRbwqHvZ2k9b9BtiQN8MDrKgxjT Ua/e3vdUn9haixkAnunYlvyLgNgn6gj2/00ZYAgNZGMn1wNZwUnAwV99a6rzUc0Gqo ihPI1o88LV4u5fAaYS/Yzah8SUn8BsH304MQJlQeW3w+U4AaoVWT5kozhZlQi14xXX lPKUIwr/CUH1w== Received: from restart.be (avoriaz.restart.be [IPv6:2001:41d0:8:bdbe:1:1::]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 3cZqC074H5zSD8 for ; Wed, 11 Sep 2013 19:01:32 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:8:bdbe:1:2::]) (authenticated bits=0) by restart.be (8.14.7/8.14.7) with ESMTP id r8BH1VUG027714 for ; Wed, 11 Sep 2013 19:01:32 +0200 (CEST) (envelope-from hlh@restart.be) X-Authentication-Warning: avoriaz.restart.bel: Host morzine.restart.be [IPv6:2001:41d0:8:bdbe:1:2::] claimed to be morzine.restart.bel Message-ID: <5230A1EB.9080201@restart.be> Date: Wed, 11 Sep 2013 19:01:31 +0200 From: Henri Hennebert Organization: RestartSoft User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130820 Thunderbird/17.0.8 MIME-Version: 1.0 To: stable@freebsd.org Subject: Link error in usr.bin/dig if WITH_BIND_XML=yes Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 17:01:42 -0000 Hello, Dig can't be linked if WITH_BIND_XML=yes is added to /etc/src.conf. [root@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) ===> 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 Henri