From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 07:17:03 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DB3A5ABF for ; Mon, 9 Jun 2014 07:17:03 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 978BA2459 for ; Mon, 9 Jun 2014 07:17:03 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WttaW-0003YT-OS for freebsd-questions@freebsd.org; Mon, 09 Jun 2014 09:01:48 +0200 Received: from dynamic34-29.dynamic.dal.ca ([129.173.34.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jun 2014 09:01:48 +0200 Received: from jrm by dynamic34-29.dynamic.dal.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jun 2014 09:01:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Joseph Mingrone Subject: Re: pkg/poudriere: unwanted dependencies Date: Mon, 09 Jun 2014 04:01:35 -0300 Lines: 43 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> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dynamic34-29.dynamic.dal.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Cancel-Lock: sha1:WWDdwoOcU0gcQNsQV7M+qmkNieM= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2014 07:17:03 -0000 Gregory Orange writes: > Hi Joseph, > > On 30/05/14 23:24, Joseph Mingrone wrote: >> Lowell Gilbert writes: >>> Joseph Mingrone 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