Date: Sat, 15 Dec 2007 12:06:18 +0900 From: Norikatsu Shigemura <nork@FreeBSD.org> To: Stephen Montgomery-Smith <stephen@math.missouri.edu> Cc: Jan Henrik Sylvester <me@janh.de>, Garrett Cooper <youshi10@u.washington.edu>, pav@freebsd.org, ports-list freebsd <freebsd-ports@freebsd.org> Subject: Re: misc/compat5x package installs with weird messages Message-ID: <20071215120618.1bf43910.nork@FreeBSD.org> In-Reply-To: <47632096.8080008@math.missouri.edu> References: <47630A20.60807@janh.de> <47631447.9090009@u.washington.edu> <1197676276.1838.23.camel@ikaros.oook.cz> <47632096.8080008@math.missouri.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 14 Dec 2007 18:32:22 -0600 Stephen Montgomery-Smith <stephen@math.missouri.edu> wrote: > > My bets are on noschg flag. > Pav, you are exactly right. I have experienced this many times myself. > After installing the compat5x package you need to do "chflags -R > noschg /var/tmp/inst* && rm -rf /var/tmp/inst*" or something like that. > I think it is a bug in pkg_install, that it doesn't check for the schg > flag being set in its temporary file area. Or maybe it should set the > flags in the first place. I knew this issue. So I fixed it with rev#1.16 on make clean. But my work was not enough:-(. How about following patch? Index: Makefile =================================================================== RCS file: /home/ncvs/ports/misc/compat5x/Makefile,v retrieving revision 1.16 diff -u -r1.16 Makefile --- Makefile 21 Apr 2007 03:24:32 -0000 1.16 +++ Makefile 15 Dec 2007 02:59:30 -0000 @@ -11,7 +11,7 @@ PORTNAME= compat5x PORTVERSION= 5.4.0.8 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR=lesi/compat5x @@ -68,6 +68,9 @@ PLIST_SUB+= SPARC64="@comment " .endif +post-extract: + @chflags -R noschg ${WRKSRC} || ${TRUE} + do-install: @${MKDIR} ${TARGET_DIR} (cd ${WRKSRC} && ${INSTALL_DATA} *.so.* ${TARGET_DIR}) @@ -85,7 +88,4 @@ .endif @${CAT} ${PKGMESSAGE} -pre-clean: - @[ -w ${WRKSRC} ] && chflags -R noschg ${WRKSRC} || ${TRUE} - .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071215120618.1bf43910.nork>