From owner-freebsd-questions@FreeBSD.ORG Mon Apr 1 04:14:31 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 66AB2B87 for ; Mon, 1 Apr 2013 04:14:31 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (mtumishi.cyberleo.net [216.226.128.201]) by mx1.freebsd.org (Postfix) with ESMTP id 494565EA for ; Mon, 1 Apr 2013 04:14:30 +0000 (UTC) Received: from [172.16.44.4] (den.cyberleo.net [216.80.73.130]) by paka.cyberleo.net (Postfix) with ESMTPSA id 5D2ED3D34B; Sun, 31 Mar 2013 10:07:20 -0400 (EDT) Message-ID: <51584318.1050000@cyberleo.net> Date: Sun, 31 Mar 2013 09:07:20 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130228 Thunderbird/17.0.2 MIME-Version: 1.0 To: Andrei Brezan Subject: Re: pkgng / poudriere oddity References: <515840EC.4060706@gmail.com> In-Reply-To: <515840EC.4060706@gmail.com> X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 04:14:31 -0000 On 03/31/2013 08:58 AM, Andrei Brezan wrote: > Hello list, > > It seems I'm experiencing some issues while trying to install packages > that have dependencies that have other dependencies as well, or at least > that's how I understand it. > > # uname -a > FreeBSD host.example.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue > Dec 4 09:23:10 UTC 2012 > root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > # pkg install mtr-nox11 > Updating repository catalogue > Repository catalogue is up-to-date, no need to fetch fresh copy > The following packages will be installed: > > Installing gettext: 0.18.1.1_1 > Installing pcre: 8.32 > Installing libiconv: 1.14_1 > Installing glib: 2.34.3 > Installing libffi: 3.0.13 > Installing perl: 5.14.2_3 > Installing python27: 2.7.3_6 > Installing mtr-nox11: 0.84 > > The installation will require 149 MB more space > > 0 B to be downloaded > > Proceed with installing packages [y/N]: y > Checking integrity... done > Installing gettext-0.18.1.1_1...missing dependency libiconv-1.14_1 > > # pkg rquery "%n-%v" libiconv > libiconv-1.14_1 > > Is there an obvious reason why gettext dependencies are not pulled in > and installed? > If I do "pkg install gettext" all goes well and libiconv in installed as > dependency. > > I've already did a "poudriere bulk -j jail_name -p ports_tree -c -f > pkg_list.txt" for the pkg repo to no avail. > > To mention that on the host using pkgng I did several pkg delete -f for > all packages installed except pkg. Try turning PARALLEL_JOBS to 1 in poudriere.conf and then rebuilding all the packages. This sounds very similar to a behaviour I was witnessing with non-pkgng repos constructed by Poudriere, whereby the INDEX was ending up incomplete, and so the dependencies were never installed by pkg_add -r. I would imagine a similar race condition could be affecting pkgng as well. I just haven't had time to troubleshoot it very far, and the above seemed to alleviate the issue. -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/