From owner-freebsd-questions@FreeBSD.ORG Tue Aug 26 15:54:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B368C106566C; Tue, 26 Aug 2008 15:54:57 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 2D30D8FC0C; Tue, 26 Aug 2008 15:54:56 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl76-178.kln.forthnet.gr [77.49.123.178]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m7QFsjlc020936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 26 Aug 2008 18:54:51 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m7QFsjM1049431; Tue, 26 Aug 2008 18:54:45 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m7QFsjXO049430; Tue, 26 Aug 2008 18:54:45 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: "Redd Vinylene" References: <87abf487wg.fsf@kobe.laptop> <87abezx5yr.fsf@kobe.laptop> <87wsi3q0lh.fsf@kobe.laptop> <87sksrpzet.fsf@kobe.laptop> Date: Tue, 26 Aug 2008 18:54:45 +0300 In-Reply-To: <87sksrpzet.fsf@kobe.laptop> (Giorgos Keramidas's message of "Tue, 26 Aug 2008 18:30:02 +0300") Message-ID: <87wsi3ojp6.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m7QFsjlc020936 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.833, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.57, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: bugs@freebsd.org, freebsd-questions@freebsd.org Subject: Re: I can't make world without the "games" group? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2008 15:54:57 -0000 On Tue, 26 Aug 2008 18:30:02 +0300, Giorgos Keramidas wrote: > On Tue, 26 Aug 2008 18:04:26 +0300, Giorgos Keramidas wrote: >> % -------------------------------------------------------------- >> % >>> Making hierarchy >> % -------------------------------------------------------------- >> % cd /home/build/src; make -f Makefile.inc1 hierarchy >> % cd /home/build/src/etc; make distrib-dirs >> % mtree -eU -f /home/build/src/etc/mtree/BSD.root.dist -p / >> % mtree -eU -f /home/build/src/etc/mtree/BSD.var.dist -p /var >> % mtree: line 48: unknown group games >> % *** Error code 1 >> % >> % Stop in /home/build/src/etc. >> % *** Error code 1 >> % >> % Stop in /home/build/src. >> % *** Error code 1 >> % >> % Stop in /home/build/src. >> % *** Error code 1 >> % >> % Stop in /home/build/src. >> % *** Error code 1 >> % >> % Stop in /home/build/src. >> % root@kobe:/home/build/src# >> >> That's because src/etc/mtree/BSD.usr.dist and BSD.var.dist include >> references to the `games' user and group. I'll try to split the >> relevant bits in a new `BSD.games.dist' file which will be conditionally >> passed to mtree(8) depending on WITHOUT_GAMES. >> >> Is this the same error as the one you are seeing? When I prepare a >> patch for this, would you be willing to test it for me? > > Ok, think I got it... > > Here's the patch I am testing now. If this works locally, I'll post it > for review to our Makefile gurus and commit it when we get it into > shape. Yay! It seems to have worked in 8.0-CURRENT here... root@kobe:/home/build/src# export WITHOUT_GAMES=yes root@kobe:/home/build/src# make KERNCONF=KOBE installworld [...] -------------------------------------------------------------- >>> Making hierarchy -------------------------------------------------------------- cd /home/build/src; make -f Makefile.inc1 hierarchy cd /home/build/src/etc; make distrib-dirs mtree -eU -f /home/build/src/etc/mtree/BSD.root.dist -p / mtree -eU -f /home/build/src/etc/mtree/BSD.var.dist -p /var mtree -eU -f /home/build/src/etc/mtree/BSD.usr.dist -p /usr mtree -eU -f /home/build/src/etc/mtree/BSD.include.dist -p /usr/include mtree -deU -f /home/build/src/etc/mtree/BIND.chroot.dist -p /var/named mtree -deU -f /home/build/src/etc/mtree/BSD.sendmail.dist -p / cd /; rm -f /sys; ln -s usr/src/sys sys cd /usr/share/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/man; set - `grep "^[a-zA-Z]" /home/build/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done cd /usr/share/openssl/man; set - `grep "^[a-zA-Z]" /home/build/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/nls; set - `grep "^[a-zA-Z]" /home/build/src/etc/nls.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done -------------------------------------------------------------- >>> Installing everything -------------------------------------------------------------- [...] I've uploaded the patch for 8.0-CURRENT at: http://people.freebsd.org/~keramida/diff/games-mtree.diff and the patch for 7-STABLE at: http://people.freebsd.org/~keramida/diff/games-mtree.stable7.diff The `games-mtree.stable7.diff' should apply on top of today's 7-STABLE source tree with: # cd /var/tmp ; fetch http://people.freebsd.org/~keramida/diff/games-mtree.stable7.diff # cd /usr/src ; patch -p0 < /var/tmp/games-mtree.stable7.diff Can you patch your 7-STABLE /usr/src source tree and run another build & install cycle? I think WITHOUT_GAMES=yes should work then.