From owner-freebsd-current@FreeBSD.ORG Sat Apr 10 17:11:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A97E316A4CE for ; Sat, 10 Apr 2004 17:11:43 -0700 (PDT) Received: from mail.comita.spb.ru (mail.comita.spb.ru [213.182.169.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06C1543D45 for ; Sat, 10 Apr 2004 17:11:43 -0700 (PDT) (envelope-from postfix@sendmail.ru) Received: by mail.comita.spb.ru (Postfix, from userid 1116) id E5BA61A864; Sun, 11 Apr 2004 04:11:40 +0400 (MSD) Received: from localhost (ppp-dialup-4.atcom.spb.ru [213.182.168.4]) by mail.comita.spb.ru (Postfix) with ESMTP id BEC261A839 for ; Sun, 11 Apr 2004 04:11:38 +0400 (MSD) X-AntiVirus: Checked by Dr.Web [version: 4.31a, engine: 4.31b, virus records: 48478, updated: 10.04.2004] Date: Sun, 11 Apr 2004 04:09:31 +0400 From: Toxa Organization: toxahost X-Priority: 3 (Normal) Message-ID: <412560893.20040411040931@sendmail.ru> To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam: Ham, tests=bogofilter, spamicity=0.00e+00, version=0.17.2 Subject: getting back buildworld to work! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Toxa List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2004 00:11:43 -0000 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