Compiling linux_base in jail fails

Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default Compiling linux_base in jail fails

    Hello. I am trying to install linux_base inside a jail and
    it fails with the following:

    #make
    ===> Extracting for linux_base-rh-7.3
    => Checksum OK for
    rpm/rh-7.3/glibc-common-2.2.5-44.legacy.3.i386.rpm.
    => Checksum OK for
    rpm/rh-7.3/glibc-2.2.5-44.legacy.3.i386.rpm.
    => Checksum OK for
    rpm/rh-7.3/redhat-release-7.3-1.noarch.rpm.
    => Checksum OK for rpm/rh-7.3/setup-2.5.12-1.noarch.rpm.
    => Checksum OK for rpm/rh-7.3/filesystem-2.1.6-2.noarch.rpm.
    => Checksum OK for rpm/rh-7.3/basesystem-7.0-2.noarch.rpm.
    => Checksum OK for rpm/rh-7.3/termcap-11.0.1-10.noarch.rpm.
    => Checksum OK for rpm/rh-7.3/db1-1.85-8.i386.rpm.
    => Checksum OK for rpm/rh-7.3/db3-3.3.11-6.i386.rpm.
    => Checksum OK for rpm/rh-7.3/gdbm-1.8.0-14.i386.rpm.
    => Checksum OK for rpm/rh-7.3/glib-1.2.10-5.i386.rpm.
    => Checksum OK for rpm/rh-7.3/glib2-2.0.1-2.i386.rpm.
    => Checksum OK for rpm/rh-7.3/libtermcap-2.0.8-28.i386.rpm.
    => Checksum OK for rpm/rh-7.3/bash-2.05a-13.i386.rpm.
    => Checksum OK for rpm/rh-7.3/bzip2-libs-1.0.2-2.i386.rpm.
    => Checksum OK for rpm/rh-7.3/bzip2-1.0.2-2.i386.rpm.
    => Checksum OK for rpm/rh-7.3/libstdc++-2.96-110.i386.rpm.
    => Checksum OK for
    rpm/rh-7.3/compat-libstdc++-6.2-2.9.0.16.i386.rpm.
    => Checksum OK for rpm/rh-7.3/ncurses-5.2-26.i386.rpm.
    => Checksum OK for rpm/rh-7.3/info-4.1-1.i386.rpm.
    => Checksum OK for rpm/rh-7.3/fileutils-4.1-10.i386.rpm.
    => Checksum OK for rpm/rh-7.3/grep-2.5.1-1.i386.rpm.
    => Checksum OK for rpm/rh-7.3/popt-1.6.4-7x.18.i386.rpm.
    => Checksum OK for rpm/rh-7.3/readline-4.2a-4.i386.rpm.
    => Checksum OK for rpm/rh-7.3/setserial-2.17-5.i386.rpm.
    => Checksum OK for rpm/rh-7.3/slang-1.4.5-2.i386.rpm.
    => Checksum OK for rpm/rh-7.3/sh-utils-2.0.11-14.i386.rpm.
    => Checksum OK for rpm/rh-7.3/rpm-4.0.4-7x.18.i386.rpm.
    => Checksum OK for rpm/rh-7.3/zlib-1.1.3-25.7.i386.rpm.
    => Checksum OK for
    rpm/rh-7.3/XFree86-libs-4.3.0-78.EL.tj.i386.rpm.
    ===> linux_base-rh-7.3 depends on executable: rpm - found
    LC_ALL=C rpm --initdb --root
    /usr/ports/emulators/linux_base/work/linux_base-rh-7.3
    --dbpath /var/lib/rpm
    kern.fallback_elf_brand: -1
    sysctl: kern.fallback_elf_brand: Operation not permitted
    ELF binary type "0" not known.
    execution of glibc-2.2.5-44.legacy.3 script failed, exit
    status 255
    *** Error code 1

    Stop in /usr/ports/emulators/linux_base.

    Any ideas on how to get linux emulator running inside a
    jail? Thanks.

    --
    Viren Patel
    Chemistry & Biochemistry
    University of Texas at Austin

    Viren Patel Guest

  2. Similar Questions and Discussions

    1. #39765 [NEW]: cross compiling for arm fails for PHP > 5.1.0
      From: reto dot galante at solarmax dot com Operating system: Debian Linux (Sarge) PHP version: 5.2.0 PHP Bug Type: Compile...
    2. #39765 [Opn->Fbk]: cross compiling for arm fails for PHP > 5.1.0
      ID: 39765 Updated by: tony2001@php.net Reported By: reto dot galante at solarmax dot com -Status: Open...
    3. problems getting a jail running on 5.3-RELEASE using man 8 jail
      I am running a 5.3-RELEASE-p5 machine. $uname -a FreeBSD twinmp.tcbug.org 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Wed Feb 9 16:54:40 CST 2005...
    4. #24950 [Com]: Compiling PHP --with-oci8 --with oracle (Oracle 9i) fails
      ID: 24950 Comment by: cunha17 at uol dot com dot br Reported By: fschulze at more-radio dot de Status: Feedback...
    5. #24950 [NEW]: Compiling PHP --with-oci8 --with oracle (Oracle 9i) fails
      From: fschulze at more-radio dot de Operating system: Solaris8 PHP version: 4.3.2 PHP Bug Type: Compile Failure Bug...
  3. #2

    Default Re: Compiling linux_base in jail fails

    On 02/25/05 10:53:03, Viren Patel wrote:
    > ===> linux_base-rh-7.3 depends on executable: rpm - found
    > LC_ALL=C rpm --initdb --root
    > /usr/ports/emulators/linux_base/work/linux_base-rh-7.3
    > --dbpath /var/lib/rpm
    > kern.fallback_elf_brand: -1
    > sysctl: kern.fallback_elf_brand: Operation not permitted
    > ELF binary type "0" not known.
    > execution of glibc-2.2.5-44.legacy.3 script failed, exit
    > status 255
    > *** Error code 1
    >
    > Stop in /usr/ports/emulators/linux_base.
    >
    > Any ideas on how to get linux emulator running inside a
    > jail? Thanks.
    >
    Use base-8, 7 is old and has security issues I hear. Check
    /usr/ports/UPDATING. It seems to me the sysctl kern.fallback_elf_brand
    is being changed, but you can't do that in a jail. Just do it as root.
    Then it would be avaliable to all programs, even those you might be
    running in a jail.

    Jason Henson Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139