From owner-freebsd-questions@freebsd.org Tue Mar 17 23:19:42 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F32B027536D for ; Tue, 17 Mar 2020 23:19:41 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (jacobs.geeks.org [204.153.247.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48hpzJ2SL2z3KVJ for ; Tue, 17 Mar 2020 23:19:40 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id B523A110222 for ; Tue, 17 Mar 2020 18:19:32 -0500 (CDT) Received: by mail.geeks.org (Postfix, from userid 1003) id 905C311021B; Tue, 17 Mar 2020 18:19:32 -0500 (CDT) Date: Tue, 17 Mar 2020 18:19:32 -0500 From: Doug McIntyre To: freebsd-questions@freebsd.org Subject: Re: poudriere, bind and libxml2-dev Message-ID: <20200317231932.GA12692@geeks.org> References: <20200316190107.GA3339@foucry.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200316190107.GA3339@foucry.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 48hpzJ2SL2z3KVJ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of merlyn@geeks.org designates 204.153.247.1 as permitted sender) smtp.mailfrom=merlyn@geeks.org X-Spamd-Result: default: False [-0.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.31)[-0.310,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.22)[-0.219,0]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[geeks.org]; IP_SCORE(0.48)[ipnet: 204.153.244.0/22(-1.28), asn: 7753(3.72), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7753, ipnet:204.153.244.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 23:19:42 -0000 On Mon, Mar 16, 2020 at 08:01:07PM +0100, Jacques Foucry via freebsd-questions wrote: > I would like too use the statistics channel of bind. > > I use a poudriere in order to compile my own packages, as many of us. > > The bind doc is clear, named need both libxml2 And libxml2-dev: > > https://kb.isc.org/docs/aa-00769 > > I try to remove all the options of bind in order to be sure to have libxml2-dev > (poudriere option -r -p xxx dns/bind911 then poudriere option -p xxx > dns/bin911), but no chance. libxml2-dev is not include. libxml2-dev is a Linuxism. Typically on Linux the package without -dev includes just the library object, while the -dev includes the headers needed to compile with it. On FreeBSD, typically the packages (ie. textproc/libxml2) contains both. According to Freshports, https://www.freshports.org/dns/bind914/ the BIND9.14 package (which is the one you _really_ ought to be using, although it is the same for 9.11), builds with libxml2 automatically, no extra configuration options required. So, it should be ready to go for what you need out of the box? If you needed JSON, you would need to configure that lib in with the options.