From owner-freebsd-ports@FreeBSD.ORG Thu Apr 7 06:47:54 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 5BA0516A4CE for ; Thu, 7 Apr 2005 06:47:54 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2225043D2D for ; Thu, 7 Apr 2005 06:47:54 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j376lomu030619; Wed, 6 Apr 2005 23:47:50 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j376lovY030618; Wed, 6 Apr 2005 23:47:50 -0700 Date: Wed, 6 Apr 2005 23:47:50 -0700 From: Brooks Davis To: Sam Lawrance Message-ID: <20050407064750.GA29579@odin.ac.hmc.edu> References: <1112855992.693.15.camel@dirk.no.domain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <1112855992.693.15.camel@dirk.no.domain> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: ports@freebsd.org Subject: Re: 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:47:54 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 07, 2005 at 04:39:51PM +1000, Sam Lawrance wrote: > devel/gauche-gaunit fails mtree checks, log here: > http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.5.2005032807/gauc= he-gaunit-0.0.9.log >=20 > 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 >=20 > 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: >=20 > @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 >=20 > 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. The PORTSDOC support looks to me like it should be adding an @dirrm DOCSDIR entry so you shouldn't need to do this. See the add-plist-docs target in /usr/ports/Mk/bsd.port.mk. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCVNeWXY6L6fI4GtQRAgtTAKCcnE39DXMSCBEr3BnQLDWJQKgfVgCgulqg X5TZMT8qhRJIq3XmwmAH0vA= =PNfk -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--