From owner-freebsd-ports-bugs@freebsd.org Thu Dec 3 15:26:15 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F70DA4014A for ; Thu, 3 Dec 2015 15:26:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79DE113B9 for ; Thu, 3 Dec 2015 15:26:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tB3FQFuV069936 for ; Thu, 3 Dec 2015 15:26:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 204966] www/rssroll: make check-plist incorrectly returns/replaces path with %%WWWOWN%% Date: Thu, 03 Dec 2015 15:26:15 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koue@chaosophia.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 15:26:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204966 --- Comment #7 from Nikola Kolev --- 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 -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.