Re: poudriere: setting up jail failes

From: Julian Elischer <julian_at_freebsd.org>
Date: Tue, 12 Aug 2014 00:21:53 +0800
On 8/9/14, 2:43 AM, Bryan Drewery wrote:
> On 8/8/2014 11:46 AM, Matthias Apitz wrote:
>> Hello,
>>
>> I'm setting up a jail with poudriere(8) to compile my ports; after some
>> hours it is crashing with:
>>
>> # poudriere jail -c -j freebsd-head -m svn+http -v head ; date
> [...]
>> mtree: illegal option -- N
>> usage: mtree [-LPUcdeinqruxw] [-f spec] [-f spec] [-K key] [-k key] [-p
>> path] [-s seed]
>>          [-X excludes]
>> *** Error code 1
> [...]
>
>> The host where poudriere is running is:
>>
>> # uname -a
>> FreeBSD vm-tiny-r255948 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #1: Fri Oct 18
>> 12:10:57 CEST 2013     guru_at_aurora.Sisis.de:/usr/obj/usr/src/sys/GENERIC
>> i386
>>
>> i.e. a CURRENT from Oct 2013 (r255948). Does this mean I should update
>> the host where poudriere is running before?
> Yes. For you it is fixed in stable/10 r257460 (which was in before 10.0
> release) which added -N to mtree. There was a lot of polish at the end
> of 10.0 so you should probably upgrade to at least 10.0 either way.
>
> It could be that older releases building 10 and head for Poudriere may
> be an issue still. I'll have to test more. Specifically the call of
> 'make distrib-dirs DB_FROM_SRC=1' seemingly not using the itools version
> of mtree.
>
> Also note that running a head jail on a 10.0 system is not really
> supported. You may run into many weird issues building packages. It's
> supported to have your host be newer than the jails but not the other
> way around.
>
> Regards,
> Bryan Drewery
I had to do
cd /usr/src/{mumble}/mtree; make ; make install
before  I could upgrade from where I was in the current branch to 
where I wanted to get the 10 branch.
similar for install.
Received on Mon Aug 11 2014 - 14:22:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC