Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2014 11:16:26 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        gjb@FreeBSD.org
Cc:        stable@FreeBSD.org, ian@FreeBSD.org
Subject:   Re: building an 8.4-STABLE i386 poudriere jail on an 10.0-STABLE amd64 host
Message-ID:  <201408291816.s7TIGQNn072878@gw.catspoiler.org>
In-Reply-To: <20140829171413.GJ1200@hub.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <patch>' 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
<stdout>: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.




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