Help with "port test"

Andrea Venturoli ml at netfence.it
Tue Jul 15 09:49:10 UTC 2014


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?




Then I'm trying to add a desktop entry, but if I add the following line 
to Makefile:
> DESKTOP_ENTRIES="FreeCAD" "${COMMENT}" "${PREFIX}/data/Mod/Start/StartPage/FreeCAD.png" "FreeCAD" "Graphics;" true

"make clean; make package PREFIX=/var/tmp/`make -V PORTNAME`" will give:

> pkg-static: lstat(/usr/home/andrea/FreeCAD/port/work/stage/usr/local/share/applications/FreeCAD.desktop): No such file or directory

Any hint on what's wrong with the above?



  Thanks and until the next questions :)
	av.


More information about the freebsd-ports mailing list