Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2014 11:48:46 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        ports@freebsd.org
Subject:   Help with "port test"
Message-ID:  <53C4F8FE.80909@netfence.it>

next in thread | raw e-mail | index | archive | help
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.



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