From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 23 15:30:20 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 577221065670 for ; Mon, 23 Jul 2012 15:30:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 427968FC1D for ; Mon, 23 Jul 2012 15:30:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6NFUJIq029388 for ; Mon, 23 Jul 2012 15:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6NFUJLu029385; Mon, 23 Jul 2012 15:30:19 GMT (envelope-from gnats) Date: Mon, 23 Jul 2012 15:30:19 GMT Message-Id: <201207231530.q6NFUJLu029385@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Vincent Hoffman Cc: Subject: Re: ports/170087: [Patch] [poudriere] fix quoting for poudriere X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vincent Hoffman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 15:30:20 -0000 The following reply was made to PR ports/170087; it has been noted by GNATS. From: Vincent Hoffman To: Denis Generalov 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
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--