From owner-freebsd-ports@freebsd.org Mon Aug 29 23:46:33 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 274AABC761D for ; Mon, 29 Aug 2016 23:46:33 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.5.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AA1D3F3A for ; Mon, 29 Aug 2016 23:46:32 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: by h2.pinyon.org (Postfix, from userid 58) id 9F524CBA5; Sat, 27 Aug 2016 09:40:50 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1472316050; bh=iUy9jXKKtLVKmECkpGvrlFcrrXznUf3M9wll1sZaXPs=; h=Subject:To:References:From:Date:In-Reply-To; b=G+Tn8b1SPx21oeZzn+bag4+IuCeYBdbbQli/A8XXoc+NfLXvcG8xiAGkrYI9oCg5f ePprkO1WFHbIXsaFa2c04Eg8zoYkle2EfyoKAS4YH1m8EHUPcoX0wRNf1grkIv/DrP paVFpSjzsQIQCcLjPmn/1LLq7qYTCjVOB5JCsrBY= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on h2.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.1 Received: from [10.0.10.15] (h4.esturion.net [65.101.5.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id A39B4CB97 for ; Sat, 27 Aug 2016 09:40:49 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1472316049; bh=iUy9jXKKtLVKmECkpGvrlFcrrXznUf3M9wll1sZaXPs=; h=Subject:To:References:From:Date:In-Reply-To; b=Pmj8MCtxJ/3QA5glh9sD+tc8jvOOSaEUgQZnyTcW/WlW7arArZ1EXSSmHoTgk8jOb sK7hPO4XGQURkpWHoCJxcjHNF8K+lczALVnZ8svJ6mhVNP9o/vJ1D8WPZGcPJdMVvz 4O5jfUNJmsznptVJx/18a2lUQmBpV4W8Cpwqu5eg= Subject: Re: Forcing poudriere to rebuild a package and all dependencies To: freebsd-ports@freebsd.org References: <58f20db2-7d41-ee44-0ab3-0c57f638eee3@pinyon.org> <3abcb39d-5d57-ae77-9e9a-6c4e30d4c107@FreeBSD.org> From: "Russell L. Carter" Message-ID: <3c85e591-37b5-2a3c-24f5-a9bef0e34903@pinyon.org> Date: Sat, 27 Aug 2016 09:40:49 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <3abcb39d-5d57-ae77-9e9a-6c4e30d4c107@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2016 23:46:33 -0000 Hi Bryan, On 08/26/16 22:44, Bryan Drewery wrote: > On 8/26/2016 3:21 PM, Russell L. Carter wrote: >> Hi, >> >> So I'm in the middle of jumping a herd of 6 boxen from 10.3 to 11, and > > Upgrading/Replacing a poudriere jail from 10.3 to 11 normally would > rebuild all packages since there would either be no packages in the new > jail (if using a name such as 10-amd64 and 11-amd64), or it would > rebuild all packages for the major version updating (if you used a > simple jail name like 'foo'). > > So I'm not sure how you don't have all packages rebuilding in that case. > > How did you upgrade your jail from 10.3 to 11? Now that I think about it, I'm surprised it worked as well as it did. I just installed 11, copied my 10/stable poudriere config over (including packages), brought up an 11/stable jail and then ran poudriere bulk. LOL. Amazing. Something like a third of my 1000+ packages got rebuilt, and the only ones that didn't that needed to be rebuilt were the kernel modules. Next time, though, no screwing around. I will fire up poudriere in the evening and install the entire new set of packages the next day. Anyway, it seesms the easiest way to force a (re)build of a package might be to toggle poudriere options on the port (if it has an option.) I will say again that the architecture of poudriere is a gigantic leap forward from e.g. debian apt. Packaging the base will be killer. Many thanks! Russell >> I can't find how to update necessary ports modules such as, but not >> limited to, the several nvidia kernel modules. This information does >> not appear to be googleable, so let's correct that. >> >> Here's my /usr/local/etc/poudriere.d/make.conf, which is indeed >> appended at the beginning of a poudriere bulk run: >> >> WITH_OPENSSL_PORT= yes >> OPENSSL_PORT= security/openssl >> DEFAULT_VERSIONS=pgsql=9.5 php=7.0 >> # Set this to the list of ports you wish to rebuild every time the >> # kernel is built. >> PORTS_MODULES=nvidia-driver-340 nvidia-driver virtualbox-ose-kmod >> sysutils/vm-bhyve sysutils/pefs-kmod >> DISABLE_LICENSES=yes >> >> Simply rm'ing the package file does not work. Ideas? Otherwise, the >> upgrade is going fairly smoothly, kudos to the team. I've had worse >> experiences with apt-get. >> >> Thanks, >> Russell >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > >