From owner-freebsd-ports@FreeBSD.ORG Mon Jun 30 16:48:34 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D292D463; Mon, 30 Jun 2014 16:48:34 +0000 (UTC) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AFBAF2B6E; Mon, 30 Jun 2014 16:48:34 +0000 (UTC) Received: from [192.168.0.131] (vie-188-118-252-235.dsl.sil.at [188.118.252.235]) by ainaz.pair.com (Postfix) with ESMTPSA id 562683F419; Mon, 30 Jun 2014 12:48:29 -0400 (EDT) Date: Mon, 30 Jun 2014 18:48:27 +0200 (CEST) From: Gerald Pfeifer To: Antoine Brodin , ports@freebsd.org Subject: Re: Error: Orphaned: @unexec rmdir "/home" >/dev/null 2>&1 || : (PING) In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2014 16:48:34 -0000 On Fri, 20 Jun 2014, Antoine Brodin wrote: >> Build with a non-standard PREFIX and LOCALBASE in /home/gerald/10-i386, >> make ports builds have been failing with the following for a bit (for >> lang/gcc49 among others): >> >> #### Running regression-test, checking for orphans, checking pkg-plist. >> ====> Checking for pkg-plist issues (check-plist) >> ===> Parsing plist >> ===> Checking for items in STAGEDIR missing from pkg-plist >> Error: Orphaned: @unexec rmdir "/home/gerald" >/dev/null 2>&1 || : >> Error: Orphaned: @unexec rmdir "/home" >/dev/null 2>&1 || : >> Any ideas what is going on here? And what is adding those interesting >> @unexec rmdir entries? > You can try to add NO_PREFIX_RMDIR=yes to your port when you test it. > Testing PREFIX!=LOCALBASE often produces strange results anyway, in > most cases people should test PREFIX=LOCALBASE != /usr/local and not > PREFIX!=LOCALBASE. Yes, but this had been working without problems for many years. :-) And now only problem is this new (pkg-ng?) code and check-plist; apart from that things work. In my case PREFIX points to /scratch. It's LOCALBASE that points to /home/gerald/10-i386, so I am really puzzled about those @unexec rmdir's that want to remove my LOCALBASE. Why should any port or package meddle with LOCALBASE?? Gerald PS: NO_PREFIX_RMDIR=yes makes things worse by adding the last three lines to the output of check-plist. Error: Orphaned: @unexec rmdir "/home/gerald" >/dev/null 2>&1 || : Error: Orphaned: @unexec rmdir "/home" >/dev/null 2>&1 || : Error: Orphaned: @unexec rmdir "/scratch2/tmp/gerald" >/dev/null 2>&1 || : Error: Orphaned: @unexec rmdir "/scratch2/tmp" >/dev/null 2>&1 || : Error: Orphaned: @unexec rmdir "/scratch2" >/dev/null 2>&1 || :