From owner-freebsd-bugs Wed Apr 2 12:51:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA23397 for bugs-outgoing; Wed, 2 Apr 1997 12:51:38 -0800 (PST) Received: from dutton4.it.siu.edu (dutton4.it.siu.edu [131.230.2.151]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA23391 for ; Wed, 2 Apr 1997 12:51:31 -0800 (PST) Received: (from jimd@localhost) by dutton4.it.siu.edu (8.8.5/8.8.5) id OAA26820; Wed, 2 Apr 1997 14:55:52 -0600 (CST) Message-ID: X-Mailer: XFMail 0.4 [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <199704020202.LAA18574@hirose.tohoku.iij.ad.jp> Date: Wed, 02 Apr 1997 14:26:11 -0600 (CST) Organization: Southern Illinois University From: Jim Dutton To: Taguchi Takeshi Subject: Re: Tcl7.6 Scripts? Cc: freebsd-bugs@freebsd.org, (Dave Burgess - FreeBSD FAQ) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk You may wish to include some extra comments in your README file(s) about the possible differences in BSD-PORT-MK associated with different versions of FreeBSD, to alleviate other problems like I have had. I would also suggest that you report these differences to FreeBSD.org, if the problems are solely because of the BSD-PORT.MK (note the UID/GID below is not dependent upon the make files). On 02-Apr-97 Taguchi Takeshi wrote: >>Thank you for your report. ># this is *first* report from user(s) ;-) > >jimd> Aren't there supposed to be some pre/post-install (whatever) scripts? >jimd> They do not appear to be included in the archive file. > >what are pre/post-install scripts? >see /usr/ports/lang/tcl76/Makefile, ok, it contain pre-install and >post-install target. but they does not require any scripts. > >if you got some error in post-install stage, check your >/usr/share/mk/bsd.ports.mk. the Makefile require new bsd.ports.mk >which include 2.2.1-RELEASE or FreeBSD-current. >Note! I think some 2.2-SNAP contain old bsd.ports.mk! That may be possible, but not being at FreeBSD-3.0, I can't answer that. Here is what FreeBSD-2.2 "says" about the extract process. Note the '/tcl76/scripts' references .... dutton4/jimd: make -n real-extract echo "===> Extracting for tcl-7.6" cd /var/stage/ports/lang/tcl76 && make -n build-depends lib-depends misc-depends cd /var/stage/ports/lang/tcl76 && make -n pre-extract if [ -f /var/stage/ports/lang/tcl76/scripts/pre-extract ]; then cd /var/stage/ports/lang/tcl76 && /usr/bin/env CURDIR=/var/stage/ports/lang/tcl76 DISTDIR=/usr/ports/distfiles/ WRKDIR=/var/stage/ports/lang/tcl76/work WRKSRC=/var/stage/ports/lang/tcl76/work/tcl7.6p2/unix PATCHDIR=/var/stage/ ports/lang/tcl76/patches SCRIPTDIR=/var/stage/ports/lang/tcl76/scripts FILESDIR=/var/stage/ports/lang/tcl76/files PORTSDIR=/usr/ports PREFIX= /usr/local DEPENDS="" X11BASE=/usr/X11R6 /bin/sh /var/stage/ports/lang/ tcl76/scripts/pre-extract; fi cd /var/stage/ports/lang/tcl76 && make -n do-extract cd /var/stage/ports/lang/tcl76 && make -n post-extract if [ -f /var/stage/ports/lang/tcl76/scripts/post-extract ]; then cd /var/ stage/ports/lang/tcl76 && /usr/bin/env CURDIR=/var/stage/ports/lang/tcl76 DISTDIR=/usr/ports/distfiles/ WRKDIR=/var/stage/ports/lang/tcl76/work WRKSRC= /var/stage/ports/lang/tcl76/work/tcl7.6p2/unix PATCHDIR=/var/stage/ports/lang/ tcl76/patches SCRIPTDIR=/var/stage/ports/lang/tcl76/scripts FILESDIR=/var/ stage/ports/lang/tcl76/files PORTSDIR=/usr/ports PREFIX=/usr/local DEPENDS="" X11BASE=/usr/X11R6 /bin/sh /var/stage/ports/lang/tcl76/scripts/post-extract; fi /usr/bin/touch -f /var/stage/ports/lang/tcl76/work/.extract_done >jimd> I am running FreeBSD-2.2, and am trying to install Tcl76, but seem to hav >jimd> a problem. Looks like an invalid UID/GID for the /work/tcl7.6 subdirector >jimd> (26153 10). > >jimd> dutton4/root-ttyp1 > ll work >jimd> total 2 >jimd> drwxrwxr-x 10 26153 10 512 Jan 30 18:18 tcl7.6 > >This is correct UID/GID. see man tar. >26153/10 is original UID/GID. MAN TAR shows nothing about 26153/10 nor anything specific about UID/GID that I could see. These ID's do not correspond to anything in MY system, hence the ID numbers versus ID names. These ID's may be correct on your system, however. All of the OTHER subdirectories, however, come out with UID/GID of 0/0, which is just fine. >jimd> dutton4/root-ttyp1 > make reinstall >jimd> Checksums OK. > ^^^^^^^^^^^^^ !!!!! >jimd> ===> Extracting for tcl-7.6 > >This message is something strange! > >my console say: > >> # make reinstall >> >> Checksum OK for tcl7.6p2.tar.gz. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> ===> Extracting for tcl-7.6 >> ===> Patching for tcl-7.6 >> ===> Applying FreeBSD patches for tcl-7.6 > >I think your system behavior is something strange. >Check your OS version. It isn't the OS version, per se, though it may be the version of BSD-PORT-MK. Note the 'echo "Checksums OK."' below ..... dutton4/jimd: make -n cd /var/stage/ports/lang/tcl76 && make -n real-fetch if [ ! -f /var/stage/ports/lang/tcl76/files/md5 ]; then echo ">> No MD5 checksum file."; else (cd /usr/ports/distfiles/; OK=""; for file in tcl7.6p2.tar.gz ; do CKSUM=`/sbin/md5 < $file`; CKSUM2=`/usr/bin/grep "($file)" /var/stage/ports/lang/tcl76/files/md5 | /usr/bin/awk '{print $4}'`; if [ "$CKSUM2" = "" ]; then echo ">> No checksum recorded for $file"; OK="false"; elif [ "$CKSUM" != "$CKSUM2" ]; then echo ">> Checksum mismatch for $file"; exit 1; fi; done; if [ "$OK" = "" ]; then echo "Checksums OK."; else echo "Checksums OK for files that have them."; fi) ; fi cd /var/stage/ports/lang/tcl76 && make -n real-extract cd /var/stage/ports/lang/tcl76 && make -n real-patch cd /var/stage/ports/lang/tcl76 && make -n real-configure cd /var/stage/ports/lang/tcl76 && make -n real-build