pkg/poudriere: unwanted dependencies

Joseph Mingrone jrm at ftfl.ca
Mon Jun 9 07:17:03 UTC 2014


Gregory Orange <gregory.orange at calorieking.com> writes:

> Hi Joseph,
>
> On 30/05/14 23:24, Joseph Mingrone wrote:
>> Lowell Gilbert <freebsd-questions-local at be-well.ilk.org> writes:
>>> Joseph Mingrone <jrm at ftfl.ca> writes:
>>>> I did a nullfs mount of /var/db/ports on
>>>> /usr/local/etc/poudriere.d/options, created
>>>> /usr/local/etc/poudriere.d/make.conf (shown below), then I fed the
>>>> output of portmaster --list-origins | sort -d >
>>>> /usr/local/etc/poudriere-list to poudriere bulk.  After doing a pkg
>>>> upgrade with the newly-created poudriere repo configured, pkg still
>>>> wants to install things like perl-5.16 and hal despite my configured
>>>> ports not depending on hal or perl-5.16.  Am I missing something?
>>>
>>> Are you sure those ports aren't dependencies of something your intended
>>> ports depend on? It's easy enough to check; just look for perl as a
>>> "deps" entry in the rest of your packages (or if you already have them
>>> installed after a "pkg upgrade", just ask pkg by trying to delete
>>> perl).
>>
>> They weren't the dependencies that I expected.  For example, I had
>> perl-5.18 installed and as the default version in make.conf.  I'm still
>> getting used to some subtleties of pkg(ng)/poudrieire, so I'm not sure
>> exactly why this solved the problem, but instead of the nullfs mount of
>> /var/db/ports on /usr/local/etc/poudriere.d/options, I used poudriere
>> options and things seem to be working as expected now.
>
> Would you mind elaborating a little on what you know about this? I've got Perl
> 5.14 installed and specified in the poudriere build list, but poudriere builds
> 5.16 as well. How can I control this?
>

Hello Greg,

Try putting a DEFAULT_VERSIONS entry in
/usr/local/etc/poudriere.d/make.conf.  For example, try
DEFAULT_VERSIONS=perl5=5.14.  I also removed all other repositories
aside from my poudriere repository and things began behaving as
expected when I did a pkg install/upgrade.

Joseph



More information about the freebsd-questions mailing list