Date: Thu, 31 May 2007 21:26:50 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: paul beard <paulbeard@gmail.com> Cc: "Conrad J. Sabatier" <conrads@cox.net>, questions@freebsd.org, freebsd-questions-local@be-well.ilk.org Subject: Re: what is pkg_create doing? Message-ID: <20070601022650.GB3923@dan.emsphone.com> In-Reply-To: <D898F6F9-5063-4B2A-A9CA-05BEA4C7D59A@gmail.com> References: <E2481673-5F23-44F8-8A81-1F1AFE531394@mac.com> <441wgxp0k7.fsf@be-well.ilk.org> <200705311822.l4VIMw14062211@serene.no-ip.org> <D898F6F9-5063-4B2A-A9CA-05BEA4C7D59A@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 31), paul beard said: > On May 31, 2007, at 11:22 AM, Conrad J. Sabatier wrote: > > No, by default, portupgrade runs pkg_create *before* installing the > > newly built port, to create a backup of the old version in case > > something goes wrong. Depending on the size of the old port > > (package), this can take an appreciable amount of time, even on a > > fast system. Packages are only built *after* installation if one > > explicitly tells portupgrade to do so, via the "-p" or "--package" > > switches. > > > > The man page lists several package-related ENVIRONMENT variables, > > which may or may not provide a means to disable some or all of this > > package creation; I don't know for sure, as I've never tried > > changing or unsetting them to see what may happen. If you're > > curious, though, it may be worth experimenting with, although I > > would certainly advise against disabling the precautionary backup > > package creation before the new port is successfully installed. > > Thanks. I'll take a look there. I wasn't sure if something changes > in how ports are done in the Moderne Age. Apply the patch in PR 112630. It fixes an inefficient dependency sorting algorithm that only became an issue after the xorg port update introduced an extra 100 dependencies to every X-using port. Took my pkg_create times down from 5 minutes to 5 seconds :) -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070601022650.GB3923>