From owner-freebsd-ports@freebsd.org Wed May 10 19:54:56 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D991D5B8F5 for ; Wed, 10 May 2017 19:54:56 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from apnoea.adamw.org (apnoea.adamw.org [104.225.5.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "apnoea.adamw.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27C649B for ; Wed, 10 May 2017 19:54:54 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id 5edb26df TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 10 May 2017 13:54:52 -0600 (MDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: poudriere + bdb6 build issue (maybe newbie stupidity) From: Adam Weinberger In-Reply-To: Date: Wed, 10 May 2017 13:54:51 -0600 Cc: freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Mike Andrews X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2017 19:54:56 -0000 > On 10 May, 2017, at 13:12, Mike Andrews wrote: >=20 > On Wed, 10 May 2017, Adam Weinberger wrote: >=20 >>> On 10 May, 2017, at 10:59, Mike Andrews wrote: >>>=20 >>> I=E2=80=99m experimenting with poudriere for the first time and = running into an issue with some ports that use BDB. With this in = make.conf: >>>=20 >>> DEFAULT_VERSIONS=3D bdb=3D6 >>>=20 >>> I get this for four ports that use BDB 6: >>>=20 >>> [00:00:47] =3D=3D=3D=3D>> [04][00:00:00] Finished build of = databases/p5-BerkeleyDB: Ignored: cannot install: no eligible BerkeleyDB = version. Requested: 6, incompatible: . Try: make debug-bdb >>> [00:00:47] =3D=3D=3D=3D>> [03][00:00:00] Finished build of = databases/ruby-bdb: Ignored: cannot install: no eligible BerkeleyDB = version. Requested: 6, incompatible: . Try: make debug-bdb >>> [00:00:48] =3D=3D=3D=3D>> [06][00:00:01] Finished build of = www/webalizer: Ignored: cannot install: no eligible BerkeleyDB version. = Requested: 6, incompatible: . Try: make debug-bdb >>> [00:00:49] =3D=3D=3D=3D>> [01][00:00:01] Finished build of = textproc/redland: Ignored: cannot install: no eligible BerkeleyDB = version. Requested: 6, incompatible: . Try: make debug-bdb >>>=20 >>> Installing the ports manually from source works just fine. >>>=20 >>> Am I missing something stupid/obvious here, or is it an issue with = those specific four ports? >>=20 >> There's a licensing-related peculiarity with bdb 6. Add = WITH_BDB6_PERMITTED=3Dyes to your make.conf and it should build for you. >=20 > That fixed it, thanks! >=20 > Now where is that documented? Anywhere? Now that I Google that = option, okay, it's in bdb.mk, but... hard to do that if you don't know = it's there. :) >=20 > I did (do) have DISABLE_LICENSES=3Dyes in there, but that's more to = disable prompts at 'poudriere options' time, I guess. WITH_BDB6_PERMITTED is pretty unnecessary, AFAICT; bsd.licenses.mk is = the right way to handle license selection. I've opened a phabricator = review (https://reviews.freebsd.org/D10669) to just simply remove it, = but because bsd.mk is convoluted I'm not entirely positive that this = change has no other side effects. # Adam --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org