From owner-freebsd-current@FreeBSD.ORG Sun Jan 18 06:02:31 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D33FC16A4CE for ; Sun, 18 Jan 2004 06:02:31 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F3C943D5D for ; Sun, 18 Jan 2004 06:02:04 -0800 (PST) (envelope-from ru@FreeBSD.org.ua) Received: from phantom.cris.net (ru@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i0IE2Wjm031403; Sun, 18 Jan 2004 16:02:35 +0200 (EET) (envelope-from ru@FreeBSD.org.ua) Received: (from ru@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i0IE2Tvu031398; Sun, 18 Jan 2004 16:02:29 +0200 (EET) (envelope-from ru) Date: Sun, 18 Jan 2004 16:02:28 +0200 From: Ruslan Ermilov To: Putinas Message-ID: <20040118140228.GF29936@FreeBSD.org.ua> References: <002001c3ddbe$16e9ed60$1e64a8c0@spotripoli.local> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G44BJl3Aq1QbV/QL" Content-Disposition: inline In-Reply-To: <002001c3ddbe$16e9ed60$1e64a8c0@spotripoli.local> User-Agent: Mutt/1.5.5.1i cc: current@freebsd.org Subject: Re: build 5.2-release fails on 4.9 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 18 Jan 2004 14:02:31 -0000 --G44BJl3Aq1QbV/QL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 18, 2004 at 02:24:40PM +0200, Putinas wrote: > Hello all, > after making world and cd /usr/src/release I give command: > make release CHROOTDIR=3D/usr/stuff/release BUILDNAME=3D5.2-RELEASE CVSRO= OT=3D/usr/cvs NODOC=3Dyes NOPORTS=3Dyes NOPORTREADMES=3Dyes RELEASETAG=3DRE= LENG_5_2 MAKE_ISO=3Dyes >=20 > here is what I get after cvs from src... : [...] > # Ensure md.ko is loaded if md(4) is not statically compiled into the ker= nel > mdconfig 2>/dev/null > ELF interpreter /libexec/ld-elf.so.1 not found > Abort trap > *** Error code 134 (ignored) > env -i /usr/sbin/chroot `dirname /usr/stuff/release/mk` /`basename /usr/s= tuff/release/mk` > Bad system call (core dumped) > *** Error code 140 > Stop in /usr/src/release. > Exit 1 >=20 To build 5-CURRENT snapshot on 4.x, you do NOT need to update /usr/src to 5-CURRENT and buildworld first, as this will 100% result in a ENOSYS. Instead, your /usr/obj should be populated with the buildworld output for sources matching your running system, that is 4.x, so if you're currently running 4.9-STABLE, /usr/src should be the same 4.9-STABLE sources, and /usr/obj should be a product of it. This is what gets installed into a chroot area as the first step of "make release". Then "make release" can checkout 5-CURRENT sources, and produce a snapshot of 5-CURRENT. To do this, you also need an access to a 5-CURRENT version of release/Makefile, so follow this procedure on a 4.x box: cd /tmp cvs co -l release/Makefile # 5-CURRENT cd release make release WORLDDIR=3D/usr/src ... > md.ko is loaded as module, > but mdconfig originally was not found I compile it from src and installed= separetly, but now it complains about missing libraries > any soliution for this ? >=20 4.x uses vn(4) to produce file system images, so just ensure that it's in the kernel. Typing "vnconfig" under root will do it for you. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --G44BJl3Aq1QbV/QL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFACpHzUkv4P6juNwoRArKOAJ9QLaSPasX8c6wBWRQKOcxeOAzSpQCeOExo TZU+FG1YrIqfM6FOX9bYryM= =UrfK -----END PGP SIGNATURE----- --G44BJl3Aq1QbV/QL--