ports/emulators/linux_base on amd64
Sean McNeil
sean at mcneil.com
Tue Dec 14 10:34:13 PST 2004
On Tue, 2004-12-14 at 20:21 +0200, Ruslan Ermilov wrote:
> Hi David,
>
> Any reason why the patch from
>
> http://lists.freebsd.org/pipermail/freebsd-amd64/2004-October/002210.html
>
> 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:
>
> : Script started on Tue Dec 14 20:04:45 2004
> : hammer# pwd
> : /usr/ports/emulators/linux_base
> : hammer# make install
> : ===> Installing for linux_base-7.1_7
> : ===> Generating temporary packing list
> : ===> 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
> :
> : 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=3
> : kern.elf32.fallback_brand: -1 -> 3
> : hammer# make install
> : ===> Installing for linux_base-7.1_7
> : ===> Generating temporary packing list
> : ===> 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
> :
> : Stop in /usr/ports/emulators/linux_base.
> : hammer# exit
> :
> : Script done on Tue Dec 14 20:05:51 2004
>
>
> Cheers,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20041214/af4dd5d3/attachment.bin
More information about the freebsd-amd64
mailing list