Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2014 04:01:35 -0300
From:      Joseph Mingrone <jrm@ftfl.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg/poudriere: unwanted dependencies
Message-ID:  <86mwdmk1m8.fsf@gly.ftfl.ca>
References:  <86wqd4fjvr.fsf@gly.ftfl.ca> <447g541dru.fsf@lowell-desk.lan> <86oayfffw8.fsf@gly.ftfl.ca> <53955A5B.9030704@calorieking.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gregory Orange <gregory.orange@calorieking.com> writes:

> Hi Joseph,
>
> On 30/05/14 23:24, Joseph Mingrone wrote:
>> Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> writes:
>>> Joseph Mingrone <jrm@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86mwdmk1m8.fsf>