Re: poudriere: setting up jail failes

From: Bryan Drewery <>
Date: Fri, 08 Aug 2014 13:43:51 -0500
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
> 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.

Bryan Drewery

Received on Fri Aug 08 2014 - 16:44:06 UTC

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