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     g...@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.

Bryan Drewery

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to