Skip site navigation (1)Skip section navigation (2)
Date:      7 Jun 2013 20:29:46 -0000
From:      Michael Gmelin <freebsd@grem.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/179418: ports-mgmt/portlint: Portlint XXXDIR check
Message-ID:  <20130607202946.77688.qmail@mail.grem.de>
Resent-Message-ID: <201306072040.r57Ke1bF018222@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179418
>Category:       ports
>Synopsis:       ports-mgmt/portlint: Portlint XXXDIR check
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 07 20:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Michael Gmelin
>Release:        FreeBSD 9.1-RELEASE-p2 amd64
>Organization:
Grem Equity GmbH
>Environment:
System: FreeBSD srv 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #5 r249052M: Fri May 31 17:50:16 UTC
>Description:
portlint complains about combinations of PORTXXX and XXXDIR, I don't think
this is correct in this case e.g.

WARN: /usr/ports/editors/leo/pkg-plist: [779]: Do not mix %%PORTDOCS%% with %%PYTHON_SITELIBDIR%%/leo/doc/html' instead and update Makefile accordingly.

>How-To-Repeat:
portlint -abt /usr/ports/editors/leo
...
WARN: /usr/ports/editors/leo/pkg-plist: [778]: Do not mix %%PORTDOCS%% with %%PYTHON_SITELIBDIR%%. Use '%%PORT%%@dirrm %%PYTHON_SITELIBDIR%%/leo/doc/html/screen-shots' instead and update Makefile accordingly.
Use of uninitialized value within %check_xxxdir_ok in concatenation (.) or string at /usr/local/bin/portlint line 838, <IN> line 779.
WARN: /usr/ports/editors/leo/pkg-plist: [779]: Do not mix %%PORTDOCS%% with %%PYTHON_SITELIBDIR%%. Use '%%PORT%%@dirrm %%PYTHON_SITELIBDIR%%/leo/doc/html' instead and update Makefile accordingly.
Use of uninitialized value within %check_xxxdir_ok in concatenation (.) or string at /usr/local/bin/portlint line 838, <IN> line 780.
WARN: /usr/ports/editors/leo/pkg-plist: [780]: Do not mix %%PORTDOCS%% with %%PYTHON_SITELIBDIR%%. Use '%%PORT%%@dirrm %%PYTHON_SITELIBDIR%%/leo/doc' instead and update Makefile accordingly.
0 fatal errors and 80 warnings found.

>Fix:
Assuming this is invalid behavior, add DOCS and PYTHONSITELIBDIR to
%check_xxxdir_ok (portlint about line 600).
>Release-Note:
>Audit-Trail:
>Unformatted:



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