Date: Mon, 30 Jun 2014 19:59:33 +0200 From: Antoine Brodin <antoine@FreeBSD.org> To: Gerald Pfeifer <gerald@pfeifer.com> Cc: ports@freebsd.org Subject: Re: Error: Orphaned: @unexec rmdir "/home" >/dev/null 2>&1 || : (PING) Message-ID: <CAALwa8ncd-3oEeuCn0-u1S03uA2Fohg-L7v0xGHHbr%2BsX5HnAw@mail.gmail.com> In-Reply-To: <alpine.LSU.2.11.1406301616250.30120@tuna.site> References: <alpine.LSU.2.11.1406201407010.4149@tuna.site> <CAALwa8mSJzzYN=LwBL0nK3MMMukGx4JYOg5othrbBpKxjUBeNQ@mail.gmail.com> <alpine.LSU.2.11.1406301616250.30120@tuna.site>
next in thread | previous in thread | raw e-mail | index | archive | help
--001a1133c5aee8dcb504fd116b82 Content-Type: text/plain; charset=UTF-8 On Mon, Jun 30, 2014 at 6:48 PM, Gerald Pfeifer <gerald@pfeifer.com> wrote: > 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?? Hi, You can try attached patch. Cheers, Antoine --001a1133c5aee8dcb504fd116b82 Content-Type: text/plain; charset=US-ASCII; name="checkstagedirlocalbase.diff" Content-Disposition: attachment; filename="checkstagedirlocalbase.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hx23bub50 SW5kZXg6IE1rL1NjcmlwdHMvY2hlY2stc3RhZ2VkaXIuc2gKPT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gTWsvU2Ny aXB0cy9jaGVjay1zdGFnZWRpci5zaAkocmV2aXNpb24gMzU5ODkxKQorKysgTWsvU2NyaXB0cy9j aGVjay1zdGFnZWRpci5zaAkod29ya2luZyBjb3B5KQpAQCAtMTU3LDYgKzE1NywxNCBAQAogCQlm aQogCQl1bnNldCBNVFJFRV9GSUxFIEdOT01FX01UUkVFX0ZJTEUKIAorCQkjIEFkZCBMT0NBTEJB U0UKKwkJYT0ke0xPQ0FMQkFTRX0KKwkJd2hpbGUgOjsgZG8KKwkJCWVjaG8gJHthfQorCQkJYT0k e2ElLyp9CisJCQlbIC16ICIke2F9IiBdICYmIGJyZWFrCisJCWRvbmUKKwogCQkjIEFkZCBpbiBQ UkVGSVggaWYgdGhpcyBwb3J0IHdhbnRzIGl0CiAJCWlmIFsgJHtOT19QUkVGSVhfUk1ESVJ9IC1l cSAwIF07IHRoZW4KIAkJCWE9JHtQUkVGSVh9Cg== --001a1133c5aee8dcb504fd116b82--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8ncd-3oEeuCn0-u1S03uA2Fohg-L7v0xGHHbr%2BsX5HnAw>