Date: Wed, 10 May 2017 13:54:51 -0600 From: Adam Weinberger <adamw@adamw.org> To: Mike Andrews <mandrews@bit0.com> Cc: freebsd-ports@freebsd.org Subject: Re: poudriere + bdb6 build issue (maybe newbie stupidity) Message-ID: <C11F5DCD-344C-4B6F-AAEB-1591DAC19216@adamw.org> In-Reply-To: <alpine.BSF.2.21.1705101508280.67986@beast.int.bit0.com> References: <alpine.BSF.2.21.1705101258040.12354@beast.int.bit0.com> <D02541FF-58AD-4AEB-A233-4334F51DB01D@adamw.org> <alpine.BSF.2.21.1705101508280.67986@beast.int.bit0.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 10 May, 2017, at 13:12, Mike Andrews <mandrews@bit0.com> wrote: >=20 > On Wed, 10 May 2017, Adam Weinberger wrote: >=20 >>> On 10 May, 2017, at 10:59, Mike Andrews <mandrews@bit0.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C11F5DCD-344C-4B6F-AAEB-1591DAC19216>