Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Mar 2010 23:07:10 +0200
From:      chukharev@mail.ru
To:        "freebsd-qa@freebsd.org" <freebsd-qa@freebsd.org>
Subject:   devel/autotools ; port test
Message-ID:  <op.u89ox8dkmhpy7y@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 devel/autotools ; port test
+++++++++++++++

===> Validating port with portlint
WARN: Makefile: [33]: possible direct use of command "automake" found. Use ${AUTOMAKE} instead and set according USE_AUTOTOOLS=<tool> macro
WARN: Makefile: [18]: possible direct use of command "libtool22" found. Use ${LIBTOOL} instead and set according USE_AUTOTOOLS=<tool> macro
WARN: Makefile: [29]: possible direct use of command "autoconf" found. Use ${AUTOCONF} instead and set according USE_AUTOTOOLS=<tool> macro
FATAL: Makefile: extra item "MAINTAINER" placed in the PORTNAME section.
FATAL: Makefile: extra item "COMMENT" placed in the PORTNAME section.
FATAL: Makefile: extra item "RUN_DEPENDS" placed in the MAINTAINER section.
FATAL: Makefile: COMMENT has to be there.
WARN: Makefile: no port directory /usr/ports/devel/autoconf${VER found, even though it is listed in RUN_DEPENDS.
WARN: Makefile: no port directory /usr/ports/devel/automake${VER found, even though it is listed in RUN_DEPENDS.
4 fatal errors and 5 warnings found.
Error validating port



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