Date: Thu, 7 Apr 2005 00:14:51 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Sam Lawrance <boris@brooknet.com.au> Cc: ports@freebsd.org Subject: Re: devel/gauche-gaunit packing list - unexec rmdir of directory containing PORTDOCS Message-ID: <20050407071451.GA1536@odin.ac.hmc.edu> In-Reply-To: <1112856958.693.23.camel@dirk.no.domain> References: <1112855992.693.15.camel@dirk.no.domain> <20050407064750.GA29579@odin.ac.hmc.edu> <1112856958.693.23.camel@dirk.no.domain>
next in thread | previous in thread | raw e-mail | index | archive | help
--a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 07, 2005 at 04:55:58PM +1000, Sam Lawrance wrote: > On Wed, 2005-04-06 at 23:47 -0700, Brooks Davis wrote: > > 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/= gauche-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. > >=20 > > 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. >=20 > Not quite. gauche-gaunit DOCSDIR is share/doc/gauche/gaunit. What the > port was originally trying to do was remove share/doc/gauche if it was > non empty - presumably because other ports might have installed stuff in > share/doc/gauche as well - gauche-sxml for example. Oh, I see. I think you want to handle that directory in the gauche port. You might go ahead and drop in a README that says the directory is there for modules so people don't wonder why it's empty. --- 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 --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCVN3qXY6L6fI4GtQRApSsAJ4+jRa7ZQGYyz2SNQBr68R/8P5DtwCfeD/R RlQaAecLcUR5e9zo6PCiW1A= =N+FD -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050407071451.GA1536>