From owner-freebsd-current@FreeBSD.ORG Mon Mar 30 14:50:58 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CBE710656D6 for ; Mon, 30 Mar 2009 14:50:58 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 17A118FC1F for ; Mon, 30 Mar 2009 14:50:57 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Mon, 30 Mar 2009 16:50:55 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n2UEosk7015922; Mon, 30 Mar 2009 16:50:54 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Mon, 30 Mar 2009 16:50:54 +0200 From: Matthias Apitz To: Alexander Leidinger Message-ID: <20090330145054.GA15677@rebelion.Sisis.de> References: <20090330074502.GA4247@rebelion.Sisis.de> <20090330131143.47127dgnexe52iw4@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090330131143.47127dgnexe52iw4@webmail.leidinger.net> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) X-OriginalArrivalTime: 30 Mar 2009 14:50:56.0247 (UTC) FILETIME=[EE693870:01C9B146] Cc: freebsd-current@freebsd.org Subject: Re: make installworld DESTDIR=/mnt fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2009 14:50:59 -0000 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 - w http://www.oclc.org/ http://www.UnixArea.de/