getting back buildworld to work!

From: Toxa (postfix_at_sendmail.ru)
Date: 04/11/04

  • Next message: Larry Rosenman: "Re: HEADS UP: PCI Chnages"
    Date: Sun, 11 Apr 2004 04:09:31 +0400
    To: freebsd-current@freebsd.org
    
    

    Hello, folks.

    Last night, as usual, current sources were cvsuped, I did buildkernel
    & buildworld & installkernel, reboot to fresh kernel, and run
    installworld after it. Unfortunately, system failed during
    installworld, so I had only part of new world installed (actually it
    was only few seconds of installworld'ing before failure). I can figure
    it now, because when I try to make buildworld, I see errors like this:

    /usr/src/contrib/gperf/src/key-list.cc: In function `List_Node*
       parse_line(const char*, const char*)':
    /usr/src/contrib/gperf/src/key-list.cc:250: error: `__UCHAR_MAX' undeclared
       (first use this function)

    Sure, error is the lack of headers in /usr/include (and maybe another
    world files), because of failed
    installworld, isn't it?. How can I correct this? I took 5.2.1-release miniiso,
    untar base distribution (base.?? files), move /usr/include to /usr/include.old, copy
    base/usr/include to /usr/include and
    rerum make buildworld. Headers are Ok now but then the new problem arrived:

    /usr/lib/libc.a: could not read symbols: Malformed archive
    *** Error code 1

    Ok, I repeat this with /usr/lib: move /usr/lib to /usr/lib.old and cp
    base/usr/lib to /usr/lib, and rerun buildworld. I get the new one:

    c++ -O2 -pipe -mno-sse2 -march=pentium4 -ffast-math -funroll-loops -I/usr/obj/usr/src/i386/legacy/usr/include -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf -static -L/usr/obj/usr/src/i386/legacy/usr/lib -o gperf bool-array.o gen-perf.o hash-table.o iterator.o key-list.o list-node.o main.o new.o options.o read-line.o trace.o vectors.o version.o hash.o -legacy
    options.o: In function `__static_initialization_and_destruction_0(int, int)':
    options.o(.text+0xe1b): undefined reference to `__cxa_atexit'
    *** Error code 1

    This one I can't work out. What was damaged except /usr/lib and
    /usr/include (ok, maybe only /usr/include, I think some libs in /usr/lib simply depends on
    /usr/include) during installworld failure? What should I do now to
    rollback system to a state then it will able to make buildworld?

    ps: buildkernel goes smoothly from startpoint to endpoint now, but buildworld,
    as you can see, does not.

    Thanks a lot for all advices and responces.

    -- 
    Best regards,
     Toxa                          mailto:postfix@sendmail.ru
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Larry Rosenman: "Re: HEADS UP: PCI Chnages"

    Relevant Pages

    • Re: Buildworld stops at etc/sendmail (was: cant install bin/sh)
      ... make -j4 buildworld ... *** Error code 2 ... and ran installworld another time... ... several files related to sendmail had been altered the last 1-2 days. ...
      (freebsd-stable)
    • Re: speeding up buildworld/kernel
      ... -- Aryeh M. Friedman FloSoft Systems, ... Install ccache, ... ccache is not very useful for buildworld, ... flosoft# time make buildworld buildkernel installkernel installworld ...
      (freebsd-questions)
    • Something wrong with cvsup
      ... during the make installworld phase I received stop codes and the make ... without a problem but now I can't even get past the make buildworld: ... *** Error code 1 ... If you require more assistance or if my suggestion works please E-mail me at ...
      (comp.unix.bsd.freebsd.misc)
    • Releng-6.2 upgrade HINT for iwi0 user !!
      ... well this posting is send before, part of, the specific upgrade hint regarding the iwi0 driver! ... CLEANING SYSTEM AND RUNNING BUILDWORLD!! ... BOOT UP IN SINGLE MODE, MERGEMASTER AND INSTALLWORLD!! ...
      (freebsd-questions)
    • Re: learning to buildworld
      ... buildworld process on my dev boxes. ... and then reboot to single usermode. ... "installworld", but "buildworld" had been fine without it. ... the new kernel to match the new world. ...
      (freebsd-questions)