Date: Tue, 14 Dec 2004 10:34:06 -0800 From: Sean McNeil <sean@mcneil.com> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: David O'Brien <obrien@FreeBSD.org> Subject: Re: ports/emulators/linux_base on amd64 Message-ID: <1103049246.21655.3.camel@server.mcneil.com> In-Reply-To: <20041214182153.GA80721@ip.net.ua> References: <20041214182153.GA80721@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1103049246.21655.3.camel>