Help with "port test"
Stefan Esser
se at freebsd.org
Tue Jul 15 10:36:23 UTC 2014
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
More information about the freebsd-ports
mailing list