From owner-freebsd-qa@FreeBSD.ORG Mon Mar 8 20:39:28 2010 Return-Path: Delivered-To: freebsd-qa@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12C3E106566B for ; Mon, 8 Mar 2010 20:39:28 +0000 (UTC) (envelope-from chukharev@mail.ru) Received: from mx74.mail.ru (mx74.mail.ru [94.100.176.89]) by mx1.freebsd.org (Postfix) with ESMTP id C3F138FC1D for ; Mon, 8 Mar 2010 20:39:27 +0000 (UTC) Received: from [91.155.189.108] (port=63759 helo=vova-vaio) by mx74.mail.ru with asmtp id 1NojjZ-000Gz0-00 for freebsd-qa@freebsd.org; Mon, 08 Mar 2010 23:39:25 +0300 Content-Type: text/plain; charset=koi8-r; format=flowed; delsp=yes To: "freebsd-qa@freebsd.org" Date: Mon, 08 Mar 2010 22:39:21 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: chukharev@mail.ru Message-ID: User-Agent: Opera Mail/10.10 (FreeBSD) X-Spam: Not detected X-Mras: Ok Subject: net/samba4-devel ; port test X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2010 20:39:28 -0000 The 'port test' command (ports-mgmt/porttools) tests a port for a number of possible errors by running portlint, building, packaging, installing, and de-installing with a check for left files. This is done with defined PREFIX and PKG_DBDIR variables. 'port test' command is recommended by the Porter's Handbook. Note that the port installs the usual way. $ cd net/samba4-devel ; port test +++++++++++++++ ===> Validating port with portlint WARN: Makefile: possible use of absolute pathname "/var". FATAL: Makefile: non-comment line in comment section. FATAL: Makefile: extra item "MAINTAINER" placed in the PORTNAME section. FATAL: Makefile: extra item "COMMENT" placed in the PORTNAME section. FATAL: Makefile: PORTNAME has to be there. FATAL: Makefile: PORTVERSION or DISTVERSION has to be there. FATAL: Makefile: CATEGORIES has to be there. FATAL: Makefile: extra item "CONFLICTS" placed in the MAINTAINER section. FATAL: Makefile: COMMENT has to be there. WARN: Makefile: "LIB_DEPENDS" has to appear earlier. 8 fatal errors and 2 warnings found. Error validating port