It works ! (was Re: Unable to buildworld (new record, 18))
On 08-Sep-2002 (19:54:17/GMT) Riccardo Torrini wrote: There have been at least two gcc upgrades since then. I believe the easiest way to upgrade to today's -current would be to install a fairly recent snapshot ... instead of trying to debug ... I have tryed with a middle version (1 jul 2002) but it fails without and with make includes before build, now I'm trying with cvsup from 15 aug 2002 (as written by Munish Chopra on 1 sep: IIRC current was in good shape between August 12-15, 17, 18, 22-24) ... Ok. All done. My start point was really too old, anyway this is the full story: - starting from -CURRENT of 8 May, used as desktop (full of bells and whistles, homes on a nfs disk on a safe -STABLE local server :-) - cvsuped daily and compiled w/out install at least once a week (this before holidays). - tryed to upgrade to latest -CURRENT last week w/out success, with a lot of error, maybe due to double gcc update (2.95 - 3.1 - 3.2) - cvsuped back to 1 jul, new buildworld, failed - found mail into archives speaking about some good shape days - cvsuped again to 15 aug, new buildworld, failed - added some switches: -DNOCLEAN, -DNO_WERROR, -DNOCRYPT (one at a time, every time world go forward a bit) - build complete, kernel complete, install complete, reboot ... and Yes! I forgot mergemaster :( - new full buildworld w/out switches, complete fine. new kernel, another full install, mergemaster :-) reboot. NB: build done w/out CPUTYPE (usually was =p3) and with CFLAGS= -O2 -pipe Hoping this can help others not-too-current users. Upgrade always possible, even from old versions (with some care) Now last doubt: after next upgrade to post-gcc_3.2 is a complete port rebuild necessary because c++ ports stop working or not? Thanks a lot, Riccardo, now more-current :-) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: It works ! (was Re: Unable to buildworld (new record, 18))
On 2002-09-11 00:04, Riccardo Torrini [EMAIL PROTECTED] wrote: Now last doubt: after next upgrade to post-gcc_3.2 is a complete port rebuild necessary because c++ ports stop working or not? Yes. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Unable to buildworld (new record, 18)
On 07-Sep-2002 (21:55:22/GMT) Giorgos Keramidas wrote: /usr/include/sys/_types.h:71: declaration does not declare anything *** Error code 1 Which revision of /usr/include/sys/_types.h do you have? # ident /usr/include/sys/_types.h /usr/include/sys/_types.h: $FreeBSD: src/sys/sys/_types.h,v 1.7 2002/08/25 19:26:31 mike Exp $ # ident /usr/include/stdlib.h /usr/include/stdlib.h: $FreeBSD: src/include/stdlib.h,v 1.41 2002/09/06 11:23:32 tjr Exp $ What is at, around, and near line 71 of /usr/include/sys/_types.h ? # cat -n /usr/include/sys/_types.h | grep -C4 71 67 * character set plus one extra value (WEOF), and must be at least 16 bits. 68 */ 69 typedef int __ct_rune_t; 70 typedef __ct_rune_t __rune_t; 71 typedef __ct_rune_t __wchar_t; 72 typedef __ct_rune_t __wint_t; 73 74 /* 75 * mbstate_t is an opaque object to keep conversion state during multibyte After some unsuccesfull buildworld I tryed updating includes but got the same error. May be because my -CURRENT is pre-gcc_3.1 ? Can I (Must I?) upgrade to an intermediate version between May and now? Riccardo. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Unable to buildworld (new record, 18)
Original Message On 9/7/02, 11:20:48 PM, Riccardo Torrini [EMAIL PROTECTED] wrote regarding Re: Unable to buildworld (new record, 18): On 07-Sep-2002 (21:00:28/GMT) Riccardo Torrini wrote: Have you read through UPDATING? Yes, more and more ... I added -DNO_WERROR without luck I also found two PR speaking about wchar_t (31864 and 40084). I'm about to remove contrib/gcc tree and cvsuping again... No, same error :( Any other ideas? [...] wild guess Have you tried making new includes? /wild guess Ciao, Salvo To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Unable to buildworld (new record, 18)
In message: [EMAIL PROTECTED] Riccardo Torrini [EMAIL PROTECTED] wrote: After some unsuccesfull buildworld I tryed updating includes but got the same error. May be because my -CURRENT is pre-gcc_3.1 ? Can I (Must I?) upgrade to an intermediate version between May and now? There have been at least two gcc upgrades since then. I believe the easiest way to upgrade to today's -current would be to install a fairly recent snapshot from http://snapshots.jp.FreeBSD.org/ instead of trying to debug the many ways in which a buildworld can fail. - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Unable to buildworld (new record, 18)
On 08-Sep-2002 (13:56:34/GMT) Giorgos Keramidas wrote: There have been at least two gcc upgrades since then. I believe the easiest way to upgrade to today's -current would be to install a fairly recent snapshot from http://snapshots.jp.FreeBSD.org/ instead of trying to debug the many ways in which a buildworld can fail. I'm obstinate :) I have tryed with a middle version (1 jul 2002) but it fails without and with make includes before build, now I'm trying with cvsup from 15 aug 2002 (as written by Munish Chopra on 1 sep: IIRC current was in good shape between August 12-15, 17, 18, 22-24) and it is still compiling (I'm crossing fingers)... If it complete (I hope it complete) is -CURRENT of 15 aug 2002 a reasonable version to install and to use to jump to today ones? Any comment? Thanks again, Riccardo. PS: It stopped on stage 4:libraries, something about crypt, now is running again with -DNO_WERROR -DNOCLEAN -DNOCRYPT ;^) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Unable to buildworld (new record, 18)
On 07-Sep-2002 (20:22:42/GMT) Kris Kennaway wrote: My -CURRENT is pre-gcc_3.1, running very fine from early May. I'm in between some big update? Where I'm wrong? Have you read through UPDATING? Yes, more and more, after every cvsup. I added -DNO_WERROR without luck, I also found two PR speaking about wchar_t (31864 and 40084). There is something related to a new internal declaration I think. One moment, ... are you speaking about this? 20020510: Due to the way CVS works, it may not properly update src/contrib/gcc to the 3.1 sources. The easiest fix is to `rm -rf' src/contrib/gcc and then do a cvs update. I'm about to remove contrib/gcc tree and cvsuping again... Thanks, Riccardo. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Unable to buildworld (new record, 18)
On 07-Sep-2002 (21:00:28/GMT) Riccardo Torrini wrote: Have you read through UPDATING? Yes, more and more ... I added -DNO_WERROR without luck I also found two PR speaking about wchar_t (31864 and 40084). I'm about to remove contrib/gcc tree and cvsuping again... No, same error :( Any other ideas? === gnu/usr.bin/gperf/doc c++ -O2 -pipe-D__FBSDID=__RCSID -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf -c /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc In file included from /usr/include/stdio.h:44, from /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.h:57, from /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc:21: /usr/include/sys/_types.h:71: declaration does not declare anything *** Error code 1 Thanks again, Riccardo. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Unable to buildworld (new record, 18)
On Sat, Sep 07, 2002 at 06:25:04PM +0200, Riccardo Torrini wrote: My -CURRENT is pre-gcc_3.1, running very fine from early May. I regularly build world and kernel (without installing them) every week. I'm in between some big update? Where I'm wrong? Have you read through UPDATING? Kris msg42721/pgp0.pgp Description: PGP signature
Re: Unable to buildworld (new record, 18)
In message: [EMAIL PROTECTED] Riccardo Torrini [EMAIL PROTECTED] wrote: No, same error :( Any other ideas? === gnu/usr.bin/gperf/doc c++ -O2 -pipe-D__FBSDID=__RCSID -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf -c /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc In file included from /usr/include/stdio.h:44, from /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.h:57, from /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc:21: /usr/include/sys/_types.h:71: declaration does not declare anything *** Error code 1 Which revision of /usr/include/sys/_types.h do you have? $ ident /usr/include/sys/_types.h /usr/include/sys/_types.h: $FreeBSD: src/sys/sys/_types.h,v 1.7 2002/08/25 19:26:31 mike Exp $ What is at, around, and near line 71 of /usr/include/sys/_types.h ? $ cat -n /usr/include/sys/_types.h | head -75 | tail -9 67 * character set plus one extra value (WEOF), and must be at least 16 bits. 68 */ 69 typedef int __ct_rune_t; 70 typedef __ct_rune_t __rune_t; 71 typedef __ct_rune_t __wchar_t; 72 typedef __ct_rune_t __wint_t; 73 74 /* 75 * mbstate_t is an opaque object to keep conversion state during multibyte To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message