From owner-freebsd-ports@FreeBSD.ORG Thu Jan 24 04:46:59 2013 Return-Path: Delivered-To: freebsd-ports@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 2C5E1BD7 for ; Thu, 24 Jan 2013 04:46:59 +0000 (UTC) (envelope-from jeffreybouquet@yahoo.com) Received: from nm9-vm7.bullet.mail.gq1.yahoo.com (nm9-vm7.bullet.mail.gq1.yahoo.com [98.136.218.246]) by mx1.freebsd.org (Postfix) with SMTP id E59496D5 for ; Thu, 24 Jan 2013 04:46:58 +0000 (UTC) Received: from [98.137.12.190] by nm9.bullet.mail.gq1.yahoo.com with NNFMP; 24 Jan 2013 04:44:51 -0000 Received: from [98.137.12.239] by tm11.bullet.mail.gq1.yahoo.com with NNFMP; 24 Jan 2013 04:44:51 -0000 Received: from [127.0.0.1] by omp1047.mail.gq1.yahoo.com with NNFMP; 24 Jan 2013 04:44:51 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 556813.9812.bm@omp1047.mail.gq1.yahoo.com Received: (qmail 48690 invoked by uid 60001); 24 Jan 2013 04:44:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1359002691; bh=/c14q0YGPTp2CjBtTJJgY76UrkPQGXxPFkJmgoi93Is=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=MRiwJj3bVxMFXDzgp9RFlVtqXYllee75/bWsrgbwoakHndrvR2yt8BIFaXsBu+2Gd6X26co9Hl2hlR+gPNLLzMRhEDevzIicEiSo9BNSBOS54T2xaXRDMRZjnAX7l9Lz6mPFg3cntDlTnmaf5B+qS0TnnA45iuq+nVo/XhCH7Hk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Oo184CvhpC/UVkHBUnHk7vcpa7lLb7+z63cQmpkNgLK1d2/aD1zTIF/AcoQhBR6s2LmkOlCDONCbCDMjrhBKDwpkzVyxqkwtl+0NWVVu25a/YFpmE1a2WXuRpb1PeqAuzjGTvKsq61xPoX2mEloI6jUcdOh4njqCIKMIrkE541s=; X-YMail-OSG: uthLdAwVM1lqP5uLJaPB73AMQgxuXRgkuMb3VIyY3ruXMnx bv91ZxB0fwqfJlYLPbq_sou0E3tFAeTqhi77tu_neOEfW32N_DY_CC0eP.7X IoiQN6_jyUJlM7rfOIrzSAcg9GoW94nZoWDOIrMmzAB94_LTQVwDMguiUXKP 5NxvP08.FdpjMmzfMmmFxelPti1Dsn6wm_nUOqzMHDXJsbcGMG3jVfrFqDyA 3tOFKY.mBXFGZ9R.4v7o2Xrmq.9dte7a844PHNh.STJ39VFveguqTK0RRE.C HDJjcHlse8ddeOnx3jMsJ1utQ_lIrbmPpqSMJIm5C_6JTOFqum9sMx15Xor1 .EtLE4Tr.ZP9dhmsuJbb72SIMgEBpOWt4mq47IN9rFCz1S.Dr0L.rTXoYqWL WLvVMbS3IputnckHNszkOm5Id18PKD4hARiT4bj3N.L5sWHpOoZnPEBfo78L uIYUztvI6063fKvxM5SDiyLuony_GuDNHo1I18ZUE9DKKJNkrOyhV7mTYEXb tKa8- Received: from [66.92.43.99] by web164002.mail.gq1.yahoo.com via HTTP; Wed, 23 Jan 2013 20:44:51 PST X-Rocket-MIMEInfo: 001.001, UmVwbHkgaXMgYXQgdGhlIGJvdHRvbS4uLg0KDQotLS0gT24gV2VkLCAxLzIzLzEzLCBLZXZpbiBPYmVybWFuIDxrb2I2NTU4QGdtYWlsLmNvbT4gd3JvdGU6DQoNCkZyb206IEtldmluIE9iZXJtYW4gPGtvYjY1NThAZ21haWwuY29tPg0KU3ViamVjdDogUmU6IHBvcnRtYXN0ZXIgLXcgLXIgKHBjcmUgJiBpY3UpOiBob3cgdG8gYXZvaWQgcmVkdW5kYW50IHJlYnVpbGRpbmc_DQpUbzogIlRob21hcyBNdWVsbGVyIiA8bXVlbGxlcjY3MjRAYmVsbHNvdXRoLm5ldD4NCkNjOiAiSm9zZXBoIEEuIE5hZ3ksIEpyIiABMAEBAQE- X-Mailer: YahooMailClassic/15.1.2 YahooMailWebService/0.8.130.494 Message-ID: <1359002691.17702.YahooMailClassic@web164002.mail.gq1.yahoo.com> Date: Wed, 23 Jan 2013 20:44:51 -0800 (PST) From: Jeffrey Bouquet Subject: Re: portmaster -w -r (pcre & icu): how to avoid redundant rebuilding? To: freebsd-ports@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 04:46:59 -0000 Reply is at the bottom... --- On Wed, 1/23/13, Kevin Oberman wrote: From: Kevin Oberman Subject: Re: portmaster -w -r (pcre & icu): how to avoid redundant rebuildi= ng? To: "Thomas Mueller" Cc: "Joseph A. Nagy, Jr" , freebsd-ports@freebsd.org Date: Wednesday, January 23, 2013, 6:04 PM On Wed, Jan 23, 2013 at 3:58 AM, Thomas Mueller wrote: > >> On 01/22/13 06:26, Thomas Mueller wrote: >> >I see in the UPDATING file that I need to rebuild all ports that depend= on >> >pcre and icu: > >> >portmaster -w -r pcre >> >and >> >portmaster -w -r icu >> >(I don't need -f ?) > >> >How do I do this without rebuilding the same ports twice? > >> >I am on pkgng, so I can use >> >pkg info -r icu >> >and same for pcre to list ports depending on icu and pcre (long lists). > >> >I just updated, from source, to: > > >> >FreeBSD amelia2 9.1-STABLE FreeBSD 9.1-STABLE #14 r245542: Tue Jan 22 >> >03:00:31 UTC 2013=A0 =A0=A0=A0root@amelia2:/usr/obj/usr/src/sys/SANDY= =A0 amd64 > >> >Tom > >> I've not had any luck with avoiding redundant rebuilding as pcre and icu >> updates aren't sent out at the same time. Perhaps someone can say if I'm >> off my rocker, has anyone tried issuing 'portmaster -w -r icu pcre'? >> Perhaps that would avoid the redundant rebuilds? > >> Of course that would only work if one waits for both updates to come out= . > >> -- >> Yours in Christ, > >> Joseph A Nagy Jr > > I could possibly make lists of ports that depend on pcre and icu using > > pkg info -r icu (and also pcre, redirecting to files) > > Then I could try > portmaster -w -r icu -r pcre > or do I need to use -w twice? > > Then I could see what ports it would build, say n when asked if I wanted = to rebuild those ports, assuming there would be config dialogs along the li= ne. > > Then I would run the portmaster command again with |& tee portm.log at th= e right end, see if I like what would be built before answering y. > > I would be able to login to another virtual terminal to examine portm.log= file at the early stage when asked whether to rebuild the ports >My standard answer (and huge time-saver) is to install sysutils/bsdasminscripts and do the following. This example is for pcre and icu >% pkg_libchk -o | grep -E "libpcre|libicu" | cut -d: -f1 | sort | uniq > pcre-updates.txt % portmaster `cat pcre-updates.txt` >This will only update any port once and will only update ports that really need it. --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" If you'd rather put off most of the rebuilds until they bump anyway, simply= maybe run the ports you want to use in the interim out of X, say an editor= (gtk2) run without X may show only one of its dependencies need actual reb= uilding.=A0=20 Not recommended as a general procedure for most systems maybe, but somethin= g to keep in mind... it shows in some instances more information than simply ldd'ing the binary, resulting i= n less downtime of the desktop or whatever.=20 J. Bouquet