building an 8.4-STABLE i386 poudriere jail on an 10.0-STABLE amd64 host
Don Lewis
truckman at FreeBSD.org
Fri Aug 29 18:16:45 UTC 2014
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.
More information about the freebsd-stable
mailing list