From owner-freebsd-current@FreeBSD.ORG Tue May 22 12:27:26 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23F01106564A; Tue, 22 May 2012 12:27:26 +0000 (UTC) (envelope-from jlh@FreeBSD.org) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [IPv6:2a01:e0c:1:1599::14]) by mx1.freebsd.org (Postfix) with ESMTP id 979198FC08; Tue, 22 May 2012 12:27:22 +0000 (UTC) Received: from endor.tataz.chchile.org (unknown [82.233.239.98]) by smtp5-g21.free.fr (Postfix) with ESMTP id AE6ECD48031; Tue, 22 May 2012 14:27:16 +0200 (CEST) Received: from felucia.tataz.chchile.org (felucia.tataz.chchile.org [192.168.1.9]) by endor.tataz.chchile.org (Postfix) with ESMTP id 93F29A90; Tue, 22 May 2012 14:27:15 +0200 (CEST) Received: by felucia.tataz.chchile.org (Postfix, from userid 1000) id 6546FE191; Tue, 22 May 2012 12:27:15 +0000 (UTC) Date: Tue, 22 May 2012 14:27:15 +0200 From: Jeremie Le Hen To: Ilya Bakulin Message-ID: <20120522122715.GA23522@felucia.tataz.chchile.org> Mail-Followup-To: Ilya Bakulin , freebsd-current@freebsd.org, freebsd-toolchain@freebsd.org References: <4FB92FCE.7050407@kibab.com> <20120521103623.GD65093@felucia.tataz.chchile.org> <381ab8da04624264d621cb9f0f8d1ee0.squirrel@zugang.kibab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <381ab8da04624264d621cb9f0f8d1ee0.squirrel@zugang.kibab.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org, freebsd-toolchain@freebsd.org Subject: Re: Broken symbolic links in /usr/lib after compiling and installing -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2012 12:27:26 -0000 Ilya, On Mon, May 21, 2012 at 01:43:39PM +0200, Ilya Bakulin wrote: > On Mon, May 21, 2012 12:36 pm, Jeremie Le Hen wrote: > > Can you provide the exact commands you have used to create your chroot? > > > Sure! > > 1. The build host is FreeBSD 8.2-RELEASE-p3 amd64 > 2. Directory where project resides ($PROJROOT): > /home/kibab/repos/freebsd-cap-git > 2. FreeBSD-CURRENT sources are in $PROJROOT/freebsd > 3. Object directory is $PROJROOT/obj > 4. Installation directory is $PROJROOT/inst > > 5. Building world: while in $PROJROOT/freebsd, I type: > make __MAKE_CONF=$PROJROOT/make.conf SRCCONF=$PROJROOT/src.conf -j16 > buildworld > ...After a while, build ends... > 6. while in $PROJROOT/freebsd, type `sudo make buildenv`, after entering > build environment I set nessesary env variables: > PROJROOT=/home/kibab/repos/freebsd-cap-git > MAKEOBJDIRPREFIX=/home/kibab/repos/freebsd-cap-git/obj > DISTDIR=/home/kibab/repos/freebsd-cap-git/inst > DESTDIR=/home/kibab/repos/freebsd-cap-git/inst > > 7. After that, type: > make __MAKE_CONF=$PROJROOT/make.conf SRCCONF=$PROJROOT/src.conf -j16 > installworld This is expected I think, as "make buildenv" defines $_SHLIBDIRPREFIX which is used to make the toolchain use libraries built during stage 4.2 of buildworld. Just run "make installworld" with the correct DESTDIR and your chroot will be fine. -- Jeremie Le Hen Men are born free and equal. Later on, they're on their own. Jean Yanne