Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 18:48:27 +0200 (CEST)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        Antoine Brodin <antoine@FreeBSD.org>, ports@freebsd.org
Subject:   Re: Error: Orphaned: @unexec rmdir "/home" >/dev/null 2>&1 || : (PING)
Message-ID:  <alpine.LSU.2.11.1406301616250.30120@tuna.site>
In-Reply-To: <CAALwa8mSJzzYN=LwBL0nK3MMMukGx4JYOg5othrbBpKxjUBeNQ@mail.gmail.com>
References:  <alpine.LSU.2.11.1406201407010.4149@tuna.site> <CAALwa8mSJzzYN=LwBL0nK3MMMukGx4JYOg5othrbBpKxjUBeNQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 || :



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