Hi, While I was updating one of my ports 'make check-plist' returns: ... ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: %%WWWOWN%%/data/rssroll/html/flak/header.html ===> Checking for items in pkg-plist which are not in STAGEDIR ... I guess %%WWWOWN%% should be replaced by %%%WWWDIR%%. I've updated ports tree to the latest version with portsnap but %%WWWOWN%% still appears in the 'make check-plist' result. Nikola
@Nikola, can you provide an svn diff against the port head for this change please? Also, for future issue reports, for individual ports, always use the "Individual Ports(s)" component, and prefix "category/portname:" to the issue summary field, so they are automatically assigned :)
Kubilay, please read the problem more carefully.
The problem is that your port writes files into PREFIX/www directly, which it should not. The port must install its files in PREFIX/WWWDIR.
Hi, As Mathieu says: I found the problem. Wrong install path of the port's files makes 'make check-plist' to returns: Error: Orphaned: %%WWWOWN%%/data/rssroll/html/flak/header.html Wrong install path of the port's files: www/data/rssroll/html/flak/header.html Corrent install path of the port's files: www/rssroll/html/flak/header.html With correct install path 'make check-plist' returns: Error: Orphaned: %%WWWDIR%%/html/flak/header.html I will correct the install paths of the files in the port and it will be OK. But I want to notice %%WWWOWN%% or %%WWWGRP%% is not good idea to appear in the paths of the files returned by 'make check-plist'. Nikola
(In reply to Dmitry Marakasov from comment #2) @Dmitry, This is still reported 'for' www/rssroll, even if it ends up resulting in portmgr handling it, or the subsequent creation of a new 'blocking' Mk/ change, if someone (anyone) identifies a root-cause issue in the framework.
@Nikola, if you have identified a change that needs to be made in the port, please attach an svn diff accordingly, thank you!
Hi, If port's Makefile contains PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} and ${WWWOWN} by default is 'www' (/usr/ports/Mk/bsd.port.mk) and if 'www' exists somewhere in the paths of the installed files from the port except 'www/${PORTNAME}' because it is ${WWWDIR} then 'make check-plist' returns: ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: lib/test/dir/%%WWWOWN%%/%%WWWOWN%%/%%WWWOWN%%.html Error: Orphaned: %%WWWDIR%%/%%WWWOWN%%.html ===> I reproduced this with another port from the ports tree by adding new installed files which paths contain 'www'. Installed files paths are: lib/test/dir/www/www/www.html www/portname/www.html In my opinion %%WWWOWN%% and %%WWWGRP%% should not be replaced in file path by 'make check-plist' because they are responsible for ownership of the files. I fixed my rssroll port with correct install paths and everything is OK but if someone uses PLIST_SUB, WWWOWN and 'www' in installed files will be surprised (like me) why 'make check-plist' recommends using of %%WWWOWN%% in file path in pkg-plist. If this is expected behavior I'm OK the bug to be closed. Nikola
Please close this issue.
Close per request.