From owner-freebsd-questions@FreeBSD.ORG Thu Jun 5 20:01:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C51D2106566B for ; Thu, 5 Jun 2008 20:01:03 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id 825EE8FC36 for ; Thu, 5 Jun 2008 20:01:03 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so199594ana.13 for ; Thu, 05 Jun 2008 13:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8AF5sFCZmOpRNx7kYU8ykbEbcEp54bQWYpZu+xe5J1o=; b=mP5U88TjibxHgxKg03U+Yhdei/Yj86rqGJ3ZyCA5ixrXQQW5bDHT4O1uPau70s5gBI 7NdKF/A1jBZ12wkuH/j4OOi9cDee//xf5VDuH8YJaAvVDxh5kha5zEgopJ6jKKqdap62 L2LquJ+zYVD9THxqf/jNTQDsbg8PvSXaC/WrM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=RUM7jE2W87/W1vx/DI25Wf0dFutzY1V+swolxWb6/W5F6XHO/k/+zAGwL5yX2Ezl5z GUcYVRj53m8j/mlh3uqhsd3g08fAked4rAb+m8BmY9R7PTkNlgcNohv+z/+jbCgmEPpO aOYJezTzfkOBNy2gBC/9FZj4JLlkloerCDhgM= Received: by 10.100.250.12 with SMTP id x12mr3137330anh.93.1212696062530; Thu, 05 Jun 2008 13:01:02 -0700 (PDT) Received: by 10.100.9.15 with HTTP; Thu, 5 Jun 2008 13:01:02 -0700 (PDT) Message-ID: <7daacbbe0806051301y3798e4e7w15e3986a787a3471@mail.gmail.com> Date: Thu, 5 Jun 2008 22:01:02 +0200 From: "Dominique Goncalves" To: "Casey Scott" In-Reply-To: <19277425.211212686423414.JavaMail.root@tomcat.phantombsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <16250661.191212686220557.JavaMail.root@tomcat.phantombsd.org> <19277425.211212686423414.JavaMail.root@tomcat.phantombsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: 6.3 to 7.0 STABLE upgrade buildworld failures X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2008 20:01:03 -0000 Hi, On Thu, Jun 5, 2008 at 7:20 PM, Casey Scott wrote: > Can we no longer use "make buildworld" to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: > > *default host=cvsup15.FreeBSD.org > *default base=/var/db > *default prefix=/usr > *default release=cvs tag=RELENG_7 > *default delete use-rel-suffix > *default compress > src-all > > > Pretty much the same config I've always used, except the RELENG_7. > > I continually get errors when "make buildworld". I went back to the 6.3 source, and successfully "make buildworld". > > My current attempt at buildword with the 7.0 died like this: > ********************************************************************* > ===> usr.bin/awk (obj,build-tools) > yacc -d -o awkgram.c /usr/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y > yacc: 43 shift/reduce conflicts > yacc: 85 reduce/reduce conflicts > ln -sf awkgram.h ytab.h > cc -O -pipe -DHAS_ISBLANK -I. -I/usr/src/usr.bin/awk/../../contrib/one-true-awk -DFOPEN_MAX=64 -I/usr/obj/usr/src/tmp/legacy/usr/include -L/usr/obj/usr/src/tmp/legacy/usr/lib /usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c -o maketab > ===> lib/libmagic (obj,build-tools) > cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file -o mkmagic /usr/src/lib/libmagic/../../contrib/file/apprentice.c /usr/src/lib/libmagic/../../contrib/file/funcs.c /usr/src/lib/libmagic/../../contrib/file/magic.c /usr/src/lib/libmagic/../../contrib/file/print.c > ===> usr.sbin/sysinstall (obj,build-tools) > cc -o rtermcap /usr/src/usr.sbin/sysinstall/rtermcap.c -ltermcap > ===> gnu/usr.bin/cc/cc_tools (obj,depend,all) > make: don't know how to make /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/ansidecl.h. Stop > *** Error code 2 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > ********************************************************************* > > > The previous attempt died due to a missing tconfig.h. Can anyone shed some light on this please? I can't remember ever having trouble with a buildworld before!! > > TIA, > Casey > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Try to remove /usr/obj, if it still does not work run # make cleandir ; make cleandir (yes twice) And don't use "-j" with make when doing a major upgrade (6.x -> 7.x) Hope this helps Regards. -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life."