Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2012 15:30:19 GMT
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/170087: [Patch] [poudriere] fix quoting for poudriere
Message-ID:  <201207231530.q6NFUJLu029385@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 
 
 
 --------------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}" &gt;&gt; ${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>
     ====&gt;&gt; Mounting devfs<br>
     ====&gt;&gt; Mounting /proc<br>
     ====&gt;&gt; Mounting linuxfs<br>
     /etc/resolv.conf -&gt;
     /usr/local/poudriere/jails/90andtest/etc/resolv.conf<br>
     ====&gt;&gt; Starting jail 90andtest<br>
     ====&gt;&gt; Populating LOCALBASE<br>
     ====&gt;&gt; Calculating ports order and dependencies<br>
     ====&gt;&gt; Caching missing port versions<br>
     ====&gt;&gt; Sanity checking the repository<br>
     ====&gt;&gt; Deleting stale symlinks<br>
     ====&gt;&gt; Cleaning the build queue<br>
     [:
     /usr/local/poudriere_data/packages/90andtest-default/All/libsigc++-2.2.10:
     unexpected operator<br>
     ====&gt;&gt; Cleaning up wrkdir<br>
     ====&gt;&gt; Building lang/perl5.14<br>
     ===&gt;&nbsp; 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207231530.q6NFUJLu029385>