Date: Tue, 24 Jul 2012 16:12:16 +0100 From: Vincent Hoffman <vince@unsane.co.uk> To: Denis Generalov <gd@powernet.ru> Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/170087: [Patch] [poudriere] fix quoting for poudriere Message-ID: <500EBB50.5030207@unsane.co.uk> In-Reply-To: <20120724172316.616e311bd17675834159c170@powernet.ru> References: <201207231530.q6NFUJLu029385@freefall.freebsd.org> <20120724172316.616e311bd17675834159c170@powernet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24/07/2012 14:23, Denis Generalov wrote: > On Mon, 23 Jul 2012 15:30:19 GMT > Vincent Hoffman <vince@unsane.co.uk> wrote: > >> The following reply was made to PR ports/170087; it has been noted by GNATS. >> >> From: Vincent Hoffman <vince@unsane.co.uk> >> To: Denis Generalov <gd@powernet.ru> >> Cc: freebsd-gnats-submit@FreeBSD.org >> Subject: Re: ports/170087: [Patch] [poudriere] fix quoting for poudriere >> Date: Mon, 23 Jul 2012 16:29:54 +0100 >> >> This is a multi-part message in MIME format. >> --------------070109040700060200090604 >> Content-Type: text/plain; charset=ISO-8859-1 >> Content-Transfer-Encoding: 7bit >> >> On 23/07/2012 15:32, Denis Generalov wrote: >> > --- src/poudriere.d/common.sh.orig 2012-07-23 17:48:32.000000000 +0400 >> > +++ src/poudriere.d/common.sh 2012-07-23 17:49:00.000000000 +0400 >> > @@ -610,7 +610,7 @@ >> > local pn >> > msg "Caching missing port versions" >> > while read port; do >> > - if ! egrep -q "^${port} " ${cache}; then >> > + if ! grep -q "^${port} " ${cache}; then >> > pn=$(injail make -C /usr/ports/${port} -VPKGNAME) >> > echo "${port} ${pn}" >> ${cache} >> > fi >> This does not fix it for me. >> Using this patch I get the following >> >> Building new INDEX files... done. >> ====>> Mounting devfs >> ====>> Mounting /proc >> ====>> Mounting linuxfs >> /etc/resolv.conf -> /usr/local/poudriere/jails/90andtest/etc/resolv.conf >> ====>> Starting jail 90andtest >> ====>> Populating LOCALBASE >> ====>> Calculating ports order and dependencies >> ====>> Caching missing port versions >> ====>> Sanity checking the repository >> ====>> Deleting stale symlinks >> ====>> Cleaning the build queue >> [: >> /usr/local/poudriere_data/packages/90andtest-default/All/libsigc++-2.2.10: >> unexpected operator >> ====>> Cleaning up wrkdir >> ====>> Building lang/perl5.14 >> ===> Cleaning for perl-5.14.2_2 >> >> Please note that >> /usr/local/poudriere_data/packages/90andtest-default/All/libsigc++-2.2.10 >> doesnt currently exist. >> >> root@fbsd9vm ~/portlist]# ls >> /usr/local/poudriere_data/packages/90andtest-default/All/ >> [root@fbsd9vm ~/portlist]# >> >> >> Vince > Hi Vince, > May I ask you to test another patch? > I attached new patch. Hi, The patch didnt apply cleanly as I had updated to the latest poudriere (poudriere-1.5.4_1 ) already (it was released this morning.) However I applied the patch by hand and can confirm that I no longer have either my original problem, or a 2nd problem I noticed using poudriere-1.5.4_1 which was that libsigc++ was being built repeatedly. Thanks, Vince >> >> >> >> --------------070109040700060200090604 >> Content-Type: text/html; charset=ISO-8859-1 >> Content-Transfer-Encoding: 7bit >> >> <html> >> <head> >> <meta content="text/html; charset=ISO-8859-1" >> http-equiv="Content-Type"> >> </head> >> <body bgcolor="#FFFFFF" text="#000000"> >> <div class="moz-cite-prefix">On 23/07/2012 15:32, Denis Generalov >> wrote:<br> >> </div> >> <blockquote >> cite="mid:20120723183249.b4c5c61203d8a7a37a3ad834@powernet.ru" >> type="cite"> >> <pre wrap="">--- src/poudriere.d/common.sh.orig 2012-07-23 17:48:32.000000000 +0400 >> +++ src/poudriere.d/common.sh 2012-07-23 17:49:00.000000000 +0400 >> @@ -610,7 +610,7 @@ >> local pn >> msg "Caching missing port versions" >> while read port; do >> - if ! egrep -q "^${port} " ${cache}; then >> + if ! grep -q "^${port} " ${cache}; then >> pn=$(injail make -C <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/ports<span class="moz-txt-tag">/</span></i>${port} -VPKGNAME) >> echo "${port} ${pn}" >> ${cache} >> fi >> </pre> >> </blockquote> >> This does not fix it for me.<br> >> Using this patch I get the following <br> >> <br> >> Building new INDEX files... done.<br> >> ====>> Mounting devfs<br> >> ====>> Mounting /proc<br> >> ====>> Mounting linuxfs<br> >> /etc/resolv.conf -> >> /usr/local/poudriere/jails/90andtest/etc/resolv.conf<br> >> ====>> Starting jail 90andtest<br> >> ====>> Populating LOCALBASE<br> >> ====>> Calculating ports order and dependencies<br> >> ====>> Caching missing port versions<br> >> ====>> Sanity checking the repository<br> >> ====>> Deleting stale symlinks<br> >> ====>> Cleaning the build queue<br> >> [: >> /usr/local/poudriere_data/packages/90andtest-default/All/libsigc++-2.2.10: >> unexpected operator<br> >> ====>> Cleaning up wrkdir<br> >> ====>> Building lang/perl5.14<br> >> ===> Cleaning for perl-5.14.2_2<br> >> <br> >> Please note that <br> >> /usr/local/poudriere_data/packages/90andtest-default/All/libsigc++-2.2.10<br> >> doesnt currently exist.<br> >> <br> >> root@fbsd9vm ~/portlist]# ls >> /usr/local/poudriere_data/packages/90andtest-default/All/<br> >> [root@fbsd9vm ~/portlist]# <br> >> <br> >> <br> >> Vince<br> >> <br> >> <br> >> </body> >> </html> >> >> --------------070109040700060200090604-- >> _______________________________________________ >> freebsd-ports-bugs@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs >> To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?500EBB50.5030207>