Date: Mon, 30 Mar 2009 16:50:54 +0200 From: Matthias Apitz <guru@unixarea.de> To: Alexander Leidinger <Alexander@leidinger.net> Cc: freebsd-current@freebsd.org Subject: Re: make installworld DESTDIR=/mnt fails Message-ID: <20090330145054.GA15677@rebelion.Sisis.de> In-Reply-To: <20090330131143.47127dgnexe52iw4@webmail.leidinger.net> References: <20090330074502.GA4247@rebelion.Sisis.de> <20090330131143.47127dgnexe52iw4@webmail.leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Monday, March 30, 2009 a las 01:11:43PM +0200, Alexander Leidinger escribió: > >I've enriched this USB key with the actual source tree and the compiled > >objects: > > > ># cd /usr/src/ > ># tar -cf - myHEAD | ( cd /mnt ; tar -xpf - ) > > ... > > You need to > mv /myHEAD /usr/src/myHEAD > setenv MAKEOBJDIRPREFIX /usr/src/myHEAD/obj > and it should work. > > The realpath of the src dir is used when creating the obj tree. If > you look at myHEAD/obj/, you will see that there's an usr/src/myHEAD. ... Thanks this really helped and the installation went forward; I did not know that the realpath of the src was used some hard during 'make install'; now I run into the next problem: ... ===> usr.bin/ncplist (install) install -s -o root -g wheel -m 555 ncplist /test/usr/bin install -o root -g wheel -m 444 ncplist.1.gz /test/usr/share/man/man1 ===> usr.bin/ncplogin (install) make: don't know how to make install. Stop *** Error code 2 Stop in /usr/src/myHEAD/src/usr.bin. *** Error code 1 it turned out that the ASCII data on the USB is damaged: # file /usr/src/myHEAD/src/usr.bin/ncplogin/* /usr/src/myHEAD/src/usr.bin/ncplogin/CVS: directory /usr/src/myHEAD/src/usr.bin/ncplogin/Makefile: data /usr/src/myHEAD/src/usr.bin/ncplogin/ncplogin.1: data /usr/src/myHEAD/src/usr.bin/ncplogin/ncplogin.c: data /usr/src/myHEAD/src/usr.bin/ncplogin/ncplogout.1: troff or preprocessor input text on the originating system it is: $ file /usr/src/myHEAD/src/usr.bin/ncplogin/* /usr/src/myHEAD/src/usr.bin/ncplogin/CVS: directory /usr/src/myHEAD/src/usr.bin/ncplogin/Makefile: ASCII text /usr/src/myHEAD/src/usr.bin/ncplogin/ncplogin.1: troff or preprocessor input text /usr/src/myHEAD/src/usr.bin/ncplogin/ncplogin.c: ASCII C program text /usr/src/myHEAD/src/usr.bin/ncplogin/ncplogout.1: troff or preprocessor input text i.e the data in the USB key produced by # tar -cf - myHEAD | ( cd /mnt ; tar -xpf - ) is damaged :-(( maybe I should better use # cp -Rp /usr/src/myHEAD /mnt/usr/src and not tar(1) to copy the src/obj tree... Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <matthias.apitz@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090330145054.GA15677>