Date: Tue, 26 Aug 2008 18:54:45 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: "Redd Vinylene" <reddvinylene@gmail.com> Cc: bugs@freebsd.org, freebsd-questions@freebsd.org Subject: Re: I can't make world without the "games" group? Message-ID: <87wsi3ojp6.fsf@kobe.laptop> In-Reply-To: <87sksrpzet.fsf@kobe.laptop> (Giorgos Keramidas's message of "Tue, 26 Aug 2008 18:30:02 %2B0300") References: <f1019d520808010831s39c803fan9a35fcd17f010fc5@mail.gmail.com> <87abf487wg.fsf@kobe.laptop> <f1019d520808260201o27009529v43aa7ae8c35d7304@mail.gmail.com> <87abezx5yr.fsf@kobe.laptop> <87wsi3q0lh.fsf@kobe.laptop> <87sksrpzet.fsf@kobe.laptop>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Aug 2008 18:30:02 +0300, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote: > On Tue, 26 Aug 2008 18:04:26 +0300, Giorgos Keramidas <keramida@ceid.upatras.gr> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87wsi3ojp6.fsf>