NetBSD Problem Report #52027

From www@NetBSD.org  Fri Mar  3 18:55:02 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EC00C7A16F
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  3 Mar 2017 18:55:01 +0000 (UTC)
Message-Id: <20170303185500.8E5727A297@mollari.NetBSD.org>
Date: Fri,  3 Mar 2017 18:55:00 +0000 (UTC)
From: mj@mjturner.net
Reply-To: mj@mjturner.net
To: gnats-bugs@NetBSD.org
Subject: security/dnssec-tools dnssec-tools should depend on net/bind*
X-Send-Pr-Version: www-1.0

>Number:         52027
>Category:       pkg
>Synopsis:       security/dnssec-tools dnssec-tools should depend on net/bind*
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 03 19:00:00 +0000 2017
>Originator:     Michael-John Turner
>Release:        HEAD
>Organization:
>Environment:
Darwin tesla.xx.yy 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64
>Description:
The build of security/dnssec-tools fails on systems that don't already have BIND installed. The configure script looks for dnssec-keygen, which is part of the BIND installation.

Log:
---

=> Bootstrap dependency digest>=20010302: found digest-20160304
WARNING: PKG_SUFX is deprecated, please use PKG_COMPRESSION
=> Checksum SHA1 OK for dnssec-tools-2.1.tar.gz
=> Checksum RMD160 OK for dnssec-tools-2.1.tar.gz
=> Checksum SHA512 OK for dnssec-tools-2.1.tar.gz
===> Installing dependencies for dnssec-tools-2.1nb3
==========================================================================
The supported build options for dnssec-tools are:

	dlv inet6

The currently selected options are:

	inet6

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.dnssec-tools (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
dnssec-tools-2.1nb3.  Their current value is shown below:

        * IPV6_READY = YES
        * SSLBASE (defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.2nb13
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency perl>=5.24.0: found perl-5.24.1
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency p5-Net-DNS-SEC-[0-9]*: found p5-Net-DNS-SEC-1.02
=> Full dependency p5-Text-Diff-[0-9]*: found p5-Text-Diff-1.44nb1
=> Full dependency perl<5.26.0: found perl-5.24.1
=> Full dependency perl>=5.24.0: found perl-5.24.1
=> Full dependency openssl>=1.0.2gnb1: found openssl-1.0.2k
===> Overriding tools for dnssec-tools-2.1nb3
===> Extracting for dnssec-tools-2.1nb3
===> Patching for dnssec-tools-2.1nb3
=> Applying pkgsrc patches for dnssec-tools-2.1nb3
===> Creating toolchain wrappers for dnssec-tools-2.1nb3
===> Configuring for dnssec-tools-2.1nb3
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Replacing Perl interpreter in tools/modules/realm.pm tools/modules/rollrec.pm tools/modules/timetrans.pm tools/modules/tooloptions.pm tools/convertar/lib/Net/DNS/SEC/Tools/TrustAnchor/Makefile.PL.
checking for perl... /usr/obj/pkg/security/dnssec-tools/work/.tools/bin/perl
checking for ar... /usr/bin/ar
checking for rm... /bin/rm
checking for dnssec-keygen... no
configure: error: Could not locate dnssec-keygen. Please install BIND utilities.
*** Error code 1

Stop.
---
>How-To-Repeat:
1) Check out pkgsrc HEAD on a system without bind installed (eg, a macOS system)
2) Attempt to build security/dnssec-tools


>Fix:
Adding a dependency on net/bind should solve the problem.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.