error during buildworld on 7.1 beta - FreeBSD

This is a discussion on error during buildworld on 7.1 beta - FreeBSD ; Hi. Did a fresh FreeBSD 7.1 install using the beta on amd64 from disc1. I did a standard-install with sources, performed a csup against RELENG_7 and then a buildworld. It stops at: mv -f term.h.new term.h cc -m32 -march=nocona -mfancy-math-387 ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: error during buildworld on 7.1 beta

  1. error during buildworld on 7.1 beta

    Hi.

    Did a fresh FreeBSD 7.1 install using the beta on amd64 from disc1. I
    did a standard-install with sources, performed a csup against RELENG_7
    and then a buildworld. It stops at:

    mv -f term.h.new term.h
    cc -m32 -march=nocona -mfancy-math-387 -DCOMPAT_32BIT -iprefix
    /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32
    -B/usr/obj/usr/src/lib32/usr/lib32 -o make_keys -O2
    -fno-strict-aliasing -pipe -I.
    -I/usr/obj/lib32/usr/src/lib/ncurses/ncurses/../ncurses
    -I/usr/src/lib/ncurses/ncurses/../ncurses
    -I/usr/src/lib/ncurses/ncurses/../ncurses
    -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include
    -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall
    -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS
    /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/make_keys.c
    ../make_keys keys.list > init_keytry.h
    ELF interpreter /libexec/ld-elf32.so.1 not found
    Abort trap
    *** Error code 134

    Stop in /usr/src/lib/ncurses/ncurses.
    *** Error code 1

    Stop in /usr/src.
    *** Error code 1

    Stop in /usr/src.
    *** Error code 1

    Stop in /usr/src.
    *** Error code 1

    Stop in /usr/src.
    3145.054u 524.920s 1:02:45.53 97.4% 6442+7634k 30091+9519io 3045pf+0w


    My /etc/make.conf is:

    CPUTYPE=nocona
    NO_LPR= true # do not build lpr and related programs
    NO_SENDMAIL= true # do not build sendmail and related programs
    USA_RESIDENT= NO

    Do I have to make any changes to make.conf?

    --
    regards
    Claus

    When lenity and cruelty play for a kingdom,
    the gentler gamester is the soonest winner.

    Shakespeare
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  2. Re: error during buildworld on 7.1 beta

    >> Did a fresh FreeBSD 7.1 install using the beta on amd64 from disc1. I
    >> did a standard-install with sources, performed a csup against RELENG_7
    >> and then a buildworld. It stops at:
    >>
    >> mv -f term.h.new term.h
    >> cc -m32 -march=nocona -mfancy-math-387 -DCOMPAT_32BIT -iprefix
    >> /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32
    >> -B/usr/obj/usr/src/lib32/usr/lib32 -o make_keys -O2
    >> -fno-strict-aliasing -pipe -I.
    >> -I/usr/obj/lib32/usr/src/lib/ncurses/ncurses/../ncurses
    >> -I/usr/src/lib/ncurses/ncurses/../ncurses
    >> -I/usr/src/lib/ncurses/ncurses/../ncurses
    >> -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include
    >> -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall
    >> -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS
    >>
    >> /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/make_keys.c
    >> ./make_keys keys.list > init_keytry.h
    >> ELF interpreter /libexec/ld-elf32.so.1 not found
    >> Abort trap
    >> *** Error code 134
    >>
    >> Stop in /usr/src/lib/ncurses/ncurses.
    >> *** Error code 1
    >>
    >> Stop in /usr/src.
    >> *** Error code 1
    >>
    >> Stop in /usr/src.
    >> *** Error code 1
    >>
    >> Stop in /usr/src.
    >> *** Error code 1
    >>
    >> Stop in /usr/src.
    >> 3145.054u 524.920s 1:02:45.53 97.4% 6442+7634k 30091+9519io 3045pf+0w
    >>
    >>
    >> My /etc/make.conf is:
    >>
    >> CPUTYPE=nocona
    >> NO_LPR= true # do not build lpr and related programs
    >> NO_SENDMAIL= true # do not build sendmail and related programs
    >> USA_RESIDENT= NO
    >>
    >> Do I have to make any changes to make.conf?
    >>
    >>

    >
    > First of all - check if
    >
    > /libexec/ld-elf32.so.1


    ls -l /libexec
    total 224
    -r-xr-xr-x 1 root wheel 196792 Sep 7 2008 ld-elf.so.1

    It does not exist. Is it located on CD disc2? Can it be generated on a
    fresh system or shall I copy it from another (7.x) server?

    --
    regards
    Claus

    When lenity and cruelty play for a kingdom,
    the gentler gamester is the soonest winner.

    Shakespeare
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  3. Re: error during buildworld on 7.1 beta

    On Wed, Oct 15, 2008 at 12:27:59PM +0200, Claus Guttesen wrote:
    > Hi.
    >
    > Did a fresh FreeBSD 7.1 install using the beta on amd64 from disc1. I
    > did a standard-install with sources, performed a csup against RELENG_7
    > and then a buildworld. It stops at:
    >
    > mv -f term.h.new term.h
    > cc -m32 -march=nocona -mfancy-math-387 -DCOMPAT_32BIT -iprefix
    > /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32
    > -B/usr/obj/usr/src/lib32/usr/lib32 -o make_keys -O2
    > -fno-strict-aliasing -pipe -I.
    > -I/usr/obj/lib32/usr/src/lib/ncurses/ncurses/../ncurses
    > -I/usr/src/lib/ncurses/ncurses/../ncurses
    > -I/usr/src/lib/ncurses/ncurses/../ncurses
    > -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include
    > -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall
    > -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS
    > /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/make_keys.c
    > ./make_keys keys.list > init_keytry.h
    > ELF interpreter /libexec/ld-elf32.so.1 not found
    > Abort trap
    > *** Error code 134


    My guess: when you installed 7.1, you did not choose to install lib32
    for 32-bit compatibility (so you can run 32-bit binaries on a 64-bit
    arch).

    But when building world, you did not set WITHOUT_LIB32=true in
    /etc/src.conf, so the system is trying to make use of the 32-bit ld.so
    shim that does not exist since you didn't install it.

    > NO_LPR= true # do not build lpr and related programs
    > NO_SENDMAIL= true # do not build sendmail and related programs


    These have been renamed, and go into /etc/src.conf, not make.conf. You
    should use this in /etc/src.conf:

    WITHOUT_LPR=true
    WITHOUT_SENDMAIL=true

    See src.conf(5) for details.

    --
    | Jeremy Chadwick jdc at parodius.com |
    | Parodius Networking http://www.parodius.com/ |
    | UNIX Systems Administrator Mountain View, CA, USA |
    | Making life hard for others since 1977. PGP: 4BD6C0CB |

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  4. Re: error during buildworld on 7.1 beta

    >> Did a fresh FreeBSD 7.1 install using the beta on amd64 from disc1. I
    >> did a standard-install with sources, performed a csup against RELENG_7
    >> and then a buildworld. It stops at:
    >>
    >> mv -f term.h.new term.h
    >> cc -m32 -march=nocona -mfancy-math-387 -DCOMPAT_32BIT -iprefix
    >> /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32
    >> -B/usr/obj/usr/src/lib32/usr/lib32 -o make_keys -O2
    >> -fno-strict-aliasing -pipe -I.
    >> -I/usr/obj/lib32/usr/src/lib/ncurses/ncurses/../ncurses
    >> -I/usr/src/lib/ncurses/ncurses/../ncurses
    >> -I/usr/src/lib/ncurses/ncurses/../ncurses
    >> -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include
    >> -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall
    >> -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS
    >> /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/make_keys.c
    >> ./make_keys keys.list > init_keytry.h
    >> ELF interpreter /libexec/ld-elf32.so.1 not found
    >> Abort trap
    >> *** Error code 134

    >
    > My guess: when you installed 7.1, you did not choose to install lib32
    > for 32-bit compatibility (so you can run 32-bit binaries on a 64-bit
    > arch).


    I choose 'Custon Installation' and item 5 Distributions and then item
    4 Developer which I have done for many years now. :-) So there may
    some changes to the installation-process which is differen from 7.0.

    > But when building world, you did not set WITHOUT_LIB32=true in
    > /etc/src.conf, so the system is trying to make use of the 32-bit ld.so
    > shim that does not exist since you didn't install it.


    ls -l /etc/src.conf
    ls: /etc/src.conf: No such file or directory

    So this file probably needs to be installed as part of a install with
    the above mentioned entry in order not to stop buildworld if lib32 no
    longer is installed, unless chosen, during install.

    Is this a post-configuration option?

    >
    >> NO_LPR= true # do not build lpr and related programs
    >> NO_SENDMAIL= true # do not build sendmail and related programs

    >
    > These have been renamed, and go into /etc/src.conf, not make.conf. You
    > should use this in /etc/src.conf:
    >
    > WITHOUT_LPR=true
    > WITHOUT_SENDMAIL=true
    >
    > See src.conf(5) for details.


    Thank you for your pointers. My make.conf can probably celebrate it's
    5'th anniversary with minor changes to CPUTYPE and commenting -O2 out.
    I'll create src.conf accordingly.

    --
    regards
    Claus

    When lenity and cruelty play for a kingdom,
    the gentler gamester is the soonest winner.

    Shakespeare
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


+ Reply to Thread