Hi! I'm trying to cross-compile 4.8-STABLE world to install it over NFS later. I have ./make.conf: # start of file CPUTYPE=i486 KERNCONF?=CONS MODULES_WITH_WORLD=true DESTDIR=/mnt/cons # end of file I run: dir=`pwd` make __MAKE_CONF=$dir/make.conf buildworld 2>&1 | tee $dir/bw.log It fails: ===> gnu/usr.bin/groff/contrib ===> gnu/usr.bin/groff/contrib/mm sh /usr/src/tools/install.sh -o root -g wheel -m 444 /dev/null /mnt/cons/usr/share/tmac/mm/locale install: /mnt/cons/usr/share/tmac/mm/locale: No such file or directory *** Error code 71 Stop in /usr/src/gnu/usr.bin/groff/contrib/mm. *** Error code 1 Stop in /usr/src/gnu/usr.bin/groff/contrib. *** Error code 1 Stop in /usr/src/gnu/usr.bin/groff. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Right, I have not prepared mountpoint yet, but this is buildworld, not installworld after all. Should I make PR? Eugene Grosbein
On Wed, 17 Sep 2003, Eugene Grosbein wrote:> ===> gnu/usr.bin/groff/contrib > ===> gnu/usr.bin/groff/contrib/mm > sh /usr/src/tools/install.sh -o root -g wheel -m 444 /dev/null > /mnt/cons/usr/share/tmac/mm/locale > install: /mnt/cons/usr/share/tmac/mm/locale: No such file or directoryIntriguing. This is part of the 'beforeinstall' target in this Makefile.> *** Error code 71 > > Stop in /usr/src/gnu/usr.bin/groff/contrib/mm. > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/groff/contrib. > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/groff. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > Right, I have not prepared mountpoint yet, > but this is buildworld, not installworld after all. > Should I make PR?Yes, please, particuarly with reproduction instructions, including how you have your enviornment set up. I'm going to see how beforeinstall gets called. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org
Ah, I've got it. On Wed, 17 Sep 2003, Eugene Grosbein wrote:> I have ./make.conf: > > # start of file > CPUTYPE=i486 > KERNCONF?=CONS > MODULES_WITH_WORLD=true > DESTDIR=/mnt/consDon't set DESTDIR in make.conf, it only applies during installworld. make buildworld; make DESDIR=/mnt/cons installworld Don't bother with the PR -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org