From owner-freebsd-questions@FreeBSD.ORG Sun Mar 31 15:14:27 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 DD61E896 for ; Sun, 31 Mar 2013 15:14:27 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from mail-ea0-x22c.google.com (mail-ea0-x22c.google.com [IPv6:2a00:1450:4013:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 75596FD8 for ; Sun, 31 Mar 2013 15:14:27 +0000 (UTC) Received: by mail-ea0-f172.google.com with SMTP id z7so781749eaf.31 for ; Sun, 31 Mar 2013 08:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=2eJTeuoMdWAPXlkVoQ+x3tTW3AGmv/bRNDEcXLg9LKs=; b=Ka2XiPCRiluEcyVhs/ehWb7+gaTiUMmoDaFE1miFh7VS5fjlu5j8Zf/esDDxsH6ZW7 ifFaMyTPSXTY+DulSXkaaF7ykcfQK4YB/ZYogXJqKatx3AUtILlQt89yjMfQObpzUYH/ 9La7YAoOlqJKJ+Q6fm55f+hA4Zh2pt7YA8awr/0b41/Yj8etSWgMlEH8KpRHp5TO7qH5 b5XH8qBH0Tu8NtT2vsvq3/+YWFZcmmAJODYliNs1ijm7bGSBbCPx1xSoU9L5jc9tGpi0 ThcDN95N87mPYRDXc3CTcnIyqhJ+baJH+2s0X+rOMoKmnm50HONS4SBSVrxHZ3UuZHJw Sqog== X-Received: by 10.14.182.72 with SMTP id n48mr28707471eem.3.1364742866603; Sun, 31 Mar 2013 08:14:26 -0700 (PDT) Received: from ab_t510i.perfectworld.eu (dhcp-089-099-199-083.chello.nl. [89.99.199.83]) by mx.google.com with ESMTPS id 3sm16065805eej.6.2013.03.31.08.14.25 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 31 Mar 2013 08:14:25 -0700 (PDT) Message-ID: <515852CF.9000604@gmail.com> Date: Sun, 31 Mar 2013 17:14:23 +0200 From: Andrei Brezan User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130321 Thunderbird/17.0.4 MIME-Version: 1.0 To: CyberLeo Kitsana Subject: Re: pkgng / poudriere oddity References: <515840EC.4060706@gmail.com> <51584318.1050000@cyberleo.net> In-Reply-To: <51584318.1050000@cyberleo.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Sun, 31 Mar 2013 15:14:27 -0000 On 03/31/13 16:07, CyberLeo Kitsana wrote: > 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. > # By default MAKE_JOBS is disabled to allow only one process per cpu # Use the following to allow it anyway ALLOW_MAKE_JOBS=yes This one enabled was the reason behind it, disabling it and rebuilding the whole repo fixed it. I've left PARALLEL_JOBS to default, # of core's. Thanks for the pointer, Andrei