poudriere + bdb6 build issue (maybe newbie stupidity)
Adam Weinberger
adamw at adamw.org
Wed May 10 19:54:56 UTC 2017
> On 10 May, 2017, at 13:12, Mike Andrews <mandrews at bit0.com> wrote:
>
> On Wed, 10 May 2017, Adam Weinberger wrote:
>
>>> On 10 May, 2017, at 10:59, Mike Andrews <mandrews at bit0.com> wrote:
>>>
>>> I’m experimenting with poudriere for the first time and running into an issue with some ports that use BDB. With this in make.conf:
>>>
>>> DEFAULT_VERSIONS= bdb=6
>>>
>>> I get this for four ports that use BDB 6:
>>>
>>> [00:00:47] ====>> [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] ====>> [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] ====>> [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] ====>> [01][00:00:01] Finished build of textproc/redland: Ignored: cannot install: no eligible BerkeleyDB version. Requested: 6, incompatible: . Try: make debug-bdb
>>>
>>> Installing the ports manually from source works just fine.
>>>
>>> Am I missing something stupid/obvious here, or is it an issue with those specific four ports?
>>
>> There's a licensing-related peculiarity with bdb 6. Add WITH_BDB6_PERMITTED=yes to your make.conf and it should build for you.
>
> That fixed it, thanks!
>
> 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. :)
>
> I did (do) have DISABLE_LICENSES=yes 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
--
Adam Weinberger
adamw at adamw.org
https://www.adamw.org
More information about the freebsd-ports
mailing list