Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Mar 2010 22:39:21 +0200
From:      chukharev@mail.ru
To:        "freebsd-qa@freebsd.org" <freebsd-qa@freebsd.org>
Subject:   net/samba4-devel ; port test
Message-ID:  <op.u89nnvthmhpy7y@vova-vaio>

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



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