From owner-freebsd-amd64@FreeBSD.ORG Tue Dec 14 18:34:13 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB96116A4CE; Tue, 14 Dec 2004 18:34:12 +0000 (GMT) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86B4A43D1D; Tue, 14 Dec 2004 18:34:10 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 48330F1868; Tue, 14 Dec 2004 10:34:08 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00717-02; Tue, 14 Dec 2004 10:34:06 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 8BB47F1802; Tue, 14 Dec 2004 10:34:06 -0800 (PST) From: Sean McNeil To: Ruslan Ermilov In-Reply-To: <20041214182153.GA80721@ip.net.ua> References: <20041214182153.GA80721@ip.net.ua> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-iICSMBrtAcQYtMoJKJnn" Date: Tue, 14 Dec 2004 10:34:06 -0800 Message-Id: <1103049246.21655.3.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port X-Virus-Scanned: by amavisd-new at mcneil.com cc: amd64@FreeBSD.org cc: David O'Brien Subject: Re: ports/emulators/linux_base on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 18:34:13 -0000 --=-iICSMBrtAcQYtMoJKJnn Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-12-14 at 20:21 +0200, Ruslan Ermilov wrote: > Hi David, >=20 > Any reason why the patch from >=20 > http://lists.freebsd.org/pipermail/freebsd-amd64/2004-October/002210.html >=20 > has not been committed? The patch is required to install the > port on amd64, and applying it helps. It should not be > committed verbatim because kern.elf32.fallback_brand does not > exist on 4.x, but otherwise it's okay. (The --noscripts is > also necessary on amd64.) Why can't the linux emulation be fixed? IMHO, setting kern.fallback_elf_brand on amd64 should be functional and cause both elf32 and elf64 (when it comes) to use this value. The user should be able to update each independently as well. rpm scripts should also be fixed. It seems like a bug in the rpm port that no one has addressed. > Without the patch, I get: >=20 > : Script started on Tue Dec 14 20:04:45 2004 > : hammer# pwd > : /usr/ports/emulators/linux_base > : hammer# make install > : =3D=3D=3D> Installing for linux_base-7.1_7 > : =3D=3D=3D> Generating temporary packing list > : =3D=3D=3D> Checking if emulators/linux_base already installed > : kern.fallback_elf_brand: 3 -> 3 > : glibc-common-2.2.4-33.i386.rpm > : glibc-2.2.4-33.i386.rpm > : ELF binary type "0" not known. > : execution of glibc-2.2.4-33 script failed, exit status 255 > : *** Error code 1 > :=20 > : Stop in /usr/ports/emulators/linux_base. > : hammer# sysctl kern |grep brand > : kern.elf64.fallback_brand: 3 > : kern.fallback_elf_brand: 3 > : kern.elf32.fallback_brand: -1 > : hammer# sysctl kern.elf32.fallback_brand=3D3 > : kern.elf32.fallback_brand: -1 -> 3 > : hammer# make install > : =3D=3D=3D> Installing for linux_base-7.1_7 > : =3D=3D=3D> Generating temporary packing list > : =3D=3D=3D> Checking if emulators/linux_base already installed > : kern.fallback_elf_brand: 3 -> 3 > : glibc-common-2.2.4-33.i386.rpm > : glibc-2.2.4-33.i386.rpm > : execution of glibc-2.2.4-33 script failed, exit status 1 > : *** Error code 1 > :=20 > : Stop in /usr/ports/emulators/linux_base. > : hammer# exit > :=20 > : Script done on Tue Dec 14 20:05:51 2004 >=20 >=20 > Cheers, --=-iICSMBrtAcQYtMoJKJnn Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBvzIeyQsGN30uGE4RArasAKCkIAbx4HWh7zOUuhJ5bWJIIouiEQCfYIEU 9d2DoHuuXSvaaXQgn7oLIqs= =Y4jm -----END PGP SIGNATURE----- --=-iICSMBrtAcQYtMoJKJnn--