Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2014 12:36:08 +0200
From:      Stefan Esser <se@freebsd.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Help with "port test"
Message-ID:  <53C50418.107@freebsd.org>
In-Reply-To: <53C4F8FE.80909@netfence.it>
References:  <53C4F8FE.80909@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 15.07.2014 11:48, schrieb Andrea Venturoli:
> Hello.
> 
> I'm trying to create a new port and there are some things I don't
> understand.
> 
> Referring to chapter 9 of the Porter's Handbook:
> 
> _ "make clean; make package PREFIX=/var/tmp/`make -V PORTNAME`" gives no
> error;
> 
> _ "make stage && make check-orphans && make package" also finds no issue;
> 
> _ however "port test" gives:
> 
>> ===> Checking for directories owned by MTREEs
>> Error: Owned by MTREE: @unexec rmdir "/usr/local" >/dev/null 2>&1 || :
> 
> What does this mean?

You are trying to delete the directory /usr/local, which is part of
the base system.

Just remove '@unexec rmdir "/usr/local" ...' from pkg-plist ...

Regards, STefan



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