From owner-freebsd-stable@FreeBSD.ORG Fri Aug 29 18:16:44 2014 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC7FF40A; Fri, 29 Aug 2014 18:16:44 +0000 (UTC) Received: from gw.catspoiler.org (cl-1657.chi-02.us.sixxs.net [IPv6:2001:4978:f:678::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BC821198; Fri, 29 Aug 2014 18:16:42 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id s7TIGQNn072878; Fri, 29 Aug 2014 11:16:30 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201408291816.s7TIGQNn072878@gw.catspoiler.org> Date: Fri, 29 Aug 2014 11:16:26 -0700 (PDT) From: Don Lewis Subject: Re: building an 8.4-STABLE i386 poudriere jail on an 10.0-STABLE amd64 host To: gjb@FreeBSD.org In-Reply-To: <20140829171413.GJ1200@hub.FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: stable@FreeBSD.org, ian@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2014 18:16:45 -0000 On 29 Aug, Glen Barber wrote: > On Fri, Aug 29, 2014 at 10:06:58AM -0700, Don Lewis wrote: >> Now how do I fix this for poudriere since it wants to do a clean >> checkout of src from svn every time I run it to create the jail? >> > > 'poudriere jail' accepts a '-P ' flag, which will patch the src/ > tree before the build. If you are able to generate a diff with your > fix, you can drop that patch in the poudriere.d directory, and use > 'poudriere jail -P ./my.diff [...]'. That option isn't documented in the man page, but it is mentioned in poudriere's usage message. When I tried it, ./my.diff seemed to be interpreted relative to my current directory. I got further ... cc -O2 -pipe -I/var/poudriere/jails/84STABLEi386/usr/src/sbin/hastctl/../hastd -DINET -DINET6 -DYY_NO_UNPUT -DHAVE_CRYPTO -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-format -c token.c cc1: warnings being treated as errors :753: warning: redundant redeclaration of 'yylex' /var/poudriere/jails/84STABLEi386/usr/src/sbin/hastctl/../hastd/hast.h:270: warning: previous declaration of 'yylex' was here ... adding to my patch.