FATAL error emitted by portlint -A
roam at ringlet.net
Sun Dec 19 12:44:26 UTC 2010
On Sun, Dec 19, 2010 at 07:24:44AM -0500, Jerry wrote:
> I am attempting to update an existing port. When running "portlint -A"
> I am receiving an error message.
> # portlint -A
> WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make CVS happy.
> WARN: Makefile: new ports should not set PORTREVISION.
> FATAL: README.html: for safety, be sure to cleanup README.html files before committing the port.
> 1 fatal error and 2 warnings found.
> The first two are no problem. it is the third one "FATAL" that I cannot
> understand. It never appeared before when I was updating this port. Is
> this really a "FATAL" error or can I simply disregard it? The port
> builds and installed fine.
Did you run a "make describe" sometime during the testing of the port?
It will generate README.html and a couple of other files, none of
which are supposed to be part of the actual port - all of them are
autogenerated when the need arises (e.g. building INDEX).
So compare all the files in your port's directory with the files from
a previous, known-good version of the port, see which are the new ones
and if you wrote them or some tool generated them :) If you didn't
write them, chances are you can safely remove them and things will work
just fine :)
Peter Pentchev roam at space.bg roam at ringlet.net roam at FreeBSD.org
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
If this sentence didn't exist, somebody would have invented it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20101219/6a4da485/attachment.pgp
More information about the freebsd-ports