From owner-freebsd-ports@FreeBSD.ORG Tue Jul 15 09:49:10 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 381CC8E3 for ; Tue, 15 Jul 2014 09:49:10 +0000 (UTC) Received: from mp1-smtp-6.eutelia.it (mp1-smtp-6.eutelia.it [62.94.10.166]) by mx1.freebsd.org (Postfix) with ESMTP id E0D7922D4 for ; Tue, 15 Jul 2014 09:49:09 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mp1-smtp-6.eutelia.it (Eutelia) with ESMTP id EB8C16BD4FF for ; Tue, 15 Jul 2014 11:48:59 +0200 (CEST) Received: from soth.ventu (adsl-ull-123-140.41-151.net24.it [151.41.140.123]) (authenticated bits=0) by ns2.biolchim.it (8.14.9/8.14.8) with ESMTP id s6F9msLR085530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 15 Jul 2014 11:48:56 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: ns2.biolchim.it: Host adsl-ull-123-140.41-151.net24.it [151.41.140.123] claimed to be soth.ventu Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.9/8.14.7) with ESMTP id s6F9mkB2023173 for ; Tue, 15 Jul 2014 11:48:46 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <53C4F8FE.80909@netfence.it> Date: Tue, 15 Jul 2014 11:48:46 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: ports@freebsd.org Subject: Help with "port test" Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ns2.biolchim.it [192.168.2.203]); Tue, 15 Jul 2014 11:48:57 +0200 (CEST) X-Spam-Score: 5.206 (*****) RCVD_IN_PBL, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.75 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2014 09:49:10 -0000 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.