From owner-freebsd-ports@FreeBSD.ORG Thu Apr 7 06:39:49 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9723C16A4CE for ; Thu, 7 Apr 2005 06:39:49 +0000 (GMT) Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08C5543D1F for ; Thu, 7 Apr 2005 06:39:48 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from ppp2A6F.dyn.pacific.net.au (ppp2A6F.dyn.pacific.net.au [61.8.42.111])j376diZf025023 for ; Thu, 7 Apr 2005 16:39:45 +1000 From: Sam Lawrance To: ports@freebsd.org Content-Type: text/plain Date: Thu, 07 Apr 2005 16:39:51 +1000 Message-Id: <1112855992.693.15.camel@dirk.no.domain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: devel/gauche-gaunit packing list - unexec rmdir of directory containing PORTDOCS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2005 06:39:49 -0000 devel/gauche-gaunit fails mtree checks, log here: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.5.2005032807/gauche-gaunit-0.0.9.log The extra directory that is left behind is listed to be deleted in the pkg-plist when nonempty: @unexec rmdir %D/share/doc/gauche 2>/dev/null || true The port uses PORTDOCS. The problem seems to be that the directory is never empty, because the automatically generated PORTDOCS entries in the packing list are lower down than the unexec rmdir entry, eg: @unexec rmdir %D/share/doc/gauche 2>/dev/null || true share/examples/gauche/gaunit/site-lisp/run-test-setting.el ... etc etc ... share/doc/gauche/gaunit/README.en @comment MD5:0d5cb13bc1815619d93df94b52ab99ff share/doc/gauche/gaunit/README.ja @comment MD5:6e270ae1113bcca3e41d7c4ecd41f418 share/doc/gauche/gaunit/Tutorial.ja What to do? The only way around I can think of is to not use PORTDOCS and list everything in pkg-plist in the right order.